1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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
58 __tex2rtf_gui___depname =
60 __tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
65 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
70 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
74 !ifeq DEBUG_INFO default
79 !ifeq DEBUG_INFO default
91 !ifeq DEBUG_INFO default
92 __DEBUGINFO_1 = debug all
96 !ifeq DEBUG_INFO default
104 __DEBUGINFO_1 = debug all
111 __OPTIMIZEFLAG = -ot -ox
114 !ifeq RUNTIME_LIBS dynamic
117 !ifeq RUNTIME_LIBS static
121 !ifeq USE_EXCEPTIONS 0
124 !ifeq USE_EXCEPTIONS 1
125 __EXCEPTIONSFLAG = -xs
129 LIBDIRNAME = .\..\..\..\lib\wat_lib$(CFG)
132 LIBDIRNAME = .\..\..\..\lib\wat_dll$(CFG)
137 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
142 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
146 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
150 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
154 __LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
158 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
162 !ifeq DEBUG_FLAG default
163 __DEBUG_DEFINE_p = -d__WXDEBUG__
167 __DEBUG_DEFINE_p = -d__WXDEBUG__
171 __UNICODE_DEFINE_p = -d_UNICODE
175 __DLLFLAG_p = -dWXUSINGDLL
180 WX_RELEASE_NODOT = 25
182 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
184 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
185 TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
186 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
187 -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -dNO_GUI &
188 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
190 $(OBJS)\tex2rtf_tex2rtf.obj &
191 $(OBJS)\tex2rtf_tex2any.obj &
192 $(OBJS)\tex2rtf_texutils.obj &
193 $(OBJS)\tex2rtf_rtfutils.obj &
194 $(OBJS)\tex2rtf_xlputils.obj &
195 $(OBJS)\tex2rtf_htmlutil.obj &
196 $(OBJS)\tex2rtf_readshg.obj &
197 $(OBJS)\tex2rtf_table.obj
198 TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
199 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
200 -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) &
201 -i=.\..\..\..\samples -dNOPCH $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
202 TEX2RTF_GUI_OBJECTS = &
203 $(OBJS)\tex2rtf_gui_tex2rtf.obj &
204 $(OBJS)\tex2rtf_gui_tex2any.obj &
205 $(OBJS)\tex2rtf_gui_texutils.obj &
206 $(OBJS)\tex2rtf_gui_rtfutils.obj &
207 $(OBJS)\tex2rtf_gui_xlputils.obj &
208 $(OBJS)\tex2rtf_gui_htmlutil.obj &
209 $(OBJS)\tex2rtf_gui_readshg.obj &
210 $(OBJS)\tex2rtf_gui_table.obj
215 -if not exist $(OBJS) mkdir $(OBJS)
219 all : .SYMBOLIC $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
222 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
223 -if exist $(OBJS)\*.res del $(OBJS)\*.res
224 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
225 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
226 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
227 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
229 $(OBJS)\tex2rtf.exe : $(TEX2RTF_OBJECTS)
230 @%create $(OBJS)\tex2rtf.lbc
231 @%append $(OBJS)\tex2rtf.lbc option quiet
232 @%append $(OBJS)\tex2rtf.lbc name $^@
233 @%append $(OBJS)\tex2rtf.lbc option caseexact
234 @%append $(OBJS)\tex2rtf.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_'
235 @for %i in ($(TEX2RTF_OBJECTS)) do @%append $(OBJS)\tex2rtf.lbc file %i
236 @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib 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
237 @%append $(OBJS)\tex2rtf.lbc
238 wlink @$(OBJS)\tex2rtf.lbc
241 $(OBJS)\tex2rtf_gui.exe : $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
242 @%create $(OBJS)\tex2rtf_gui.lbc
243 @%append $(OBJS)\tex2rtf_gui.lbc option quiet
244 @%append $(OBJS)\tex2rtf_gui.lbc name $^@
245 @%append $(OBJS)\tex2rtf_gui.lbc option caseexact
246 @%append $(OBJS)\tex2rtf_gui.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
247 @for %i in ($(TEX2RTF_GUI_OBJECTS)) do @%append $(OBJS)\tex2rtf_gui.lbc file %i
248 @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)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib 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
249 @%append $(OBJS)\tex2rtf_gui.lbc option resource=$(OBJS)\tex2rtf_gui_sample.res
250 wlink @$(OBJS)\tex2rtf_gui.lbc
253 $(OBJS)\tex2rtf_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
254 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
256 $(OBJS)\tex2rtf_tex2any.obj : .AUTODEPEND .\tex2any.cpp
257 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
259 $(OBJS)\tex2rtf_texutils.obj : .AUTODEPEND .\texutils.cpp
260 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
262 $(OBJS)\tex2rtf_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
263 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
265 $(OBJS)\tex2rtf_xlputils.obj : .AUTODEPEND .\xlputils.cpp
266 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
268 $(OBJS)\tex2rtf_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
269 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
271 $(OBJS)\tex2rtf_readshg.obj : .AUTODEPEND .\readshg.cpp
272 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
274 $(OBJS)\tex2rtf_table.obj : .AUTODEPEND .\table.cpp
275 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
277 $(OBJS)\tex2rtf_gui_sample.res : .AUTODEPEND .\..\..\..\samples\sample.rc
278 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 $<
280 $(OBJS)\tex2rtf_gui_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
281 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
283 $(OBJS)\tex2rtf_gui_tex2any.obj : .AUTODEPEND .\tex2any.cpp
284 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
286 $(OBJS)\tex2rtf_gui_texutils.obj : .AUTODEPEND .\texutils.cpp
287 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
289 $(OBJS)\tex2rtf_gui_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
290 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
292 $(OBJS)\tex2rtf_gui_xlputils.obj : .AUTODEPEND .\xlputils.cpp
293 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
295 $(OBJS)\tex2rtf_gui_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
296 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
298 $(OBJS)\tex2rtf_gui_readshg.obj : .AUTODEPEND .\readshg.cpp
299 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
301 $(OBJS)\tex2rtf_gui_table.obj : .AUTODEPEND .\table.cpp
302 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<