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