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