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