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