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