1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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
135 !ifeq RUNTIME_LIBS dynamic
138 !ifeq RUNTIME_LIBS static
149 !ifeq USE_EXCEPTIONS 0
152 !ifeq USE_EXCEPTIONS 1
153 __EXCEPTIONSFLAG = -xs
158 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
163 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
167 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
171 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
175 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
179 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
183 !ifeq DEBUG_FLAG default
184 __DEBUG_DEFINE_p = -d__WXDEBUG__
188 __DEBUG_DEFINE_p = -d__WXDEBUG__
190 __EXCEPTIONS_DEFINE_p =
191 !ifeq USE_EXCEPTIONS 0
192 __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
196 __RTTI_DEFINE_p = -dwxNO_RTTI
200 __THREAD_DEFINE_p = -dwxNO_THREADS
204 __UNICODE_DEFINE_p = -d_UNICODE
208 __DLLFLAG_p = -dWXUSINGDLL
213 WX_RELEASE_NODOT = 27
215 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
216 LIBDIRNAME = .\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
218 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
219 TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
220 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
221 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
222 $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -wx -wcd=549 &
223 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 -dNO_GUI &
224 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
226 $(OBJS)\tex2rtf_tex2rtf.obj &
227 $(OBJS)\tex2rtf_tex2any.obj &
228 $(OBJS)\tex2rtf_texutils.obj &
229 $(OBJS)\tex2rtf_rtfutils.obj &
230 $(OBJS)\tex2rtf_xlputils.obj &
231 $(OBJS)\tex2rtf_htmlutil.obj &
232 $(OBJS)\tex2rtf_readshg.obj &
233 $(OBJS)\tex2rtf_table.obj
234 TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
235 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
236 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
237 $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -wx -wcd=549 &
238 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples -dNOPCH &
239 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
240 TEX2RTF_GUI_OBJECTS = &
241 $(OBJS)\tex2rtf_gui_tex2rtf.obj &
242 $(OBJS)\tex2rtf_gui_tex2any.obj &
243 $(OBJS)\tex2rtf_gui_texutils.obj &
244 $(OBJS)\tex2rtf_gui_rtfutils.obj &
245 $(OBJS)\tex2rtf_gui_xlputils.obj &
246 $(OBJS)\tex2rtf_gui_htmlutil.obj &
247 $(OBJS)\tex2rtf_gui_readshg.obj &
248 $(OBJS)\tex2rtf_gui_table.obj
253 -if not exist $(OBJS) mkdir $(OBJS)
257 all : .SYMBOLIC $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
260 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
261 -if exist $(OBJS)\*.res del $(OBJS)\*.res
262 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
263 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
264 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
265 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
266 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
268 $(OBJS)\tex2rtf.exe : $(TEX2RTF_OBJECTS)
269 @%create $(OBJS)\tex2rtf.lbc
270 @%append $(OBJS)\tex2rtf.lbc option quiet
271 @%append $(OBJS)\tex2rtf.lbc name $^@
272 @%append $(OBJS)\tex2rtf.lbc option caseexact
273 @%append $(OBJS)\tex2rtf.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_'
274 @for %i in ($(TEX2RTF_OBJECTS)) do @%append $(OBJS)\tex2rtf.lbc file %i
275 @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
276 @%append $(OBJS)\tex2rtf.lbc
277 wlink @$(OBJS)\tex2rtf.lbc
280 $(OBJS)\tex2rtf_gui.exe : $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
281 @%create $(OBJS)\tex2rtf_gui.lbc
282 @%append $(OBJS)\tex2rtf_gui.lbc option quiet
283 @%append $(OBJS)\tex2rtf_gui.lbc name $^@
284 @%append $(OBJS)\tex2rtf_gui.lbc option caseexact
285 @%append $(OBJS)\tex2rtf_gui.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
286 @for %i in ($(TEX2RTF_GUI_OBJECTS)) do @%append $(OBJS)\tex2rtf_gui.lbc file %i
287 @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
288 @%append $(OBJS)\tex2rtf_gui.lbc option resource=$(OBJS)\tex2rtf_gui_sample.res
289 wlink @$(OBJS)\tex2rtf_gui.lbc
292 $(OBJS)\tex2rtf_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
293 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
295 $(OBJS)\tex2rtf_tex2any.obj : .AUTODEPEND .\tex2any.cpp
296 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
298 $(OBJS)\tex2rtf_texutils.obj : .AUTODEPEND .\texutils.cpp
299 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
301 $(OBJS)\tex2rtf_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
302 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
304 $(OBJS)\tex2rtf_xlputils.obj : .AUTODEPEND .\xlputils.cpp
305 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
307 $(OBJS)\tex2rtf_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
308 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
310 $(OBJS)\tex2rtf_readshg.obj : .AUTODEPEND .\readshg.cpp
311 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
313 $(OBJS)\tex2rtf_table.obj : .AUTODEPEND .\table.cpp
314 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
316 $(OBJS)\tex2rtf_gui_sample.res : .AUTODEPEND .\..\..\..\samples\sample.rc
317 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples $<
319 $(OBJS)\tex2rtf_gui_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
320 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
322 $(OBJS)\tex2rtf_gui_tex2any.obj : .AUTODEPEND .\tex2any.cpp
323 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
325 $(OBJS)\tex2rtf_gui_texutils.obj : .AUTODEPEND .\texutils.cpp
326 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
328 $(OBJS)\tex2rtf_gui_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
329 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
331 $(OBJS)\tex2rtf_gui_xlputils.obj : .AUTODEPEND .\xlputils.cpp
332 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
334 $(OBJS)\tex2rtf_gui_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
335 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
337 $(OBJS)\tex2rtf_gui_readshg.obj : .AUTODEPEND .\readshg.cpp
338 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
340 $(OBJS)\tex2rtf_gui_table.obj : .AUTODEPEND .\table.cpp
341 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<