1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include ../../../build/msw/config.wat
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
13 # Speed up compilation a bit:
16 ! loaddll wccaxp wccdaxp
17 ! loaddll wcc386 wccd386
19 ! loaddll wppaxp wppdaxp
20 ! loaddll wpp386 wppd386
25 # We need these variables in some bakefile-made rules:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
28 ### Conditionally set variables: ###
39 !ifeq DEBUG_FLAG default
72 __tex2rtf_gui___depname =
74 __tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
79 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
84 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
88 !ifeq DEBUG_INFO default
93 !ifeq DEBUG_INFO default
105 !ifeq DEBUG_INFO default
106 __DEBUGINFO_1 = debug all
110 !ifeq DEBUG_INFO default
118 __DEBUGINFO_1 = debug all
125 __OPTIMIZEFLAG = -ot -ox
128 !ifeq RUNTIME_LIBS dynamic
131 !ifeq RUNTIME_LIBS static
135 !ifeq USE_EXCEPTIONS 0
138 !ifeq USE_EXCEPTIONS 1
139 __EXCEPTIONSFLAG = -xr
142 !ifeq USE_EXCEPTIONS 0
145 !ifeq USE_EXCEPTIONS 1
146 __EXCEPTIONSFLAG_0 = -xs
151 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
156 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
160 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
164 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
168 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
172 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
176 !ifeq DEBUG_FLAG default
177 __DEBUG_DEFINE_p = -d__WXDEBUG__
181 __DEBUG_DEFINE_p = -d__WXDEBUG__
185 __UNICODE_DEFINE_p = -d_UNICODE
189 __DLLFLAG_p = -dWXUSINGDLL
194 WX_RELEASE_NODOT = 25
196 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
197 LIBDIRNAME = .\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
199 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
200 TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
201 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
202 -i=.\..\..\..\include -i=$(SETUPHDIR) -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
203 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 -dNO_GUI $(__EXCEPTIONSFLAG) &
204 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
206 $(OBJS)\tex2rtf_tex2rtf.obj &
207 $(OBJS)\tex2rtf_tex2any.obj &
208 $(OBJS)\tex2rtf_texutils.obj &
209 $(OBJS)\tex2rtf_rtfutils.obj &
210 $(OBJS)\tex2rtf_xlputils.obj &
211 $(OBJS)\tex2rtf_htmlutil.obj &
212 $(OBJS)\tex2rtf_readshg.obj &
213 $(OBJS)\tex2rtf_table.obj
214 TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
215 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
216 -i=.\..\..\..\include -i=$(SETUPHDIR) -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
217 -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples -dNOPCH $(__EXCEPTIONSFLAG) &
218 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
219 TEX2RTF_GUI_OBJECTS = &
220 $(OBJS)\tex2rtf_gui_tex2rtf.obj &
221 $(OBJS)\tex2rtf_gui_tex2any.obj &
222 $(OBJS)\tex2rtf_gui_texutils.obj &
223 $(OBJS)\tex2rtf_gui_rtfutils.obj &
224 $(OBJS)\tex2rtf_gui_xlputils.obj &
225 $(OBJS)\tex2rtf_gui_htmlutil.obj &
226 $(OBJS)\tex2rtf_gui_readshg.obj &
227 $(OBJS)\tex2rtf_gui_table.obj
232 -if not exist $(OBJS) mkdir $(OBJS)
236 all : .SYMBOLIC $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
239 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
240 -if exist $(OBJS)\*.res del $(OBJS)\*.res
241 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
242 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
243 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
244 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
245 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
247 $(OBJS)\tex2rtf.exe : $(TEX2RTF_OBJECTS)
248 @%create $(OBJS)\tex2rtf.lbc
249 @%append $(OBJS)\tex2rtf.lbc option quiet
250 @%append $(OBJS)\tex2rtf.lbc name $^@
251 @%append $(OBJS)\tex2rtf.lbc option caseexact
252 @%append $(OBJS)\tex2rtf.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_'
253 @for %i in ($(TEX2RTF_OBJECTS)) do @%append $(OBJS)\tex2rtf.lbc file %i
254 @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\tex2rtf.lbc library %i
255 @%append $(OBJS)\tex2rtf.lbc
256 wlink @$(OBJS)\tex2rtf.lbc
259 $(OBJS)\tex2rtf_gui.exe : $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
260 @%create $(OBJS)\tex2rtf_gui.lbc
261 @%append $(OBJS)\tex2rtf_gui.lbc option quiet
262 @%append $(OBJS)\tex2rtf_gui.lbc name $^@
263 @%append $(OBJS)\tex2rtf_gui.lbc option caseexact
264 @%append $(OBJS)\tex2rtf_gui.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
265 @for %i in ($(TEX2RTF_GUI_OBJECTS)) do @%append $(OBJS)\tex2rtf_gui.lbc file %i
266 @for %i in ( $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ) do @%append $(OBJS)\tex2rtf_gui.lbc library %i
267 @%append $(OBJS)\tex2rtf_gui.lbc option resource=$(OBJS)\tex2rtf_gui_sample.res
268 wlink @$(OBJS)\tex2rtf_gui.lbc
271 $(OBJS)\tex2rtf_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
272 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
274 $(OBJS)\tex2rtf_tex2any.obj : .AUTODEPEND .\tex2any.cpp
275 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
277 $(OBJS)\tex2rtf_texutils.obj : .AUTODEPEND .\texutils.cpp
278 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
280 $(OBJS)\tex2rtf_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
281 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
283 $(OBJS)\tex2rtf_xlputils.obj : .AUTODEPEND .\xlputils.cpp
284 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
286 $(OBJS)\tex2rtf_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
287 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
289 $(OBJS)\tex2rtf_readshg.obj : .AUTODEPEND .\readshg.cpp
290 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
292 $(OBJS)\tex2rtf_table.obj : .AUTODEPEND .\table.cpp
293 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
295 $(OBJS)\tex2rtf_gui_sample.res : .AUTODEPEND .\..\..\..\samples\sample.rc
296 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples $<
298 $(OBJS)\tex2rtf_gui_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
299 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
301 $(OBJS)\tex2rtf_gui_tex2any.obj : .AUTODEPEND .\tex2any.cpp
302 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
304 $(OBJS)\tex2rtf_gui_texutils.obj : .AUTODEPEND .\texutils.cpp
305 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
307 $(OBJS)\tex2rtf_gui_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
308 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
310 $(OBJS)\tex2rtf_gui_xlputils.obj : .AUTODEPEND .\xlputils.cpp
311 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
313 $(OBJS)\tex2rtf_gui_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
314 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
316 $(OBJS)\tex2rtf_gui_readshg.obj : .AUTODEPEND .\readshg.cpp
317 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
319 $(OBJS)\tex2rtf_gui_table.obj : .AUTODEPEND .\table.cpp
320 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<