]> git.saurik.com Git - wxWidgets.git/blame - tests/makefile.wat
applied patch 1378261
[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
86__DEBUGINFO =
670ec357
VS
87!ifeq BUILD debug
88!ifeq DEBUG_INFO default
a0744a6b 89__DEBUGINFO = -d2
670ec357
VS
90!endif
91!endif
92!ifeq BUILD release
93!ifeq DEBUG_INFO default
a0744a6b 94__DEBUGINFO = -d0
670ec357
VS
95!endif
96!endif
97!ifeq DEBUG_INFO 0
a0744a6b 98__DEBUGINFO = -d0
670ec357
VS
99!endif
100!ifeq DEBUG_INFO 1
a0744a6b 101__DEBUGINFO = -d2
670ec357
VS
102!endif
103__DEBUGINFO_1 =
104!ifeq BUILD debug
105!ifeq DEBUG_INFO default
106__DEBUGINFO_1 = debug all
107!endif
108!endif
109!ifeq BUILD release
110!ifeq DEBUG_INFO default
111__DEBUGINFO_1 =
112!endif
113!endif
114!ifeq DEBUG_INFO 0
115__DEBUGINFO_1 =
116!endif
117!ifeq DEBUG_INFO 1
118__DEBUGINFO_1 = debug all
119!endif
a0744a6b 120__OPTIMIZEFLAG =
670ec357 121!ifeq BUILD debug
a0744a6b 122__OPTIMIZEFLAG = -od
670ec357
VS
123!endif
124!ifeq BUILD release
a0744a6b 125__OPTIMIZEFLAG = -ot -ox
670ec357 126!endif
e1265174
MW
127__THREADSFLAG =
128!ifeq USE_THREADS 0
129__THREADSFLAG =
130!endif
131!ifeq USE_THREADS 1
132__THREADSFLAG = -bm
133!endif
a0744a6b 134__RUNTIME_LIBS =
670ec357 135!ifeq RUNTIME_LIBS dynamic
a0744a6b 136__RUNTIME_LIBS = -br
670ec357
VS
137!endif
138!ifeq RUNTIME_LIBS static
a0744a6b 139__RUNTIME_LIBS =
670ec357 140!endif
e1265174
MW
141__RTTIFLAG =
142!ifeq USE_RTTI 0
143__RTTIFLAG =
670ec357 144!endif
e1265174
MW
145!ifeq USE_RTTI 1
146__RTTIFLAG = -xr
670ec357 147!endif
e1265174 148__EXCEPTIONSFLAG =
cb327439 149!ifeq USE_EXCEPTIONS 0
e1265174 150__EXCEPTIONSFLAG =
670ec357 151!endif
cb327439 152!ifeq USE_EXCEPTIONS 1
e1265174 153__EXCEPTIONSFLAG = -xs
113e181a 154!endif
670ec357
VS
155__WXLIB_BASE_p =
156!ifeq MONOLITHIC 0
c33fae85
RN
157__WXLIB_BASE_p = &
158 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
670ec357
VS
159!endif
160__WXLIB_MONO_p =
161!ifeq MONOLITHIC 1
162__WXLIB_MONO_p = &
c33fae85 163 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
670ec357
VS
164!endif
165__LIB_TIFF_p =
166!ifeq USE_GUI 1
9c2d002b 167__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
670ec357
VS
168!endif
169__LIB_JPEG_p =
170!ifeq USE_GUI 1
9c2d002b 171__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
670ec357
VS
172!endif
173__LIB_PNG_p =
174!ifeq USE_GUI 1
9c2d002b 175__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
670ec357 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
VS
202__UNICODE_DEFINE_p =
203!ifeq UNICODE 1
204__UNICODE_DEFINE_p = -d_UNICODE
205!endif
206__DLLFLAG_p =
670ec357 207!ifeq SHARED 1
a0744a6b 208__DLLFLAG_p = -dWXUSINGDLL
670ec357
VS
209!endif
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 &
7735998c 252 $(OBJS)\test_bstream.obj &
7d9cfc54 253 $(OBJS)\test_datastreamtest.obj &
7735998c
VS
254 $(OBJS)\test_ffilestream.obj &
255 $(OBJS)\test_filestream.obj &
cb327439 256 $(OBJS)\test_largefile.obj &
7735998c 257 $(OBJS)\test_memstream.obj &
c33fae85 258 $(OBJS)\test_sstream.obj &
e1265174 259 $(OBJS)\test_tempfile.obj &
8899b155 260 $(OBJS)\test_textstreamtest.obj &
816b59de 261 $(OBJS)\test_zlibstream.obj &
d31a29b5 262 $(OBJS)\test_textfiletest.obj &
dd65d8c8 263 $(OBJS)\test_uris.obj
e1265174
MW
264TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
265 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
8c9f8f91 266 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
20a34d96 267 $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include -wx -wcd=549 -wcd=656 &
e1265174
MW
268 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\samples -dNOPCH &
269 $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test_gui.pch $(__RTTIFLAG) &
270 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
a0744a6b
VS
271TEST_GUI_OBJECTS = &
272 $(OBJS)\test_gui_dummy.obj &
98a50e20 273 $(OBJS)\test_gui_test.obj &
cb327439
MW
274 $(OBJS)\test_gui_rect.obj &
275 $(OBJS)\test_gui_size.obj &
276 $(OBJS)\test_gui_point.obj
670ec357
VS
277
278
279all : $(OBJS)
280$(OBJS) :
281 -if not exist $(OBJS) mkdir $(OBJS)
282
283### Targets: ###
284
a0744a6b 285all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data
670ec357
VS
286
287clean : .SYMBOLIC
288 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
289 -if exist $(OBJS)\*.res del $(OBJS)\*.res
290 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
291 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
cb327439 292 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
670ec357 293 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
a0744a6b 294 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
670ec357
VS
295
296$(OBJS)\test.exe : $(TEST_OBJECTS)
297 @%create $(OBJS)\test.lbc
298 @%append $(OBJS)\test.lbc option quiet
299 @%append $(OBJS)\test.lbc name $^@
300 @%append $(OBJS)\test.lbc option caseexact
301 @%append $(OBJS)\test.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS)
302 @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i
113e181a 303 @for %i in ( $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\test.lbc library %i
670ec357 304 @%append $(OBJS)\test.lbc
cf9b63b3 305 @for %i in () do @%append $(OBJS)\test.lbc option stack=%i
670ec357
VS
306 wlink @$(OBJS)\test.lbc
307
a0744a6b
VS
308!ifeq USE_GUI 1
309$(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
310 @%create $(OBJS)\test_gui.lbc
311 @%append $(OBJS)\test_gui.lbc option quiet
312 @%append $(OBJS)\test_gui.lbc name $^@
313 @%append $(OBJS)\test_gui.lbc option caseexact
98a50e20 314 @%append $(OBJS)\test_gui.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_'
a0744a6b
VS
315 @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i
316 @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
317 @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res
cf9b63b3 318 @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i
a0744a6b
VS
319 wlink @$(OBJS)\test_gui.lbc
320!endif
321
387f829e
VS
322data : .SYMBOLIC
323 if not exist $(OBJS) mkdir $(OBJS)
324 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
325
8899b155 326$(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp
4cbcfb73 327 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 328
670ec357 329$(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp
4cbcfb73 330 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
670ec357 331
8899b155 332$(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp
4cbcfb73 333 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 334
e6477b92 335$(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp
4cbcfb73 336 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
e6477b92 337
dd65d8c8 338$(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp
4cbcfb73 339 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
4827cbd9 340
113e181a 341$(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp
4cbcfb73 342 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
bc10103e 343
113e181a 344$(OBJS)\test_fileconftest.obj : .AUTODEPEND .\fileconf\fileconftest.cpp
4cbcfb73 345 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
ab921f5f 346
0912690b 347$(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp
4cbcfb73 348 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
3fa86423 349
0912690b 350$(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp
4cbcfb73 351 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cf1014a2 352
0912690b 353$(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp
4cbcfb73 354 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
3c70014d 355
113e181a 356$(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp
4cbcfb73 357 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 358
113e181a 359$(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp
4cbcfb73 360 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
1b035b8c 361
c4839ccf 362$(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp
4cbcfb73 363 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
c4839ccf 364
7d9cfc54 365$(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp
4cbcfb73 366 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7d9cfc54 367
113e181a 368$(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp
4cbcfb73 369 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 370
d31a29b5
VZ
371$(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp
372 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
373
113e181a 374$(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp
4cbcfb73 375 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 376
113e181a 377$(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp
4cbcfb73 378 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 379
113e181a 380$(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp
4cbcfb73 381 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
dd65d8c8 382
0d90d6ea 383$(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp
4cbcfb73 384 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
0d90d6ea 385
1cd53e88 386$(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp
4cbcfb73 387 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
1cd53e88 388
405b7d91 389$(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp
4cbcfb73 390 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
405b7d91 391
20a34d96
VZ
392$(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp
393 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
394
387f829e 395$(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp
4cbcfb73 396 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
387f829e 397
cf8ee08b 398$(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp
4cbcfb73 399 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cf8ee08b 400
7735998c 401$(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp
4cbcfb73 402 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 403
7d9cfc54 404$(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp
4cbcfb73 405 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7d9cfc54 406
7735998c 407$(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp
4cbcfb73 408 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c
VS
409
410$(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp
4cbcfb73 411 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 412
cb327439 413$(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp
4cbcfb73 414 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
cb327439 415
7735998c 416$(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp
4cbcfb73 417 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
7735998c 418
c33fae85 419$(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp
4cbcfb73 420 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
c33fae85 421
e1265174 422$(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp
4cbcfb73 423 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
e1265174 424
8899b155 425$(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp
4cbcfb73 426 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
8899b155 427
7735998c 428$(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp
4cbcfb73 429 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
816b59de 430
d31a29b5
VZ
431$(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp
432 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
433
dd65d8c8 434$(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp
4cbcfb73 435 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
a0744a6b
VS
436
437$(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc
20a34d96 438 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
439
440$(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp
4cbcfb73 441 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
a0744a6b
VS
442
443$(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp
4cbcfb73 444 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
98a50e20
VS
445
446$(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp
4cbcfb73 447 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439
MW
448
449$(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp
4cbcfb73 450 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439
MW
451
452$(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp
4cbcfb73 453 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
cb327439 454