]> git.saurik.com Git - wxWidgets.git/blob - tests/makefile.wat
remove also wxT(); it's confusing, too; do load wxstd.mo catalog after calling wxLoca...
[wxWidgets.git] / tests / makefile.wat
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.5 (http://www.bakefile.org)
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:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28 ### Conditionally set variables: ###
29
30 PORTNAME =
31 !ifeq USE_GUI 0
32 PORTNAME = base
33 !endif
34 !ifeq USE_GUI 1
35 PORTNAME = msw
36 !endif
37 WXDEBUGFLAG =
38 !ifeq BUILD debug
39 !ifeq DEBUG_FLAG default
40 WXDEBUGFLAG = d
41 !endif
42 !endif
43 !ifeq DEBUG_FLAG 1
44 WXDEBUGFLAG = d
45 !endif
46 WXUNICODEFLAG =
47 !ifeq UNICODE 1
48 WXUNICODEFLAG = u
49 !endif
50 WXUNIVNAME =
51 !ifeq WXUNIV 1
52 WXUNIVNAME = univ
53 !endif
54 WXDLLFLAG =
55 !ifeq SHARED 1
56 WXDLLFLAG = dll
57 !endif
58 LIBTYPE_SUFFIX =
59 !ifeq SHARED 0
60 LIBTYPE_SUFFIX = lib
61 !endif
62 !ifeq SHARED 1
63 LIBTYPE_SUFFIX = dll
64 !endif
65 EXTRALIBS_FOR_BASE =
66 !ifeq MONOLITHIC 0
67 EXTRALIBS_FOR_BASE =
68 !endif
69 !ifeq MONOLITHIC 1
70 EXTRALIBS_FOR_BASE =
71 !endif
72 __test_gui___depname =
73 !ifeq USE_GUI 1
74 __test_gui___depname = $(OBJS)\test_gui.exe
75 !endif
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
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
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
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
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
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
125 __DEBUGINFO =
126 !ifeq BUILD debug
127 !ifeq DEBUG_INFO default
128 __DEBUGINFO = -d2
129 !endif
130 !endif
131 !ifeq BUILD release
132 !ifeq DEBUG_INFO default
133 __DEBUGINFO = -d0
134 !endif
135 !endif
136 !ifeq DEBUG_INFO 0
137 __DEBUGINFO = -d0
138 !endif
139 !ifeq DEBUG_INFO 1
140 __DEBUGINFO = -d2
141 !endif
142 __DEBUGINFO_2 =
143 !ifeq BUILD debug
144 !ifeq DEBUG_INFO default
145 __DEBUGINFO_2 = debug all
146 !endif
147 !endif
148 !ifeq BUILD release
149 !ifeq DEBUG_INFO default
150 __DEBUGINFO_2 =
151 !endif
152 !endif
153 !ifeq DEBUG_INFO 0
154 __DEBUGINFO_2 =
155 !endif
156 !ifeq DEBUG_INFO 1
157 __DEBUGINFO_2 = debug all
158 !endif
159 __OPTIMIZEFLAG =
160 !ifeq BUILD debug
161 __OPTIMIZEFLAG = -od
162 !endif
163 !ifeq BUILD release
164 __OPTIMIZEFLAG = -ot -ox
165 !endif
166 __THREADSFLAG =
167 !ifeq USE_THREADS 0
168 __THREADSFLAG =
169 !endif
170 !ifeq USE_THREADS 1
171 __THREADSFLAG = -bm
172 !endif
173 __RUNTIME_LIBS =
174 !ifeq RUNTIME_LIBS dynamic
175 __RUNTIME_LIBS = -br
176 !endif
177 !ifeq RUNTIME_LIBS static
178 __RUNTIME_LIBS =
179 !endif
180 __RTTIFLAG =
181 !ifeq USE_RTTI 0
182 __RTTIFLAG =
183 !endif
184 !ifeq USE_RTTI 1
185 __RTTIFLAG = -xr
186 !endif
187 __EXCEPTIONSFLAG =
188 !ifeq USE_EXCEPTIONS 0
189 __EXCEPTIONSFLAG =
190 !endif
191 !ifeq USE_EXCEPTIONS 1
192 __EXCEPTIONSFLAG = -xs
193 !endif
194 __WXUNIV_DEFINE_p =
195 !ifeq WXUNIV 1
196 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
197 !endif
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
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
219 __UNICODE_DEFINE_p =
220 !ifeq UNICODE 0
221 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=0
222 !endif
223 !ifeq UNICODE 1
224 __UNICODE_DEFINE_p = -d_UNICODE
225 !endif
226 __GFXCTX_DEFINE_p =
227 !ifeq USE_GDIPLUS 1
228 __GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1
229 !endif
230 __DLLFLAG_p =
231 !ifeq SHARED 1
232 __DLLFLAG_p = -dWXUSINGDLL
233 !endif
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
244 __GDIPLUS_LIB_p =
245 !ifeq USE_GDIPLUS 1
246 __GDIPLUS_LIB_p = gdiplus.lib
247 !endif
248
249 ### Variables: ###
250
251 WX_RELEASE_NODOT = 29
252 COMPILER_PREFIX = wat
253 OBJS = &
254 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
255 LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
256 SETUPHDIR = &
257 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
258 TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
259 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
260 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
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)
265 TEST_OBJECTS = &
266 $(OBJS)\test_dummy.obj &
267 $(OBJS)\test_test.obj &
268 $(OBJS)\test_archivetest.obj &
269 $(OBJS)\test_ziptest.obj &
270 $(OBJS)\test_tartest.obj &
271 $(OBJS)\test_arrays.obj &
272 $(OBJS)\test_base64.obj &
273 $(OBJS)\test_cmdlinetest.obj &
274 $(OBJS)\test_fileconf.obj &
275 $(OBJS)\test_datetimetest.obj &
276 $(OBJS)\test_timertest.obj &
277 $(OBJS)\test_filekind.obj &
278 $(OBJS)\test_filenametest.obj &
279 $(OBJS)\test_filesystest.obj &
280 $(OBJS)\test_fontmaptest.obj &
281 $(OBJS)\test_formatconvertertest.obj &
282 $(OBJS)\test_hashes.obj &
283 $(OBJS)\test_intltest.obj &
284 $(OBJS)\test_lists.obj &
285 $(OBJS)\test_longlongtest.obj &
286 $(OBJS)\test_convautotest.obj &
287 $(OBJS)\test_mbconvtest.obj &
288 $(OBJS)\test_misctests.obj &
289 $(OBJS)\test_ipc.obj &
290 $(OBJS)\test_socket.obj &
291 $(OBJS)\test_regextest.obj &
292 $(OBJS)\test_wxregextest.obj &
293 $(OBJS)\test_scopeguardtest.obj &
294 $(OBJS)\test_iostream.obj &
295 $(OBJS)\test_strings.obj &
296 $(OBJS)\test_stdstrings.obj &
297 $(OBJS)\test_tokenizer.obj &
298 $(OBJS)\test_unichar.obj &
299 $(OBJS)\test_unicode.obj &
300 $(OBJS)\test_vararg.obj &
301 $(OBJS)\test_crt.obj &
302 $(OBJS)\test_vsnprintf.obj &
303 $(OBJS)\test_bstream.obj &
304 $(OBJS)\test_datastreamtest.obj &
305 $(OBJS)\test_ffilestream.obj &
306 $(OBJS)\test_fileback.obj &
307 $(OBJS)\test_filestream.obj &
308 $(OBJS)\test_iostreams.obj &
309 $(OBJS)\test_largefile.obj &
310 $(OBJS)\test_memstream.obj &
311 $(OBJS)\test_socketstream.obj &
312 $(OBJS)\test_sstream.obj &
313 $(OBJS)\test_tempfile.obj &
314 $(OBJS)\test_textstreamtest.obj &
315 $(OBJS)\test_zlibstream.obj &
316 $(OBJS)\test_textfiletest.obj &
317 $(OBJS)\test_atomic.obj &
318 $(OBJS)\test_queue.obj &
319 $(OBJS)\test_tls.obj &
320 $(OBJS)\test_uris.obj &
321 $(OBJS)\test_vectors.obj &
322 $(OBJS)\test_evtconnection.obj &
323 $(OBJS)\test_weakref.obj &
324 $(OBJS)\test_xlocale.obj &
325 $(OBJS)\test_xmltest.obj
326 TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
327 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
328 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
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 &
331 -dNOPCH $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test_gui.pch $(__RTTIFLAG) &
332 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
333 TEST_GUI_OBJECTS = &
334 $(OBJS)\test_gui_dummy.obj &
335 $(OBJS)\test_gui_test.obj &
336 $(OBJS)\test_gui_rect.obj &
337 $(OBJS)\test_gui_size.obj &
338 $(OBJS)\test_gui_point.obj &
339 $(OBJS)\test_gui_config.obj &
340 $(OBJS)\test_gui_comboboxtest.obj &
341 $(OBJS)\test_gui_headerctrltest.obj &
342 $(OBJS)\test_gui_listctrltest.obj &
343 $(OBJS)\test_gui_textctrltest.obj &
344 $(OBJS)\test_gui_textentrytest.obj &
345 $(OBJS)\test_gui_propagation.obj &
346 $(OBJS)\test_gui_rawbmp.obj &
347 $(OBJS)\test_gui_htmlwindow.obj &
348 $(OBJS)\test_gui_guifuncs.obj &
349 $(OBJS)\test_gui_selstoretest.obj &
350 $(OBJS)\test_gui_garbage.obj &
351 $(OBJS)\test_gui_socket.obj &
352 $(OBJS)\test_gui_clientsize.obj &
353 $(OBJS)\test_gui_setsize.obj
354 PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
355 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
356 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
357 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include &
358 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 &
359 $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_printfbench.pch $(__RTTIFLAG) &
360 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
361 PRINTFBENCH_OBJECTS = &
362 $(OBJS)\printfbench_dummy.obj &
363 $(OBJS)\printfbench_printfbench.obj
364
365
366 all : $(OBJS)
367 $(OBJS) :
368 -if not exist $(OBJS) mkdir $(OBJS)
369
370 ### Targets: ###
371
372 all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
373
374 clean : .SYMBOLIC
375 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
376 -if exist $(OBJS)\*.res del $(OBJS)\*.res
377 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
378 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
379 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
380 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
381 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
382 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
383
384 $(OBJS)\test.exe : $(TEST_OBJECTS)
385 @%create $(OBJS)\test.lbc
386 @%append $(OBJS)\test.lbc option quiet
387 @%append $(OBJS)\test.lbc name $^@
388 @%append $(OBJS)\test.lbc option caseexact
389 @%append $(OBJS)\test.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS)
390 @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i
391 @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
392 @%append $(OBJS)\test.lbc
393 @for %i in () do @%append $(OBJS)\test.lbc option stack=%i
394 wlink @$(OBJS)\test.lbc
395
396 !ifeq USE_GUI 1
397 $(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
398 @%create $(OBJS)\test_gui.lbc
399 @%append $(OBJS)\test_gui.lbc option quiet
400 @%append $(OBJS)\test_gui.lbc name $^@
401 @%append $(OBJS)\test_gui.lbc option caseexact
402 @%append $(OBJS)\test_gui.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_' $(LDFLAGS)
403 @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i
404 @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
405 @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res
406 @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i
407 wlink @$(OBJS)\test_gui.lbc
408 !endif
409
410 data : .SYMBOLIC
411 if not exist $(OBJS) mkdir $(OBJS)
412 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
413
414 fr : .SYMBOLIC
415 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
416 for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr
417
418 $(OBJS)\printfbench.exe : $(PRINTFBENCH_OBJECTS)
419 @%create $(OBJS)\printfbench.lbc
420 @%append $(OBJS)\printfbench.lbc option quiet
421 @%append $(OBJS)\printfbench.lbc name $^@
422 @%append $(OBJS)\printfbench.lbc option caseexact
423 @%append $(OBJS)\printfbench.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS)
424 @for %i in ($(PRINTFBENCH_OBJECTS)) do @%append $(OBJS)\printfbench.lbc file %i
425 @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
426 @%append $(OBJS)\printfbench.lbc
427 @for %i in () do @%append $(OBJS)\printfbench.lbc option stack=%i
428 wlink @$(OBJS)\printfbench.lbc
429
430 $(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp
431 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
432
433 $(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp
434 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
435
436 $(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp
437 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
438
439 $(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp
440 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
441
442 $(OBJS)\test_tartest.obj : .AUTODEPEND .\archive\tartest.cpp
443 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
444
445 $(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp
446 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
447
448 $(OBJS)\test_base64.obj : .AUTODEPEND .\base64\base64.cpp
449 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
450
451 $(OBJS)\test_cmdlinetest.obj : .AUTODEPEND .\cmdline\cmdlinetest.cpp
452 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
453
454 $(OBJS)\test_fileconf.obj : .AUTODEPEND .\config\fileconf.cpp
455 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
456
457 $(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp
458 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
459
460 $(OBJS)\test_timertest.obj : .AUTODEPEND .\events\timertest.cpp
461 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
462
463 $(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp
464 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
465
466 $(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp
467 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
468
469 $(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp
470 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
471
472 $(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp
473 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
474
475 $(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp
476 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
477
478 $(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp
479 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
480
481 $(OBJS)\test_intltest.obj : .AUTODEPEND .\intl\intltest.cpp
482 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
483
484 $(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp
485 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
486
487 $(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp
488 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
489
490 $(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp
491 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
492
493 $(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp
494 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
495
496 $(OBJS)\test_misctests.obj : .AUTODEPEND .\misc\misctests.cpp
497 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
498
499 $(OBJS)\test_ipc.obj : .AUTODEPEND .\net\ipc.cpp
500 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
501
502 $(OBJS)\test_socket.obj : .AUTODEPEND .\net\socket.cpp
503 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
504
505 $(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp
506 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
507
508 $(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp
509 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
510
511 $(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp
512 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
513
514 $(OBJS)\test_iostream.obj : .AUTODEPEND .\strings\iostream.cpp
515 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
516
517 $(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp
518 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
519
520 $(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp
521 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
522
523 $(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp
524 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
525
526 $(OBJS)\test_unichar.obj : .AUTODEPEND .\strings\unichar.cpp
527 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
528
529 $(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp
530 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
531
532 $(OBJS)\test_vararg.obj : .AUTODEPEND .\strings\vararg.cpp
533 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
534
535 $(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp
536 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
537
538 $(OBJS)\test_vsnprintf.obj : .AUTODEPEND .\strings\vsnprintf.cpp
539 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
540
541 $(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp
542 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
543
544 $(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp
545 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
546
547 $(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp
548 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
549
550 $(OBJS)\test_fileback.obj : .AUTODEPEND .\streams\fileback.cpp
551 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
552
553 $(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp
554 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
555
556 $(OBJS)\test_iostreams.obj : .AUTODEPEND .\streams\iostreams.cpp
557 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
558
559 $(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp
560 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
561
562 $(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp
563 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
564
565 $(OBJS)\test_socketstream.obj : .AUTODEPEND .\streams\socketstream.cpp
566 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
567
568 $(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp
569 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
570
571 $(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp
572 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
573
574 $(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp
575 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
576
577 $(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp
578 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
579
580 $(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp
581 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
582
583 $(OBJS)\test_atomic.obj : .AUTODEPEND .\thread\atomic.cpp
584 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
585
586 $(OBJS)\test_queue.obj : .AUTODEPEND .\thread\queue.cpp
587 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
588
589 $(OBJS)\test_tls.obj : .AUTODEPEND .\thread\tls.cpp
590 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
591
592 $(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp
593 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
594
595 $(OBJS)\test_vectors.obj : .AUTODEPEND .\vectors\vectors.cpp
596 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
597
598 $(OBJS)\test_evtconnection.obj : .AUTODEPEND .\weakref\evtconnection.cpp
599 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
600
601 $(OBJS)\test_weakref.obj : .AUTODEPEND .\weakref\weakref.cpp
602 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
603
604 $(OBJS)\test_xlocale.obj : .AUTODEPEND .\xlocale\xlocale.cpp
605 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
606
607 $(OBJS)\test_xmltest.obj : .AUTODEPEND .\xml\xmltest.cpp
608 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
609
610 $(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc
611 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 $<
612
613 $(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp
614 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
615
616 $(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp
617 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
618
619 $(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp
620 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
621
622 $(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp
623 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
624
625 $(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp
626 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
627
628 $(OBJS)\test_gui_config.obj : .AUTODEPEND .\config\config.cpp
629 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
630
631 $(OBJS)\test_gui_comboboxtest.obj : .AUTODEPEND .\controls\comboboxtest.cpp
632 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
633
634 $(OBJS)\test_gui_headerctrltest.obj : .AUTODEPEND .\controls\headerctrltest.cpp
635 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
636
637 $(OBJS)\test_gui_listctrltest.obj : .AUTODEPEND .\controls\listctrltest.cpp
638 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
639
640 $(OBJS)\test_gui_textctrltest.obj : .AUTODEPEND .\controls\textctrltest.cpp
641 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
642
643 $(OBJS)\test_gui_textentrytest.obj : .AUTODEPEND .\controls\textentrytest.cpp
644 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
645
646 $(OBJS)\test_gui_propagation.obj : .AUTODEPEND .\events\propagation.cpp
647 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
648
649 $(OBJS)\test_gui_rawbmp.obj : .AUTODEPEND .\image\rawbmp.cpp
650 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
651
652 $(OBJS)\test_gui_htmlwindow.obj : .AUTODEPEND .\html\htmlwindow.cpp
653 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
654
655 $(OBJS)\test_gui_guifuncs.obj : .AUTODEPEND .\misc\guifuncs.cpp
656 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
657
658 $(OBJS)\test_gui_selstoretest.obj : .AUTODEPEND .\misc\selstoretest.cpp
659 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
660
661 $(OBJS)\test_gui_garbage.obj : .AUTODEPEND .\misc\garbage.cpp
662 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
663
664 $(OBJS)\test_gui_socket.obj : .AUTODEPEND .\net\socket.cpp
665 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
666
667 $(OBJS)\test_gui_clientsize.obj : .AUTODEPEND .\window\clientsize.cpp
668 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
669
670 $(OBJS)\test_gui_setsize.obj : .AUTODEPEND .\window\setsize.cpp
671 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
672
673 $(OBJS)\printfbench_dummy.obj : .AUTODEPEND .\dummy.cpp
674 $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $<
675
676 $(OBJS)\printfbench_printfbench.obj : .AUTODEPEND .\benchmarks\printfbench.cpp
677 $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $<
678