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