]> git.saurik.com Git - wxWidgets.git/blob - tests/makefile.vc
Minor correction
[wxWidgets.git] / tests / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.3 (http://www.bakefile.org)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 !include <../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 29
16 COMPILER_PREFIX = vc
17 OBJS = \
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19 LIBDIRNAME = \
20 .\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21 SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 TEST_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 $(__DEBUGINFO) \
24 /Fd$(OBJS)\test.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
25 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
26 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
27 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \
28 /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 \
29 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"testprec.h" \
30 /Fp"$(OBJS)\testprec_test.pch" $(CPPFLAGS) $(CXXFLAGS)
31 TEST_OBJECTS = \
32 $(OBJS)\test_dummy.obj \
33 $(OBJS)\test_test.obj \
34 $(OBJS)\test_archivetest.obj \
35 $(OBJS)\test_ziptest.obj \
36 $(OBJS)\test_tartest.obj \
37 $(OBJS)\test_arrays.obj \
38 $(OBJS)\test_base64.obj \
39 $(OBJS)\test_cmdlinetest.obj \
40 $(OBJS)\test_fileconf.obj \
41 $(OBJS)\test_datetimetest.obj \
42 $(OBJS)\test_filekind.obj \
43 $(OBJS)\test_filenametest.obj \
44 $(OBJS)\test_filesystest.obj \
45 $(OBJS)\test_fontmaptest.obj \
46 $(OBJS)\test_formatconvertertest.obj \
47 $(OBJS)\test_hashes.obj \
48 $(OBJS)\test_intltest.obj \
49 $(OBJS)\test_lists.obj \
50 $(OBJS)\test_longlongtest.obj \
51 $(OBJS)\test_convautotest.obj \
52 $(OBJS)\test_mbconvtest.obj \
53 $(OBJS)\test_regextest.obj \
54 $(OBJS)\test_wxregextest.obj \
55 $(OBJS)\test_scopeguardtest.obj \
56 $(OBJS)\test_iostream.obj \
57 $(OBJS)\test_strings.obj \
58 $(OBJS)\test_stdstrings.obj \
59 $(OBJS)\test_tokenizer.obj \
60 $(OBJS)\test_unichar.obj \
61 $(OBJS)\test_unicode.obj \
62 $(OBJS)\test_vararg.obj \
63 $(OBJS)\test_crt.obj \
64 $(OBJS)\test_vsnprintf.obj \
65 $(OBJS)\test_bstream.obj \
66 $(OBJS)\test_datastreamtest.obj \
67 $(OBJS)\test_ffilestream.obj \
68 $(OBJS)\test_fileback.obj \
69 $(OBJS)\test_filestream.obj \
70 $(OBJS)\test_largefile.obj \
71 $(OBJS)\test_memstream.obj \
72 $(OBJS)\test_sstream.obj \
73 $(OBJS)\test_tempfile.obj \
74 $(OBJS)\test_textstreamtest.obj \
75 $(OBJS)\test_zlibstream.obj \
76 $(OBJS)\test_textfiletest.obj \
77 $(OBJS)\test_atomic.obj \
78 $(OBJS)\test_queue.obj \
79 $(OBJS)\test_uris.obj \
80 $(OBJS)\test_vectors.obj \
81 $(OBJS)\test_evtconnection.obj \
82 $(OBJS)\test_weakref.obj \
83 $(OBJS)\test_xlocale.obj \
84 $(OBJS)\test_xmltest.obj
85 TEST_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \
86 $(__DEBUGINFO) /Fd$(OBJS)\test_gui.pdb $(____DEBUGRUNTIME) \
87 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
88 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
89 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
90 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) \
91 /I.\..\samples /DNOPCH $(CPPUNIT_CFLAGS) /D_CONSOLE $(__RTTIFLAG) \
92 $(__EXCEPTIONSFLAG) /Yu"testprec.h" /Fp"$(OBJS)\testprec_test_gui.pch" \
93 $(CPPFLAGS) $(CXXFLAGS)
94 TEST_GUI_OBJECTS = \
95 $(OBJS)\test_gui_dummy.obj \
96 $(OBJS)\test_gui_sample.res \
97 $(OBJS)\test_gui_test.obj \
98 $(OBJS)\test_gui_rect.obj \
99 $(OBJS)\test_gui_size.obj \
100 $(OBJS)\test_gui_point.obj \
101 $(OBJS)\test_gui_config.obj \
102 $(OBJS)\test_gui_textctrltest.obj \
103 $(OBJS)\test_gui_selstoretest.obj \
104 $(OBJS)\test_gui_clientsize.obj \
105 $(OBJS)\test_gui_setsize.obj
106 PRINTFBENCH_CXXFLAGS = /M$(__RUNTIME_LIBS_38)$(__DEBUGRUNTIME) /DWIN32 \
107 $(__DEBUGINFO) /Fd$(OBJS)\printfbench.pdb $(____DEBUGRUNTIME) \
108 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
109 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
110 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
111 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) \
112 /D_CONSOLE /DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
113 /Yu"testprec.h" /Fp"$(OBJS)\testprec_printfbench.pch" $(CPPFLAGS) \
114 $(CXXFLAGS)
115 PRINTFBENCH_OBJECTS = \
116 $(OBJS)\printfbench_dummy.obj \
117 $(OBJS)\printfbench_printfbench.obj
118
119 ### Conditionally set variables: ###
120
121 !if "$(USE_GUI)" == "0"
122 PORTNAME = base
123 !endif
124 !if "$(USE_GUI)" == "1"
125 PORTNAME = msw
126 !endif
127 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
128 WXDEBUGFLAG = d
129 !endif
130 !if "$(DEBUG_FLAG)" == "1"
131 WXDEBUGFLAG = d
132 !endif
133 !if "$(UNICODE)" == "1"
134 WXUNICODEFLAG = u
135 !endif
136 !if "$(WXUNIV)" == "1"
137 WXUNIVNAME = univ
138 !endif
139 !if "$(TARGET_CPU)" == "amd64"
140 DIR_SUFFIX_CPU = _amd64
141 !endif
142 !if "$(TARGET_CPU)" == "amd64"
143 DIR_SUFFIX_CPU = _amd64
144 !endif
145 !if "$(TARGET_CPU)" == "ia64"
146 DIR_SUFFIX_CPU = _ia64
147 !endif
148 !if "$(TARGET_CPU)" == "ia64"
149 DIR_SUFFIX_CPU = _ia64
150 !endif
151 !if "$(SHARED)" == "1"
152 WXDLLFLAG = dll
153 !endif
154 !if "$(SHARED)" == "0"
155 LIBTYPE_SUFFIX = lib
156 !endif
157 !if "$(SHARED)" == "1"
158 LIBTYPE_SUFFIX = dll
159 !endif
160 !if "$(TARGET_CPU)" == "amd64"
161 LINK_TARGET_CPU = /MACHINE:AMD64
162 !endif
163 !if "$(TARGET_CPU)" == "amd64"
164 LINK_TARGET_CPU = /MACHINE:AMD64
165 !endif
166 !if "$(TARGET_CPU)" == "ia64"
167 LINK_TARGET_CPU = /MACHINE:IA64
168 !endif
169 !if "$(TARGET_CPU)" == "ia64"
170 LINK_TARGET_CPU = /MACHINE:IA64
171 !endif
172 !if "$(MONOLITHIC)" == "0"
173 EXTRALIBS_FOR_BASE =
174 !endif
175 !if "$(MONOLITHIC)" == "1"
176 EXTRALIBS_FOR_BASE =
177 !endif
178 !if "$(RUNTIME_LIBS)" == "dynamic"
179 __RUNTIME_LIBS_8 = D
180 !endif
181 !if "$(RUNTIME_LIBS)" == "static"
182 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
183 !endif
184 !if "$(MONOLITHIC)" == "0"
185 __WXLIB_NET_p = \
186 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
187 !endif
188 !if "$(MONOLITHIC)" == "0"
189 __WXLIB_XML_p = \
190 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
191 !endif
192 !if "$(USE_GUI)" == "1"
193 __test_gui___depname = $(OBJS)\test_gui.exe
194 !endif
195 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
196 ____DEBUGRUNTIME_17_p_1 = /d _DEBUG
197 !endif
198 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
199 ____DEBUGRUNTIME_17_p_1 =
200 !endif
201 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
202 ____DEBUGRUNTIME_17_p_1 =
203 !endif
204 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
205 ____DEBUGRUNTIME_17_p_1 = /d _DEBUG
206 !endif
207 !if "$(RUNTIME_LIBS)" == "dynamic"
208 __RUNTIME_LIBS_23 = D
209 !endif
210 !if "$(RUNTIME_LIBS)" == "static"
211 __RUNTIME_LIBS_23 = $(__THREADSFLAG)
212 !endif
213 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
214 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
215 !endif
216 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
217 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
218 !endif
219 !if "$(WXUNIV)" == "1"
220 __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
221 !endif
222 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
223 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
224 !endif
225 !if "$(DEBUG_FLAG)" == "1"
226 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
227 !endif
228 !if "$(USE_EXCEPTIONS)" == "0"
229 __EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS
230 !endif
231 !if "$(USE_RTTI)" == "0"
232 __RTTI_DEFINE_p_3 = /d wxNO_RTTI
233 !endif
234 !if "$(USE_THREADS)" == "0"
235 __THREAD_DEFINE_p_3 = /d wxNO_THREADS
236 !endif
237 !if "$(UNICODE)" == "0"
238 __UNICODE_DEFINE_p_3 = /d wxUSE_UNICODE=0
239 !endif
240 !if "$(UNICODE)" == "1"
241 __UNICODE_DEFINE_p_3 = /d _UNICODE
242 !endif
243 !if "$(MSLU)" == "1"
244 __MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1
245 !endif
246 !if "$(USE_GDIPLUS)" == "1"
247 __GFXCTX_DEFINE_p_3 = /d wxUSE_GRAPHICS_CONTEXT=1
248 !endif
249 !if "$(SHARED)" == "1"
250 __DLLFLAG_p_3 = /d WXUSINGDLL
251 !endif
252 !if "$(MONOLITHIC)" == "0"
253 __WXLIB_CORE_p = \
254 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
255 !endif
256 !if "$(USE_GUI)" == "1"
257 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
258 !endif
259 !if "$(USE_GUI)" == "1"
260 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
261 !endif
262 !if "$(USE_GUI)" == "1"
263 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
264 !endif
265 !if "$(RUNTIME_LIBS)" == "dynamic"
266 __RUNTIME_LIBS_38 = D
267 !endif
268 !if "$(RUNTIME_LIBS)" == "static"
269 __RUNTIME_LIBS_38 = $(__THREADSFLAG)
270 !endif
271 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
272 __DEBUGINFO = /Zi
273 !endif
274 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
275 __DEBUGINFO =
276 !endif
277 !if "$(DEBUG_INFO)" == "0"
278 __DEBUGINFO =
279 !endif
280 !if "$(DEBUG_INFO)" == "1"
281 __DEBUGINFO = /Zi
282 !endif
283 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
284 __DEBUGINFO_2 = /DEBUG
285 !endif
286 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
287 __DEBUGINFO_2 =
288 !endif
289 !if "$(DEBUG_INFO)" == "0"
290 __DEBUGINFO_2 =
291 !endif
292 !if "$(DEBUG_INFO)" == "1"
293 __DEBUGINFO_2 = /DEBUG
294 !endif
295 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
296 ____DEBUGRUNTIME = /D_DEBUG
297 !endif
298 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
299 ____DEBUGRUNTIME =
300 !endif
301 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
302 ____DEBUGRUNTIME =
303 !endif
304 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
305 ____DEBUGRUNTIME = /D_DEBUG
306 !endif
307 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
308 __DEBUGRUNTIME = d
309 !endif
310 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
311 __DEBUGRUNTIME =
312 !endif
313 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
314 __DEBUGRUNTIME =
315 !endif
316 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
317 __DEBUGRUNTIME = d
318 !endif
319 !if "$(BUILD)" == "debug"
320 __OPTIMIZEFLAG = /Od
321 !endif
322 !if "$(BUILD)" == "release"
323 __OPTIMIZEFLAG = /O2
324 !endif
325 !if "$(USE_THREADS)" == "0"
326 __THREADSFLAG = L
327 !endif
328 !if "$(USE_THREADS)" == "1"
329 __THREADSFLAG = T
330 !endif
331 !if "$(USE_RTTI)" == "0"
332 __RTTIFLAG =
333 !endif
334 !if "$(USE_RTTI)" == "1"
335 __RTTIFLAG = /GR
336 !endif
337 !if "$(USE_EXCEPTIONS)" == "0"
338 __EXCEPTIONSFLAG =
339 !endif
340 !if "$(USE_EXCEPTIONS)" == "1"
341 __EXCEPTIONSFLAG = /EHsc
342 !endif
343 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
344 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
345 !endif
346 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
347 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
348 !endif
349 !if "$(WXUNIV)" == "1"
350 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
351 !endif
352 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
353 __DEBUG_DEFINE_p = /D__WXDEBUG__
354 !endif
355 !if "$(DEBUG_FLAG)" == "1"
356 __DEBUG_DEFINE_p = /D__WXDEBUG__
357 !endif
358 !if "$(USE_EXCEPTIONS)" == "0"
359 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
360 !endif
361 !if "$(USE_RTTI)" == "0"
362 __RTTI_DEFINE_p = /DwxNO_RTTI
363 !endif
364 !if "$(USE_THREADS)" == "0"
365 __THREAD_DEFINE_p = /DwxNO_THREADS
366 !endif
367 !if "$(UNICODE)" == "0"
368 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
369 !endif
370 !if "$(UNICODE)" == "1"
371 __UNICODE_DEFINE_p = /D_UNICODE
372 !endif
373 !if "$(MSLU)" == "1"
374 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
375 !endif
376 !if "$(USE_GDIPLUS)" == "1"
377 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
378 !endif
379 !if "$(SHARED)" == "1"
380 __DLLFLAG_p = /DWXUSINGDLL
381 !endif
382 !if "$(MONOLITHIC)" == "0"
383 __WXLIB_BASE_p = \
384 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
385 !endif
386 !if "$(MONOLITHIC)" == "1"
387 __WXLIB_MONO_p = \
388 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
389 !endif
390 !if "$(MSLU)" == "1"
391 __UNICOWS_LIB_p = unicows.lib
392 !endif
393 !if "$(USE_GDIPLUS)" == "1"
394 __GDIPLUS_LIB_p = gdiplus.lib
395 !endif
396
397
398 all: $(OBJS)
399 $(OBJS):
400 -if not exist $(OBJS) mkdir $(OBJS)
401
402 ### Targets: ###
403
404 all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
405
406 clean:
407 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
408 -if exist $(OBJS)\*.res del $(OBJS)\*.res
409 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
410 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
411 -if exist $(OBJS)\test.ilk del $(OBJS)\test.ilk
412 -if exist $(OBJS)\test.pdb del $(OBJS)\test.pdb
413 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
414 -if exist $(OBJS)\test_gui.ilk del $(OBJS)\test_gui.ilk
415 -if exist $(OBJS)\test_gui.pdb del $(OBJS)\test_gui.pdb
416 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
417 -if exist $(OBJS)\printfbench.ilk del $(OBJS)\printfbench.ilk
418 -if exist $(OBJS)\printfbench.pdb del $(OBJS)\printfbench.pdb
419
420 $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS)
421 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /pdb:"$(OBJS)\test.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) @<<
422 $(TEST_OBJECTS) $(__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) $(__UNICOWS_LIB_p) $(__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
423 <<
424
425 !if "$(USE_GUI)" == "1"
426 $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
427 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /pdb:"$(OBJS)\test_gui.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(CPPUNIT_LIBS) /SUBSYSTEM:CONSOLE @<<
428 $(TEST_GUI_OBJECTS) $(__WXLIB_CORE_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) $(__UNICOWS_LIB_p) $(__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
429 <<
430 !endif
431
432 data:
433 if not exist $(OBJS) mkdir $(OBJS)
434 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
435
436 fr:
437 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
438 for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr
439
440 $(OBJS)\printfbench.exe: $(OBJS)\printfbench_dummy.obj $(PRINTFBENCH_OBJECTS)
441 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /pdb:"$(OBJS)\printfbench.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) @<<
442 $(PRINTFBENCH_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__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
443 <<
444
445 $(OBJS)\test_dummy.obj: .\dummy.cpp
446 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) /Yctestprec.h .\dummy.cpp
447
448 $(OBJS)\test_test.obj: .\test.cpp
449 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\test.cpp
450
451 $(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp
452 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp
453
454 $(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp
455 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp
456
457 $(OBJS)\test_tartest.obj: .\archive\tartest.cpp
458 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp
459
460 $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp
461 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp
462
463 $(OBJS)\test_base64.obj: .\base64\base64.cpp
464 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\base64\base64.cpp
465
466 $(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp
467 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\cmdline\cmdlinetest.cpp
468
469 $(OBJS)\test_fileconf.obj: .\config\fileconf.cpp
470 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp
471
472 $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp
473 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp
474
475 $(OBJS)\test_filekind.obj: .\filekind\filekind.cpp
476 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp
477
478 $(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp
479 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp
480
481 $(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp
482 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp
483
484 $(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp
485 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp
486
487 $(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp
488 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp
489
490 $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp
491 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp
492
493 $(OBJS)\test_intltest.obj: .\intl\intltest.cpp
494 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp
495
496 $(OBJS)\test_lists.obj: .\lists\lists.cpp
497 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\lists\lists.cpp
498
499 $(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp
500 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp
501
502 $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp
503 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp
504
505 $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp
506 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp
507
508 $(OBJS)\test_regextest.obj: .\regex\regextest.cpp
509 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp
510
511 $(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp
512 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp
513
514 $(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp
515 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp
516
517 $(OBJS)\test_iostream.obj: .\strings\iostream.cpp
518 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\iostream.cpp
519
520 $(OBJS)\test_strings.obj: .\strings\strings.cpp
521 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\strings.cpp
522
523 $(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp
524 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\stdstrings.cpp
525
526 $(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp
527 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\tokenizer.cpp
528
529 $(OBJS)\test_unichar.obj: .\strings\unichar.cpp
530 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\unichar.cpp
531
532 $(OBJS)\test_unicode.obj: .\strings\unicode.cpp
533 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\unicode.cpp
534
535 $(OBJS)\test_vararg.obj: .\strings\vararg.cpp
536 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\vararg.cpp
537
538 $(OBJS)\test_crt.obj: .\strings\crt.cpp
539 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\crt.cpp
540
541 $(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp
542 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\vsnprintf.cpp
543
544 $(OBJS)\test_bstream.obj: .\streams\bstream.cpp
545 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\bstream.cpp
546
547 $(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp
548 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\datastreamtest.cpp
549
550 $(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp
551 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\ffilestream.cpp
552
553 $(OBJS)\test_fileback.obj: .\streams\fileback.cpp
554 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\fileback.cpp
555
556 $(OBJS)\test_filestream.obj: .\streams\filestream.cpp
557 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\filestream.cpp
558
559 $(OBJS)\test_largefile.obj: .\streams\largefile.cpp
560 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\largefile.cpp
561
562 $(OBJS)\test_memstream.obj: .\streams\memstream.cpp
563 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\memstream.cpp
564
565 $(OBJS)\test_sstream.obj: .\streams\sstream.cpp
566 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\sstream.cpp
567
568 $(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp
569 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\tempfile.cpp
570
571 $(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp
572 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\textstreamtest.cpp
573
574 $(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp
575 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\zlibstream.cpp
576
577 $(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp
578 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\textfile\textfiletest.cpp
579
580 $(OBJS)\test_atomic.obj: .\thread\atomic.cpp
581 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\thread\atomic.cpp
582
583 $(OBJS)\test_queue.obj: .\thread\queue.cpp
584 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\thread\queue.cpp
585
586 $(OBJS)\test_uris.obj: .\uris\uris.cpp
587 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\uris\uris.cpp
588
589 $(OBJS)\test_vectors.obj: .\vectors\vectors.cpp
590 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\vectors\vectors.cpp
591
592 $(OBJS)\test_evtconnection.obj: .\weakref\evtconnection.cpp
593 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\weakref\evtconnection.cpp
594
595 $(OBJS)\test_weakref.obj: .\weakref\weakref.cpp
596 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\weakref\weakref.cpp
597
598 $(OBJS)\test_xlocale.obj: .\xlocale\xlocale.cpp
599 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\xlocale\xlocale.cpp
600
601 $(OBJS)\test_xmltest.obj: .\xml\xmltest.cpp
602 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\xml\xmltest.cpp
603
604 $(OBJS)\test_gui_dummy.obj: .\dummy.cpp
605 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) /Yctestprec.h .\dummy.cpp
606
607 $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc
608 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_17_p_1) $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) /i $(SETUPHDIR) /i .\..\include /i . $(__DLLFLAG_p_3) /i .\..\samples /d NOPCH /d _CONSOLE .\..\samples\sample.rc
609
610 $(OBJS)\test_gui_test.obj: .\test.cpp
611 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\test.cpp
612
613 $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp
614 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp
615
616 $(OBJS)\test_gui_size.obj: .\geometry\size.cpp
617 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp
618
619 $(OBJS)\test_gui_point.obj: .\geometry\point.cpp
620 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp
621
622 $(OBJS)\test_gui_config.obj: .\config\config.cpp
623 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp
624
625 $(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp
626 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp
627
628 $(OBJS)\test_gui_selstoretest.obj: .\misc\selstoretest.cpp
629 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\misc\selstoretest.cpp
630
631 $(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp
632 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp
633
634 $(OBJS)\test_gui_setsize.obj: .\window\setsize.cpp
635 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\window\setsize.cpp
636
637 $(OBJS)\printfbench_dummy.obj: .\dummy.cpp
638 $(CXX) /c /nologo /TP /Fo$@ $(PRINTFBENCH_CXXFLAGS) /Yctestprec.h .\dummy.cpp
639
640 $(OBJS)\printfbench_printfbench.obj: .\benchmarks\printfbench.cpp
641 $(CXX) /c /nologo /TP /Fo$@ $(PRINTFBENCH_CXXFLAGS) .\benchmarks\printfbench.cpp
642