]> git.saurik.com Git - wxWidgets.git/blame - tests/makefile.wat
fix comparison in Normalize() test
[wxWidgets.git] / tests / makefile.wat
CommitLineData
670ec357
VS
1# =========================================================================
2# This makefile was generated by
506e9b7e 3# Bakefile 0.2.5 (http://www.bakefile.org)
670ec357
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include ../build/msw/config.wat
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13# Speed up compilation a bit:
14!ifdef __LOADDLL__
15! loaddll wcc wccd
16! loaddll wccaxp wccdaxp
17! loaddll wcc386 wccd386
18! loaddll wpp wppdi86
19! loaddll wppaxp wppdaxp
20! loaddll wpp386 wppd386
21! loaddll wlink wlink
22! loaddll wlib wlibd
23!endif
24
25# We need these variables in some bakefile-made rules:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
30PORTNAME =
31!ifeq USE_GUI 0
32PORTNAME = base
33!endif
34!ifeq USE_GUI 1
35PORTNAME = msw
36!endif
37WXDEBUGFLAG =
38!ifeq BUILD debug
39!ifeq DEBUG_FLAG default
40WXDEBUGFLAG = d
41!endif
42!endif
43!ifeq DEBUG_FLAG 1
44WXDEBUGFLAG = d
45!endif
46WXUNICODEFLAG =
47!ifeq UNICODE 1
48WXUNICODEFLAG = u
49!endif
50WXUNIVNAME =
51!ifeq WXUNIV 1
52WXUNIVNAME = univ
53!endif
54WXDLLFLAG =
55!ifeq SHARED 1
56WXDLLFLAG = dll
57!endif
cb327439
MW
58LIBTYPE_SUFFIX =
59!ifeq SHARED 0
60LIBTYPE_SUFFIX = lib
61!endif
62!ifeq SHARED 1
63LIBTYPE_SUFFIX = dll
64!endif
dd65d8c8
RN
65EXTRALIBS_FOR_BASE =
66!ifeq MONOLITHIC 0
67EXTRALIBS_FOR_BASE =
68!endif
69!ifeq MONOLITHIC 1
70EXTRALIBS_FOR_BASE =
71!endif
a0744a6b
VS
72__WXLIB_NET_p =
73!ifeq MONOLITHIC 0
74__WXLIB_NET_p = &
75 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
76!endif
5e05df3c
VS
77__WXLIB_XML_p =
78!ifeq MONOLITHIC 0
79__WXLIB_XML_p = &
80 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
81!endif
a0744a6b
VS
82__test_gui___depname =
83!ifeq USE_GUI 1
84__test_gui___depname = $(OBJS)\test_gui.exe
85!endif
c39058f6
VS
86__WXLIB_HTML_p =
87!ifeq MONOLITHIC 0
88__WXLIB_HTML_p = &
89 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
90!endif
a0744a6b
VS
91__WXLIB_CORE_p =
92!ifeq MONOLITHIC 0
93__WXLIB_CORE_p = &
94 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
95!endif
3b2cb431
JS
96__LIB_TIFF_p =
97!ifeq USE_GUI 1
98__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
99!endif
100__LIB_JPEG_p =
101!ifeq USE_GUI 1
102__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
103!endif
104__LIB_PNG_p =
105!ifeq USE_GUI 1
106__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
107!endif
a0744a6b 108__DEBUGINFO =
670ec357
VS
109!ifeq BUILD debug
110!ifeq DEBUG_INFO default
a0744a6b 111__DEBUGINFO = -d2
670ec357
VS
112!endif
113!endif
114!ifeq BUILD release
115!ifeq DEBUG_INFO default
a0744a6b 116__DEBUGINFO = -d0
670ec357
VS
117!endif
118!endif
119!ifeq DEBUG_INFO 0
a0744a6b 120__DEBUGINFO = -d0
670ec357
VS
121!endif
122!ifeq DEBUG_INFO 1
a0744a6b 123__DEBUGINFO = -d2
670ec357 124!endif
c2c04edc 125__DEBUGINFO_2 =
670ec357
VS
126!ifeq BUILD debug
127!ifeq DEBUG_INFO default
c2c04edc 128__DEBUGINFO_2 = debug all
670ec357
VS
129!endif
130!endif
131!ifeq BUILD release
132!ifeq DEBUG_INFO default
c2c04edc 133__DEBUGINFO_2 =
670ec357
VS
134!endif
135!endif
136!ifeq DEBUG_INFO 0
c2c04edc 137__DEBUGINFO_2 =
670ec357
VS
138!endif
139!ifeq DEBUG_INFO 1
c2c04edc 140__DEBUGINFO_2 = debug all
670ec357 141!endif
a0744a6b 142__OPTIMIZEFLAG =
670ec357 143!ifeq BUILD debug
a0744a6b 144__OPTIMIZEFLAG = -od
670ec357
VS
145!endif
146!ifeq BUILD release
a0744a6b 147__OPTIMIZEFLAG = -ot -ox
670ec357 148!endif
e1265174
MW
149__THREADSFLAG =
150!ifeq USE_THREADS 0
151__THREADSFLAG =
152!endif
153!ifeq USE_THREADS 1
154__THREADSFLAG = -bm
155!endif
a0744a6b 156__RUNTIME_LIBS =
670ec357 157!ifeq RUNTIME_LIBS dynamic
a0744a6b 158__RUNTIME_LIBS = -br
670ec357
VS
159!endif
160!ifeq RUNTIME_LIBS static
a0744a6b 161__RUNTIME_LIBS =
670ec357 162!endif
e1265174
MW
163__RTTIFLAG =
164!ifeq USE_RTTI 0
165__RTTIFLAG =
670ec357 166!endif
e1265174
MW
167!ifeq USE_RTTI 1
168__RTTIFLAG = -xr
670ec357 169!endif
e1265174 170__EXCEPTIONSFLAG =
cb327439 171!ifeq USE_EXCEPTIONS 0
e1265174 172__EXCEPTIONSFLAG =
670ec357 173!endif
cb327439 174!ifeq USE_EXCEPTIONS 1
e1265174 175__EXCEPTIONSFLAG = -xs
113e181a 176!endif
a0744a6b
VS
177__WXUNIV_DEFINE_p =
178!ifeq WXUNIV 1
179__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
670ec357 180!endif
a0744a6b
VS
181__DEBUG_DEFINE_p =
182!ifeq BUILD debug
183!ifeq DEBUG_FLAG default
184__DEBUG_DEFINE_p = -d__WXDEBUG__
185!endif
186!endif
187!ifeq DEBUG_FLAG 1
188__DEBUG_DEFINE_p = -d__WXDEBUG__
189!endif
8c9f8f91
JS
190__EXCEPTIONS_DEFINE_p =
191!ifeq USE_EXCEPTIONS 0
192__EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
193!endif
194__RTTI_DEFINE_p =
195!ifeq USE_RTTI 0
196__RTTI_DEFINE_p = -dwxNO_RTTI
197!endif
198__THREAD_DEFINE_p =
199!ifeq USE_THREADS 0
200__THREAD_DEFINE_p = -dwxNO_THREADS
201!endif
a0744a6b 202__UNICODE_DEFINE_p =
7379e476
VZ
203!ifeq UNICODE 0
204__UNICODE_DEFINE_p = -dwxUSE_UNICODE=0
205!endif
a0744a6b
VS
206!ifeq UNICODE 1
207__UNICODE_DEFINE_p = -d_UNICODE
208!endif
3abcf424
RD
209__GFXCTX_DEFINE_p =
210!ifeq USE_GDIPLUS 1
211__GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1
212!endif
a0744a6b 213__DLLFLAG_p =
670ec357 214!ifeq SHARED 1
a0744a6b 215__DLLFLAG_p = -dWXUSINGDLL
670ec357 216!endif
c2c04edc
KO
217__WXLIB_BASE_p =
218!ifeq MONOLITHIC 0
219__WXLIB_BASE_p = &
220 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
221!endif
222__WXLIB_MONO_p =
223!ifeq MONOLITHIC 1
224__WXLIB_MONO_p = &
225 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
226!endif
3abcf424
RD
227__GDIPLUS_LIB_p =
228!ifeq USE_GDIPLUS 1
229__GDIPLUS_LIB_p = gdiplus.lib
230!endif
670ec357
VS
231
232### Variables: ###
233
ae4ccf12 234WX_RELEASE_NODOT = 29
173f3c03 235COMPILER_PREFIX = wat
670ec357 236OBJS = &
173f3c03
VZ
237 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
238LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
670ec357
VS
239SETUPHDIR = &
240 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
e1265174
MW
241TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
242 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
8c9f8f91 243 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
3abcf424
RD
244 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include &
245 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 &
246 $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test.pch $(__RTTIFLAG) &
247 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
670ec357 248TEST_OBJECTS = &
8899b155 249 $(OBJS)\test_dummy.obj &
670ec357 250 $(OBJS)\test_test.obj &
8899b155 251 $(OBJS)\test_archivetest.obj &
e6477b92 252 $(OBJS)\test_ziptest.obj &
cdd7933f 253 $(OBJS)\test_tartest.obj &
dd65d8c8 254 $(OBJS)\test_arrays.obj &
9222c613 255 $(OBJS)\test_base64.obj &
5769cf0f 256 $(OBJS)\test_cmdlinetest.obj &
9222c613 257 $(OBJS)\test_fileconf.obj &
113e181a 258 $(OBJS)\test_datetimetest.obj &
0912690b 259 $(OBJS)\test_filekind.obj &
113e181a
RN
260 $(OBJS)\test_filenametest.obj &
261 $(OBJS)\test_filesystest.obj &
262 $(OBJS)\test_fontmaptest.obj &
263 $(OBJS)\test_formatconvertertest.obj &
c4839ccf 264 $(OBJS)\test_hashes.obj &
02f935fb 265 $(OBJS)\test_intltest.obj &
7d9cfc54 266 $(OBJS)\test_lists.obj &
113e181a 267 $(OBJS)\test_longlongtest.obj &
d31a29b5 268 $(OBJS)\test_convautotest.obj &
113e181a 269 $(OBJS)\test_mbconvtest.obj &
604fba2d 270 $(OBJS)\test_misctests.obj &
e7ce668e 271 $(OBJS)\test_ipc.obj &
62fb86a5 272 $(OBJS)\test_socket.obj &
113e181a
RN
273 $(OBJS)\test_regextest.obj &
274 $(OBJS)\test_wxregextest.obj &
0d90d6ea 275 $(OBJS)\test_scopeguardtest.obj &
99d8bc65 276 $(OBJS)\test_iostream.obj &
1cd53e88 277 $(OBJS)\test_strings.obj &
405b7d91 278 $(OBJS)\test_stdstrings.obj &
20a34d96 279 $(OBJS)\test_tokenizer.obj &
c9f78968 280 $(OBJS)\test_unichar.obj &
387f829e 281 $(OBJS)\test_unicode.obj &
c9f78968 282 $(OBJS)\test_vararg.obj &
cf8ee08b 283 $(OBJS)\test_crt.obj &
3b2cb431 284 $(OBJS)\test_vsnprintf.obj &
7735998c 285 $(OBJS)\test_bstream.obj &
7d9cfc54 286 $(OBJS)\test_datastreamtest.obj &
7735998c 287 $(OBJS)\test_ffilestream.obj &
e2255c89 288 $(OBJS)\test_fileback.obj &
7735998c 289 $(OBJS)\test_filestream.obj &
f9caf1af 290 $(OBJS)\test_iostreams.obj &
cb327439 291 $(OBJS)\test_largefile.obj &
7735998c 292 $(OBJS)\test_memstream.obj &
f9caf1af 293 $(OBJS)\test_socketstream.obj &
c33fae85 294 $(OBJS)\test_sstream.obj &
e1265174 295 $(OBJS)\test_tempfile.obj &
8899b155 296 $(OBJS)\test_textstreamtest.obj &
816b59de 297 $(OBJS)\test_zlibstream.obj &
d31a29b5 298 $(OBJS)\test_textfiletest.obj &
173f3c03 299 $(OBJS)\test_atomic.obj &
6aaee6af 300 $(OBJS)\test_queue.obj &
8b73c531 301 $(OBJS)\test_tls.obj &
e966f815 302 $(OBJS)\test_uris.obj &
6490a288
VZ
303 $(OBJS)\test_vectors.obj &
304 $(OBJS)\test_evtconnection.obj &
6e4ae332 305 $(OBJS)\test_weakref.obj &
5e05df3c
VS
306 $(OBJS)\test_xlocale.obj &
307 $(OBJS)\test_xmltest.obj
e1265174
MW
308TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
309 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
8c9f8f91 310 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
3abcf424
RD
311 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include &
312 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\samples &
7664a67f 313 -dNOPCH $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test_gui.pch $(__RTTIFLAG) &
e1265174 314 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
a0744a6b
VS
315TEST_GUI_OBJECTS = &
316 $(OBJS)\test_gui_dummy.obj &
98a50e20 317 $(OBJS)\test_gui_test.obj &
cb327439
MW
318 $(OBJS)\test_gui_rect.obj &
319 $(OBJS)\test_gui_size.obj &
9222c613 320 $(OBJS)\test_gui_point.obj &
c0d9b217 321 $(OBJS)\test_gui_config.obj &
dc7f9c9c 322 $(OBJS)\test_gui_comboboxtest.obj &
c8f80d27 323 $(OBJS)\test_gui_textctrltest.obj &
f0f6a32d 324 $(OBJS)\test_gui_textentrytest.obj &
3e50a139 325 $(OBJS)\test_gui_rawbmp.obj &
c39058f6 326 $(OBJS)\test_gui_htmlwindow.obj &
841a25bb 327 $(OBJS)\test_gui_guifuncs.obj &
1a86d2e5 328 $(OBJS)\test_gui_selstoretest.obj &
5af86f4d
VZ
329 $(OBJS)\test_gui_clientsize.obj &
330 $(OBJS)\test_gui_setsize.obj
c2c04edc
KO
331PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
332 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
333 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
3abcf424
RD
334 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include &
335 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 &
336 $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_printfbench.pch $(__RTTIFLAG) &
337 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
c2c04edc
KO
338PRINTFBENCH_OBJECTS = &
339 $(OBJS)\printfbench_dummy.obj &
340 $(OBJS)\printfbench_printfbench.obj
670ec357
VS
341
342
343all : $(OBJS)
344$(OBJS) :
345 -if not exist $(OBJS) mkdir $(OBJS)
346
347### Targets: ###
348
02f935fb 349all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
670ec357
VS
350
351clean : .SYMBOLIC
352 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
353 -if exist $(OBJS)\*.res del $(OBJS)\*.res
354 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
355 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
cb327439 356 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
670ec357 357 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
a0744a6b 358 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
c2c04edc 359 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
670ec357
VS
360
361$(OBJS)\test.exe : $(TEST_OBJECTS)
362 @%create $(OBJS)\test.lbc
363 @%append $(OBJS)\test.lbc option quiet
364 @%append $(OBJS)\test.lbc name $^@
365 @%append $(OBJS)\test.lbc option caseexact
8ece421c 366 @%append $(OBJS)\test.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS)
670ec357 367 @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i
5e05df3c 368 @for %i in ( $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_XML_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) 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) do @%append $(OBJS)\test.lbc library %i
670ec357 369 @%append $(OBJS)\test.lbc
cf9b63b3 370 @for %i in () do @%append $(OBJS)\test.lbc option stack=%i
670ec357
VS
371 wlink @$(OBJS)\test.lbc
372
a0744a6b
VS
373!ifeq USE_GUI 1
374$(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
375 @%create $(OBJS)\test_gui.lbc
376 @%append $(OBJS)\test_gui.lbc option quiet
377 @%append $(OBJS)\test_gui.lbc name $^@
378 @%append $(OBJS)\test_gui.lbc option caseexact
8ece421c 379 @%append $(OBJS)\test_gui.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_' $(LDFLAGS)
a0744a6b 380 @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i
c39058f6 381 @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) $(__GDIPLUS_LIB_p) 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) do @%append $(OBJS)\test_gui.lbc library %i
a0744a6b 382 @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res
cf9b63b3 383 @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i
a0744a6b
VS
384 wlink @$(OBJS)\test_gui.lbc
385!endif
386
387f829e
VS
387data : .SYMBOLIC
388 if not exist $(OBJS) mkdir $(OBJS)
389 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
390
02f935fb
VS
391fr : .SYMBOLIC
392 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
393 for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr
394
c2c04edc
KO
395$(OBJS)\printfbench.exe : $(PRINTFBENCH_OBJECTS)
396 @%create $(OBJS)\printfbench.lbc
397 @%append $(OBJS)\printfbench.lbc option quiet
398 @%append $(OBJS)\printfbench.lbc name $^@
399 @%append $(OBJS)\printfbench.lbc option caseexact
8ece421c 400 @%append $(OBJS)\printfbench.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS)
c2c04edc 401 @for %i in ($(PRINTFBENCH_OBJECTS)) do @%append $(OBJS)\printfbench.lbc file %i
6aaee6af 402 @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) 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) do @%append $(OBJS)\printfbench.lbc library %i
c2c04edc
KO
403 @%append $(OBJS)\printfbench.lbc
404 @for %i in () do @%append $(OBJS)\printfbench.lbc option stack=%i
405 wlink @$(OBJS)\printfbench.lbc
406
8899b155 407$(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp
4cbcfb73 408 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 409
670ec357 410$(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp
4cbcfb73 411 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
670ec357 412
8899b155 413$(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp
4cbcfb73 414 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 415
e6477b92 416$(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp
4cbcfb73 417 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
e6477b92 418
cdd7933f
MW
419$(OBJS)\test_tartest.obj : .AUTODEPEND .\archive\tartest.cpp
420 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
421
dd65d8c8 422$(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp
4cbcfb73 423 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
4827cbd9 424
9222c613
VZ
425$(OBJS)\test_base64.obj : .AUTODEPEND .\base64\base64.cpp
426 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
427
5769cf0f
VZ
428$(OBJS)\test_cmdlinetest.obj : .AUTODEPEND .\cmdline\cmdlinetest.cpp
429 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
430
9222c613 431$(OBJS)\test_fileconf.obj : .AUTODEPEND .\config\fileconf.cpp
4cbcfb73 432 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
bc10103e 433
9222c613 434$(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp
4cbcfb73 435 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
ab921f5f 436
0912690b 437$(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp
4cbcfb73 438 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
3fa86423 439
0912690b 440$(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp
4cbcfb73 441 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cf1014a2 442
0912690b 443$(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp
4cbcfb73 444 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
3c70014d 445
113e181a 446$(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp
4cbcfb73 447 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 448
113e181a 449$(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp
4cbcfb73 450 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
1b035b8c 451
c4839ccf 452$(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp
4cbcfb73 453 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
c4839ccf 454
02f935fb
VS
455$(OBJS)\test_intltest.obj : .AUTODEPEND .\intl\intltest.cpp
456 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
457
7d9cfc54 458$(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp
4cbcfb73 459 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7d9cfc54 460
113e181a 461$(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp
4cbcfb73 462 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 463
d31a29b5
VZ
464$(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp
465 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
466
113e181a 467$(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp
4cbcfb73 468 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 469
604fba2d
VZ
470$(OBJS)\test_misctests.obj : .AUTODEPEND .\misc\misctests.cpp
471 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
472
e7ce668e
VZ
473$(OBJS)\test_ipc.obj : .AUTODEPEND .\net\ipc.cpp
474 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
475
62fb86a5
VZ
476$(OBJS)\test_socket.obj : .AUTODEPEND .\net\socket.cpp
477 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
478
113e181a 479$(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp
4cbcfb73 480 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 481
113e181a 482$(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp
4cbcfb73 483 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 484
0d90d6ea 485$(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp
4cbcfb73 486 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
0d90d6ea 487
f9caf1af
VZ
488$(OBJS)\test_iostream.obj : .AUTODEPEND .\strings\iostream.cpp
489 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
490
1cd53e88 491$(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp
4cbcfb73 492 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
1cd53e88 493
405b7d91 494$(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp
4cbcfb73 495 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
405b7d91 496
20a34d96
VZ
497$(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp
498 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
499
c9f78968
VS
500$(OBJS)\test_unichar.obj : .AUTODEPEND .\strings\unichar.cpp
501 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
502
387f829e 503$(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp
4cbcfb73 504 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
387f829e 505
c9f78968
VS
506$(OBJS)\test_vararg.obj : .AUTODEPEND .\strings\vararg.cpp
507 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
508
cf8ee08b 509$(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp
4cbcfb73 510 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cf8ee08b 511
3b2cb431
JS
512$(OBJS)\test_vsnprintf.obj : .AUTODEPEND .\strings\vsnprintf.cpp
513 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
514
7735998c 515$(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp
4cbcfb73 516 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 517
7d9cfc54 518$(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp
4cbcfb73 519 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7d9cfc54 520
7735998c 521$(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp
4cbcfb73 522 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 523
e2255c89
MW
524$(OBJS)\test_fileback.obj : .AUTODEPEND .\streams\fileback.cpp
525 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
526
7735998c 527$(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp
4cbcfb73 528 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 529
f9caf1af
VZ
530$(OBJS)\test_iostreams.obj : .AUTODEPEND .\streams\iostreams.cpp
531 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
532
cb327439 533$(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp
4cbcfb73 534 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cb327439 535
7735998c 536$(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp
4cbcfb73 537 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 538
f9caf1af
VZ
539$(OBJS)\test_socketstream.obj : .AUTODEPEND .\streams\socketstream.cpp
540 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
541
c33fae85 542$(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp
4cbcfb73 543 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
c33fae85 544
e1265174 545$(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp
4cbcfb73 546 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
e1265174 547
8899b155 548$(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp
4cbcfb73 549 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 550
7735998c 551$(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp
4cbcfb73 552 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
816b59de 553
d31a29b5
VZ
554$(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp
555 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
556
173f3c03
VZ
557$(OBJS)\test_atomic.obj : .AUTODEPEND .\thread\atomic.cpp
558 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
559
6aaee6af
VZ
560$(OBJS)\test_queue.obj : .AUTODEPEND .\thread\queue.cpp
561 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
562
8b73c531
VZ
563$(OBJS)\test_tls.obj : .AUTODEPEND .\thread\tls.cpp
564 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
565
dd65d8c8 566$(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp
4cbcfb73 567 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
a0744a6b 568
e966f815
VS
569$(OBJS)\test_vectors.obj : .AUTODEPEND .\vectors\vectors.cpp
570 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
571
6490a288
VZ
572$(OBJS)\test_evtconnection.obj : .AUTODEPEND .\weakref\evtconnection.cpp
573 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
574
575$(OBJS)\test_weakref.obj : .AUTODEPEND .\weakref\weakref.cpp
576 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
577
6e4ae332
VZ
578$(OBJS)\test_xlocale.obj : .AUTODEPEND .\xlocale\xlocale.cpp
579 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
580
5e05df3c
VS
581$(OBJS)\test_xmltest.obj : .AUTODEPEND .\xml\xmltest.cpp
582 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
583
a0744a6b 584$(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc
7664a67f 585 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) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include -i=. $(__DLLFLAG_p) -i=.\..\samples -dNOPCH $<
a0744a6b
VS
586
587$(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp
4cbcfb73 588 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
a0744a6b
VS
589
590$(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp
4cbcfb73 591 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
98a50e20
VS
592
593$(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp
4cbcfb73 594 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439
MW
595
596$(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp
4cbcfb73 597 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439
MW
598
599$(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp
4cbcfb73 600 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439 601
9222c613
VZ
602$(OBJS)\test_gui_config.obj : .AUTODEPEND .\config\config.cpp
603 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
dc7f9c9c
VZ
604
605$(OBJS)\test_gui_comboboxtest.obj : .AUTODEPEND .\controls\comboboxtest.cpp
606 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
9222c613 607
c0d9b217
VZ
608$(OBJS)\test_gui_textctrltest.obj : .AUTODEPEND .\controls\textctrltest.cpp
609 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
610
f0f6a32d
VZ
611$(OBJS)\test_gui_textentrytest.obj : .AUTODEPEND .\controls\textentrytest.cpp
612 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
613
3e50a139
VZ
614$(OBJS)\test_gui_rawbmp.obj : .AUTODEPEND .\image\rawbmp.cpp
615 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
616
c39058f6
VS
617$(OBJS)\test_gui_htmlwindow.obj : .AUTODEPEND .\html\htmlwindow.cpp
618 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
619
841a25bb
VZ
620$(OBJS)\test_gui_guifuncs.obj : .AUTODEPEND .\misc\guifuncs.cpp
621 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
622
c8f80d27
VZ
623$(OBJS)\test_gui_selstoretest.obj : .AUTODEPEND .\misc\selstoretest.cpp
624 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
625
1a86d2e5
VZ
626$(OBJS)\test_gui_clientsize.obj : .AUTODEPEND .\window\clientsize.cpp
627 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
628
5af86f4d
VZ
629$(OBJS)\test_gui_setsize.obj : .AUTODEPEND .\window\setsize.cpp
630 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
631
c2c04edc
KO
632$(OBJS)\printfbench_dummy.obj : .AUTODEPEND .\dummy.cpp
633 $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $<
634
635$(OBJS)\printfbench_printfbench.obj : .AUTODEPEND .\benchmarks\printfbench.cpp
636 $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $<
637