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