]> git.saurik.com Git - wxWidgets.git/blob - tests/makefile.wat
PCH less build fix
[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 ! 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_config.obj &
346 $(OBJS)\test_gui_comboboxtest.obj &
347 $(OBJS)\test_gui_headerctrltest.obj &
348 $(OBJS)\test_gui_listctrltest.obj &
349 $(OBJS)\test_gui_textctrltest.obj &
350 $(OBJS)\test_gui_textentrytest.obj &
351 $(OBJS)\test_gui_treectrltest.obj &
352 $(OBJS)\test_gui_clone.obj &
353 $(OBJS)\test_gui_propagation.obj &
354 $(OBJS)\test_gui_fonttest.obj &
355 $(OBJS)\test_gui_rawbmp.obj &
356 $(OBJS)\test_gui_htmlwindow.obj &
357 $(OBJS)\test_gui_guifuncs.obj &
358 $(OBJS)\test_gui_selstoretest.obj &
359 $(OBJS)\test_gui_garbage.obj &
360 $(OBJS)\test_gui_settings.obj &
361 $(OBJS)\test_gui_socket.obj &
362 $(OBJS)\test_gui_clientsize.obj &
363 $(OBJS)\test_gui_setsize.obj
364 PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
365 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
366 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
367 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include &
368 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 &
369 $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_printfbench.pch $(__RTTIFLAG) &
370 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
371 PRINTFBENCH_OBJECTS = &
372 $(OBJS)\printfbench_dummy.obj &
373 $(OBJS)\printfbench_printfbench.obj
374
375
376 all : $(OBJS)
377 $(OBJS) :
378 -if not exist $(OBJS) mkdir $(OBJS)
379
380 ### Targets: ###
381
382 all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
383
384 clean : .SYMBOLIC
385 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
386 -if exist $(OBJS)\*.res del $(OBJS)\*.res
387 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
388 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
389 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
390 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
391 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
392 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
393
394 $(OBJS)\test.exe : $(TEST_OBJECTS)
395 @%create $(OBJS)\test.lbc
396 @%append $(OBJS)\test.lbc option quiet
397 @%append $(OBJS)\test.lbc name $^@
398 @%append $(OBJS)\test.lbc option caseexact
399 @%append $(OBJS)\test.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS)
400 @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i
401 @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
402 @%append $(OBJS)\test.lbc
403 @for %i in () do @%append $(OBJS)\test.lbc option stack=%i
404 wlink @$(OBJS)\test.lbc
405
406 !ifeq USE_GUI 1
407 $(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
408 @%create $(OBJS)\test_gui.lbc
409 @%append $(OBJS)\test_gui.lbc option quiet
410 @%append $(OBJS)\test_gui.lbc name $^@
411 @%append $(OBJS)\test_gui.lbc option caseexact
412 @%append $(OBJS)\test_gui.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_' $(LDFLAGS)
413 @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i
414 @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
415 @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res
416 @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i
417 wlink @$(OBJS)\test_gui.lbc
418 !endif
419
420 data : .SYMBOLIC
421 if not exist $(OBJS) mkdir $(OBJS)
422 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
423
424 fr : .SYMBOLIC
425 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
426 for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr
427
428 $(OBJS)\printfbench.exe : $(PRINTFBENCH_OBJECTS)
429 @%create $(OBJS)\printfbench.lbc
430 @%append $(OBJS)\printfbench.lbc option quiet
431 @%append $(OBJS)\printfbench.lbc name $^@
432 @%append $(OBJS)\printfbench.lbc option caseexact
433 @%append $(OBJS)\printfbench.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS)
434 @for %i in ($(PRINTFBENCH_OBJECTS)) do @%append $(OBJS)\printfbench.lbc file %i
435 @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
436 @%append $(OBJS)\printfbench.lbc
437 @for %i in () do @%append $(OBJS)\printfbench.lbc option stack=%i
438 wlink @$(OBJS)\printfbench.lbc
439
440 $(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp
441 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
442
443 $(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp
444 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
445
446 $(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp
447 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
448
449 $(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp
450 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
451
452 $(OBJS)\test_tartest.obj : .AUTODEPEND .\archive\tartest.cpp
453 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
454
455 $(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp
456 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
457
458 $(OBJS)\test_base64.obj : .AUTODEPEND .\base64\base64.cpp
459 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
460
461 $(OBJS)\test_cmdlinetest.obj : .AUTODEPEND .\cmdline\cmdlinetest.cpp
462 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
463
464 $(OBJS)\test_fileconf.obj : .AUTODEPEND .\config\fileconf.cpp
465 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
466
467 $(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp
468 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
469
470 $(OBJS)\test_evthandler.obj : .AUTODEPEND .\events\evthandler.cpp
471 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
472
473 $(OBJS)\test_timertest.obj : .AUTODEPEND .\events\timertest.cpp
474 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
475
476 $(OBJS)\test_exec.obj : .AUTODEPEND .\exec\exec.cpp
477 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
478
479 $(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp
480 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
481
482 $(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp
483 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
484
485 $(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp
486 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
487
488 $(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp
489 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
490
491 $(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp
492 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
493
494 $(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp
495 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
496
497 $(OBJS)\test_intltest.obj : .AUTODEPEND .\intl\intltest.cpp
498 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
499
500 $(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp
501 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
502
503 $(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp
504 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
505
506 $(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp
507 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
508
509 $(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp
510 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
511
512 $(OBJS)\test_misctests.obj : .AUTODEPEND .\misc\misctests.cpp
513 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
514
515 $(OBJS)\test_ipc.obj : .AUTODEPEND .\net\ipc.cpp
516 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
517
518 $(OBJS)\test_socket.obj : .AUTODEPEND .\net\socket.cpp
519 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
520
521 $(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp
522 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
523
524 $(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp
525 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
526
527 $(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp
528 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
529
530 $(OBJS)\test_iostream.obj : .AUTODEPEND .\strings\iostream.cpp
531 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
532
533 $(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp
534 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
535
536 $(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp
537 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
538
539 $(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp
540 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
541
542 $(OBJS)\test_unichar.obj : .AUTODEPEND .\strings\unichar.cpp
543 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
544
545 $(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp
546 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
547
548 $(OBJS)\test_vararg.obj : .AUTODEPEND .\strings\vararg.cpp
549 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
550
551 $(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp
552 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
553
554 $(OBJS)\test_vsnprintf.obj : .AUTODEPEND .\strings\vsnprintf.cpp
555 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
556
557 $(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp
558 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
559
560 $(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp
561 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
562
563 $(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp
564 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
565
566 $(OBJS)\test_fileback.obj : .AUTODEPEND .\streams\fileback.cpp
567 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
568
569 $(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp
570 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
571
572 $(OBJS)\test_iostreams.obj : .AUTODEPEND .\streams\iostreams.cpp
573 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
574
575 $(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp
576 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
577
578 $(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp
579 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
580
581 $(OBJS)\test_socketstream.obj : .AUTODEPEND .\streams\socketstream.cpp
582 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
583
584 $(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp
585 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
586
587 $(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp
588 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
589
590 $(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp
591 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
592
593 $(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp
594 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
595
596 $(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp
597 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
598
599 $(OBJS)\test_atomic.obj : .AUTODEPEND .\thread\atomic.cpp
600 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
601
602 $(OBJS)\test_queue.obj : .AUTODEPEND .\thread\queue.cpp
603 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
604
605 $(OBJS)\test_tls.obj : .AUTODEPEND .\thread\tls.cpp
606 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
607
608 $(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp
609 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
610
611 $(OBJS)\test_vectors.obj : .AUTODEPEND .\vectors\vectors.cpp
612 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
613
614 $(OBJS)\test_evtconnection.obj : .AUTODEPEND .\weakref\evtconnection.cpp
615 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
616
617 $(OBJS)\test_weakref.obj : .AUTODEPEND .\weakref\weakref.cpp
618 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
619
620 $(OBJS)\test_xlocale.obj : .AUTODEPEND .\xlocale\xlocale.cpp
621 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
622
623 $(OBJS)\test_xmltest.obj : .AUTODEPEND .\xml\xmltest.cpp
624 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $<
625
626 $(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc
627 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 $<
628
629 $(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp
630 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
631
632 $(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp
633 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
634
635 $(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp
636 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
637
638 $(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp
639 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
640
641 $(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp
642 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
643
644 $(OBJS)\test_gui_config.obj : .AUTODEPEND .\config\config.cpp
645 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
646
647 $(OBJS)\test_gui_comboboxtest.obj : .AUTODEPEND .\controls\comboboxtest.cpp
648 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
649
650 $(OBJS)\test_gui_headerctrltest.obj : .AUTODEPEND .\controls\headerctrltest.cpp
651 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
652
653 $(OBJS)\test_gui_listctrltest.obj : .AUTODEPEND .\controls\listctrltest.cpp
654 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
655
656 $(OBJS)\test_gui_textctrltest.obj : .AUTODEPEND .\controls\textctrltest.cpp
657 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
658
659 $(OBJS)\test_gui_textentrytest.obj : .AUTODEPEND .\controls\textentrytest.cpp
660 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
661
662 $(OBJS)\test_gui_treectrltest.obj : .AUTODEPEND .\controls\treectrltest.cpp
663 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
664
665 $(OBJS)\test_gui_clone.obj : .AUTODEPEND .\events\clone.cpp
666 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
667
668 $(OBJS)\test_gui_propagation.obj : .AUTODEPEND .\events\propagation.cpp
669 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
670
671 $(OBJS)\test_gui_fonttest.obj : .AUTODEPEND .\font\fonttest.cpp
672 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
673
674 $(OBJS)\test_gui_rawbmp.obj : .AUTODEPEND .\image\rawbmp.cpp
675 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
676
677 $(OBJS)\test_gui_htmlwindow.obj : .AUTODEPEND .\html\htmlwindow.cpp
678 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
679
680 $(OBJS)\test_gui_guifuncs.obj : .AUTODEPEND .\misc\guifuncs.cpp
681 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
682
683 $(OBJS)\test_gui_selstoretest.obj : .AUTODEPEND .\misc\selstoretest.cpp
684 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
685
686 $(OBJS)\test_gui_garbage.obj : .AUTODEPEND .\misc\garbage.cpp
687 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
688
689 $(OBJS)\test_gui_settings.obj : .AUTODEPEND .\misc\settings.cpp
690 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
691
692 $(OBJS)\test_gui_socket.obj : .AUTODEPEND .\net\socket.cpp
693 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
694
695 $(OBJS)\test_gui_clientsize.obj : .AUTODEPEND .\window\clientsize.cpp
696 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
697
698 $(OBJS)\test_gui_setsize.obj : .AUTODEPEND .\window\setsize.cpp
699 $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
700
701 $(OBJS)\printfbench_dummy.obj : .AUTODEPEND .\dummy.cpp
702 $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $<
703
704 $(OBJS)\printfbench_printfbench.obj : .AUTODEPEND .\benchmarks\printfbench.cpp
705 $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $<
706