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