]> git.saurik.com Git - wxWidgets.git/blame - tests/makefile.wat
fixed warnings, reformatted braces
[wxWidgets.git] / tests / makefile.wat
CommitLineData
670ec357
VS
1# =========================================================================
2# This makefile was generated by
cf9b63b3 3# Bakefile 0.2.0 (http://bakefile.sourceforge.net)
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
VS
192__UNICODE_DEFINE_p =
193!ifeq UNICODE 1
194__UNICODE_DEFINE_p = -d_UNICODE
195!endif
196__DLLFLAG_p =
670ec357 197!ifeq SHARED 1
a0744a6b 198__DLLFLAG_p = -dWXUSINGDLL
670ec357 199!endif
c2c04edc
KO
200__WXLIB_BASE_p =
201!ifeq MONOLITHIC 0
202__WXLIB_BASE_p = &
203 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
204!endif
205__WXLIB_MONO_p =
206!ifeq MONOLITHIC 1
207__WXLIB_MONO_p = &
208 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
209!endif
670ec357
VS
210
211### Variables: ###
212
4cbcfb73 213WX_RELEASE_NODOT = 27
670ec357
VS
214OBJS = &
215 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
cb327439 216LIBDIRNAME = .\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
670ec357
VS
217SETUPHDIR = &
218 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
e1265174
MW
219TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
220 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
8c9f8f91 221 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
20a34d96 222 $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include -wx -wcd=549 -wcd=656 &
e1265174
MW
223 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 $(CPPUNIT_CFLAGS) &
224 /fh=$(OBJS)\testprec_test.pch $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
225 $(CXXFLAGS)
670ec357 226TEST_OBJECTS = &
8899b155 227 $(OBJS)\test_dummy.obj &
670ec357 228 $(OBJS)\test_test.obj &
8899b155 229 $(OBJS)\test_archivetest.obj &
e6477b92 230 $(OBJS)\test_ziptest.obj &
dd65d8c8 231 $(OBJS)\test_arrays.obj &
113e181a
RN
232 $(OBJS)\test_datetimetest.obj &
233 $(OBJS)\test_fileconftest.obj &
0912690b 234 $(OBJS)\test_filekind.obj &
113e181a
RN
235 $(OBJS)\test_filenametest.obj &
236 $(OBJS)\test_filesystest.obj &
237 $(OBJS)\test_fontmaptest.obj &
238 $(OBJS)\test_formatconvertertest.obj &
c4839ccf 239 $(OBJS)\test_hashes.obj &
7d9cfc54 240 $(OBJS)\test_lists.obj &
113e181a 241 $(OBJS)\test_longlongtest.obj &
d31a29b5 242 $(OBJS)\test_convautotest.obj &
113e181a
RN
243 $(OBJS)\test_mbconvtest.obj &
244 $(OBJS)\test_regextest.obj &
245 $(OBJS)\test_wxregextest.obj &
0d90d6ea 246 $(OBJS)\test_scopeguardtest.obj &
1cd53e88 247 $(OBJS)\test_strings.obj &
405b7d91 248 $(OBJS)\test_stdstrings.obj &
20a34d96 249 $(OBJS)\test_tokenizer.obj &
387f829e 250 $(OBJS)\test_unicode.obj &
cf8ee08b 251 $(OBJS)\test_crt.obj &
3b2cb431 252 $(OBJS)\test_vsnprintf.obj &
7735998c 253 $(OBJS)\test_bstream.obj &
7d9cfc54 254 $(OBJS)\test_datastreamtest.obj &
7735998c
VS
255 $(OBJS)\test_ffilestream.obj &
256 $(OBJS)\test_filestream.obj &
cb327439 257 $(OBJS)\test_largefile.obj &
7735998c 258 $(OBJS)\test_memstream.obj &
c33fae85 259 $(OBJS)\test_sstream.obj &
e1265174 260 $(OBJS)\test_tempfile.obj &
8899b155 261 $(OBJS)\test_textstreamtest.obj &
816b59de 262 $(OBJS)\test_zlibstream.obj &
d31a29b5 263 $(OBJS)\test_textfiletest.obj &
dd65d8c8 264 $(OBJS)\test_uris.obj
e1265174
MW
265TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
266 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
8c9f8f91 267 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
20a34d96 268 $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include -wx -wcd=549 -wcd=656 &
e1265174
MW
269 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\samples -dNOPCH &
270 $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test_gui.pch $(__RTTIFLAG) &
271 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
a0744a6b
VS
272TEST_GUI_OBJECTS = &
273 $(OBJS)\test_gui_dummy.obj &
98a50e20 274 $(OBJS)\test_gui_test.obj &
cb327439
MW
275 $(OBJS)\test_gui_rect.obj &
276 $(OBJS)\test_gui_size.obj &
277 $(OBJS)\test_gui_point.obj
c2c04edc
KO
278PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
279 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
280 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
281 $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include -wx -wcd=549 -wcd=656 &
282 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 $(CPPUNIT_CFLAGS) &
283 /fh=$(OBJS)\testprec_printfbench.pch $(__RTTIFLAG) $(__EXCEPTIONSFLAG) &
284 $(CPPFLAGS) $(CXXFLAGS)
285PRINTFBENCH_OBJECTS = &
286 $(OBJS)\printfbench_dummy.obj &
287 $(OBJS)\printfbench_printfbench.obj
670ec357
VS
288
289
290all : $(OBJS)
291$(OBJS) :
292 -if not exist $(OBJS) mkdir $(OBJS)
293
294### Targets: ###
295
c2c04edc 296all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data $(OBJS)\printfbench.exe
670ec357
VS
297
298clean : .SYMBOLIC
299 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
300 -if exist $(OBJS)\*.res del $(OBJS)\*.res
301 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
302 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
cb327439 303 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
670ec357 304 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
a0744a6b 305 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
c2c04edc 306 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
670ec357
VS
307
308$(OBJS)\test.exe : $(TEST_OBJECTS)
309 @%create $(OBJS)\test.lbc
310 @%append $(OBJS)\test.lbc option quiet
311 @%append $(OBJS)\test.lbc name $^@
312 @%append $(OBJS)\test.lbc option caseexact
c2c04edc 313 @%append $(OBJS)\test.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS)
670ec357 314 @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i
3b2cb431 315 @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) 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
670ec357 316 @%append $(OBJS)\test.lbc
cf9b63b3 317 @for %i in () do @%append $(OBJS)\test.lbc option stack=%i
670ec357
VS
318 wlink @$(OBJS)\test.lbc
319
a0744a6b
VS
320!ifeq USE_GUI 1
321$(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
322 @%create $(OBJS)\test_gui.lbc
323 @%append $(OBJS)\test_gui.lbc option quiet
324 @%append $(OBJS)\test_gui.lbc name $^@
325 @%append $(OBJS)\test_gui.lbc option caseexact
c2c04edc 326 @%append $(OBJS)\test_gui.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_'
a0744a6b 327 @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i
3b2cb431 328 @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
a0744a6b 329 @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res
cf9b63b3 330 @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i
a0744a6b
VS
331 wlink @$(OBJS)\test_gui.lbc
332!endif
333
387f829e
VS
334data : .SYMBOLIC
335 if not exist $(OBJS) mkdir $(OBJS)
336 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
337
c2c04edc
KO
338$(OBJS)\printfbench.exe : $(PRINTFBENCH_OBJECTS)
339 @%create $(OBJS)\printfbench.lbc
340 @%append $(OBJS)\printfbench.lbc option quiet
341 @%append $(OBJS)\printfbench.lbc name $^@
342 @%append $(OBJS)\printfbench.lbc option caseexact
343 @%append $(OBJS)\printfbench.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS)
344 @for %i in ($(PRINTFBENCH_OBJECTS)) do @%append $(OBJS)\printfbench.lbc file %i
345 @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_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)\printfbench.lbc library %i
346 @%append $(OBJS)\printfbench.lbc
347 @for %i in () do @%append $(OBJS)\printfbench.lbc option stack=%i
348 wlink @$(OBJS)\printfbench.lbc
349
8899b155 350$(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp
4cbcfb73 351 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 352
670ec357 353$(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp
4cbcfb73 354 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
670ec357 355
8899b155 356$(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp
4cbcfb73 357 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 358
e6477b92 359$(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp
4cbcfb73 360 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
e6477b92 361
dd65d8c8 362$(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp
4cbcfb73 363 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
4827cbd9 364
113e181a 365$(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp
4cbcfb73 366 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
bc10103e 367
113e181a 368$(OBJS)\test_fileconftest.obj : .AUTODEPEND .\fileconf\fileconftest.cpp
4cbcfb73 369 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
ab921f5f 370
0912690b 371$(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp
4cbcfb73 372 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
3fa86423 373
0912690b 374$(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp
4cbcfb73 375 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cf1014a2 376
0912690b 377$(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp
4cbcfb73 378 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
3c70014d 379
113e181a 380$(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp
4cbcfb73 381 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 382
113e181a 383$(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp
4cbcfb73 384 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
1b035b8c 385
c4839ccf 386$(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp
4cbcfb73 387 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
c4839ccf 388
7d9cfc54 389$(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp
4cbcfb73 390 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7d9cfc54 391
113e181a 392$(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp
4cbcfb73 393 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 394
d31a29b5
VZ
395$(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp
396 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
397
113e181a 398$(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp
4cbcfb73 399 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 400
113e181a 401$(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp
4cbcfb73 402 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 403
113e181a 404$(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp
4cbcfb73 405 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 406
0d90d6ea 407$(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp
4cbcfb73 408 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
0d90d6ea 409
1cd53e88 410$(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp
4cbcfb73 411 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
1cd53e88 412
405b7d91 413$(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp
4cbcfb73 414 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
405b7d91 415
20a34d96
VZ
416$(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp
417 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
418
387f829e 419$(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp
4cbcfb73 420 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
387f829e 421
cf8ee08b 422$(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp
4cbcfb73 423 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cf8ee08b 424
3b2cb431
JS
425$(OBJS)\test_vsnprintf.obj : .AUTODEPEND .\strings\vsnprintf.cpp
426 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
427
7735998c 428$(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp
4cbcfb73 429 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 430
7d9cfc54 431$(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp
4cbcfb73 432 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7d9cfc54 433
7735998c 434$(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp
4cbcfb73 435 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c
VS
436
437$(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp
4cbcfb73 438 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 439
cb327439 440$(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp
4cbcfb73 441 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cb327439 442
7735998c 443$(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp
4cbcfb73 444 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 445
c33fae85 446$(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp
4cbcfb73 447 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
c33fae85 448
e1265174 449$(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp
4cbcfb73 450 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
e1265174 451
8899b155 452$(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp
4cbcfb73 453 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 454
7735998c 455$(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp
4cbcfb73 456 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
816b59de 457
d31a29b5
VZ
458$(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp
459 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
460
dd65d8c8 461$(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp
4cbcfb73 462 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
a0744a6b
VS
463
464$(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc
20a34d96 465 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) -i=$(SETUPHDIR) -i=.\..\include -i=. $(__DLLFLAG_p) -i=.\..\samples $<
a0744a6b
VS
466
467$(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp
4cbcfb73 468 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
a0744a6b
VS
469
470$(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp
4cbcfb73 471 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
98a50e20
VS
472
473$(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp
4cbcfb73 474 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439
MW
475
476$(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp
4cbcfb73 477 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439
MW
478
479$(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp
4cbcfb73 480 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439 481
c2c04edc
KO
482$(OBJS)\printfbench_dummy.obj : .AUTODEPEND .\dummy.cpp
483 $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $<
484
485$(OBJS)\printfbench_printfbench.obj : .AUTODEPEND .\benchmarks\printfbench.cpp
486 $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $<
487