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