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