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