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