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