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