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