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