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