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