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
75 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
77 __test_gui___depname =
79 __test_gui___depname = $(OBJS)\test_gui.exe
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 TEST_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 -i=. &
203 $(__DLLFLAG_p) $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test.pch &
204 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
206 $(OBJS)\test_dummy.obj &
207 $(OBJS)\test_test.obj &
208 $(OBJS)\test_archivetest.obj &
209 $(OBJS)\test_arrays.obj &
210 $(OBJS)\test_datetimetest.obj &
211 $(OBJS)\test_fileconftest.obj &
212 $(OBJS)\test_filenametest.obj &
213 $(OBJS)\test_filesystest.obj &
214 $(OBJS)\test_fontmaptest.obj &
215 $(OBJS)\test_formatconvertertest.obj &
216 $(OBJS)\test_hashes.obj &
217 $(OBJS)\test_lists.obj &
218 $(OBJS)\test_longlongtest.obj &
219 $(OBJS)\test_mbconvtest.obj &
220 $(OBJS)\test_regextest.obj &
221 $(OBJS)\test_wxregextest.obj &
222 $(OBJS)\test_strings.obj &
223 $(OBJS)\test_stdstrings.obj &
224 $(OBJS)\test_unicode.obj &
225 $(OBJS)\test_crt.obj &
226 $(OBJS)\test_bstream.obj &
227 $(OBJS)\test_datastreamtest.obj &
228 $(OBJS)\test_ffilestream.obj &
229 $(OBJS)\test_filestream.obj &
230 $(OBJS)\test_largefile.obj &
231 $(OBJS)\test_memstream.obj &
232 $(OBJS)\test_sstream.obj &
233 $(OBJS)\test_textstreamtest.obj &
234 $(OBJS)\test_zlibstream.obj &
235 $(OBJS)\test_uris.obj
236 TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
237 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
238 -i=.\..\include -i=$(SETUPHDIR) -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. &
239 $(__DLLFLAG_p) -i=.\..\samples -dNOPCH $(CPPUNIT_CFLAGS) &
240 /fh=$(OBJS)\testprec_test_gui.pch $(__EXCEPTIONSFLAG) &
241 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
243 $(OBJS)\test_gui_dummy.obj &
244 $(OBJS)\test_gui_test.obj &
245 $(OBJS)\test_gui_rect.obj &
246 $(OBJS)\test_gui_size.obj &
247 $(OBJS)\test_gui_point.obj
252 -if not exist $(OBJS) mkdir $(OBJS)
256 all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data
259 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
260 -if exist $(OBJS)\*.res del $(OBJS)\*.res
261 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
262 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
263 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
264 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
265 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
267 $(OBJS)\test.exe : $(TEST_OBJECTS)
268 @%create $(OBJS)\test.lbc
269 @%append $(OBJS)\test.lbc option quiet
270 @%append $(OBJS)\test.lbc name $^@
271 @%append $(OBJS)\test.lbc option caseexact
272 @%append $(OBJS)\test.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS)
273 @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i
274 @for %i in ( $(__WXLIB_NET_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)\test.lbc library %i
275 @%append $(OBJS)\test.lbc
276 wlink @$(OBJS)\test.lbc
279 $(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
280 @%create $(OBJS)\test_gui.lbc
281 @%append $(OBJS)\test_gui.lbc option quiet
282 @%append $(OBJS)\test_gui.lbc name $^@
283 @%append $(OBJS)\test_gui.lbc option caseexact
284 @%append $(OBJS)\test_gui.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_'
285 @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i
286 @for %i in ( $(__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)\test_gui.lbc library %i
287 @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res
288 wlink @$(OBJS)\test_gui.lbc
292 if not exist $(OBJS) mkdir $(OBJS)
293 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
295 $(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp
296 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
298 $(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp
299 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
301 $(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp
302 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
304 $(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp
305 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
307 $(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp
308 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
310 $(OBJS)\test_fileconftest.obj : .AUTODEPEND .\fileconf\fileconftest.cpp
311 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
313 $(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp
314 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
316 $(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp
317 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
319 $(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp
320 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
322 $(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp
323 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
325 $(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp
326 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
328 $(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp
329 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
331 $(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp
332 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
334 $(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp
335 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
337 $(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp
338 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
340 $(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp
341 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
343 $(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp
344 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
346 $(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp
347 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
349 $(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp
350 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
352 $(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp
353 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
355 $(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp
356 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
358 $(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp
359 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
361 $(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp
362 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
364 $(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp
365 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
367 $(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp
368 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
370 $(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp
371 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
373 $(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp
374 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
376 $(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp
377 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
379 $(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp
380 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
382 $(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp
383 $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
385 $(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc
386 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 $<
388 $(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp
389 $(CXX) -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
391 $(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp
392 $(CXX) -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
394 $(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp
395 $(CXX) -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
397 $(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp
398 $(CXX) -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
400 $(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp
401 $(CXX) -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<