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