]> git.saurik.com Git - wxWidgets.git/blame - tests/benchmarks/makefile.vc
Return NULL from wxWindow::GetCapture() when the capture is being lost.
[wxWidgets.git] / tests / benchmarks / makefile.vc
CommitLineData
a7ebaf0d
KO
1# =========================================================================\r
2# This makefile was generated by\r
00eef16d 3# Bakefile 0.2.9 (http://www.bakefile.org)\r
a7ebaf0d
KO
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7!include <../../build/msw/config.vc>\r
8\r
9# -------------------------------------------------------------------------\r
10# Do not modify the rest of this file!\r
11# -------------------------------------------------------------------------\r
12\r
13### Variables: ###\r
14\r
15WX_RELEASE_NODOT = 29\r
16COMPILER_PREFIX = vc\r
17OBJS = \\r
bed99c22 18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)\r
a7ebaf0d 19LIBDIRNAME = \\r
bed99c22 20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
a7ebaf0d
KO
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
bed99c22
VZ
23BENCH_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME) /DWIN32 \\r
24 $(__DEBUGINFO) /Fd$(OBJS)\bench.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \\r
25 /D_CRT_SECURE_NO_DEPRECATE=1 /D_CRT_NON_CONFORMING_SWPRINTFS=1 \\r
26 /D_SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p) /D__WXMSW__ \\r
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \\r
28 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \\r
29 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \\r
30 $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE \\r
31 /DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r
a7ebaf0d
KO
32BENCH_OBJECTS = \\r
33 $(OBJS)\bench_bench.obj \\r
bf0f3b26 34 $(OBJS)\bench_datetime.obj \\r
a7ebaf0d
KO
35 $(OBJS)\bench_htmlpars.obj \\r
36 $(OBJS)\bench_htmltag.obj \\r
37 $(OBJS)\bench_ipcclient.obj \\r
f7f7b59a 38 $(OBJS)\bench_log.obj \\r
a7ebaf0d
KO
39 $(OBJS)\bench_mbconv.obj \\r
40 $(OBJS)\bench_strings.obj \\r
41 $(OBJS)\bench_tls.obj \\r
42 $(OBJS)\bench_printfbench.obj\r
bed99c22
VZ
43BENCH_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS_26)$(__DEBUGRUNTIME) /DWIN32 \\r
44 $(__DEBUGINFO) /Fd$(OBJS)\bench_gui.pdb $(____DEBUGRUNTIME) \\r
45 $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \\r
46 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r
47 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \\r
48 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
49 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
50 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. \\r
51 $(__DLLFLAG_p) /I.\..\..\samples /DNOPCH /D_CONSOLE $(__RTTIFLAG) \\r
52 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r
53BENCH_GUI_OBJECTS = \\r
54 $(OBJS)\bench_gui_bench.obj \\r
55 $(OBJS)\bench_gui_image.obj\r
56BENCH_GUI_RESOURCES = \\r
57 $(OBJS)\bench_gui_sample.res\r
a7ebaf0d
KO
58\r
59### Conditionally set variables: ###\r
60\r
bed99c22
VZ
61!if "$(TARGET_CPU)" == "AMD64"\r
62ARCH_SUFFIX = _x64\r
63!endif\r
64!if "$(TARGET_CPU)" == "IA64"\r
65ARCH_SUFFIX = _ia64\r
66!endif\r
67!if "$(TARGET_CPU)" == "X64"\r
68ARCH_SUFFIX = _x64\r
69!endif\r
70!if "$(TARGET_CPU)" == "amd64"\r
71ARCH_SUFFIX = _x64\r
72!endif\r
73!if "$(TARGET_CPU)" == "ia64"\r
74ARCH_SUFFIX = _ia64\r
75!endif\r
76!if "$(TARGET_CPU)" == "x64"\r
77ARCH_SUFFIX = _x64\r
78!endif\r
a7ebaf0d
KO
79!if "$(USE_GUI)" == "0"\r
80PORTNAME = base\r
81!endif\r
82!if "$(USE_GUI)" == "1"\r
bed99c22
VZ
83PORTNAME = msw$(TOOLKIT_VERSION)\r
84!endif\r
85!if "$(OFFICIAL_BUILD)" == "1"\r
86COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD\r
22a3b6e4 87!endif\r
a7ebaf0d
KO
88!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
89WXDEBUGFLAG = d\r
90!endif\r
91!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
92WXDEBUGFLAG = d\r
93!endif\r
94!if "$(UNICODE)" == "1"\r
95WXUNICODEFLAG = u\r
96!endif\r
97!if "$(WXUNIV)" == "1"\r
98WXUNIVNAME = univ\r
99!endif\r
a7ebaf0d
KO
100!if "$(SHARED)" == "1"\r
101WXDLLFLAG = dll\r
102!endif\r
103!if "$(SHARED)" == "0"\r
104LIBTYPE_SUFFIX = lib\r
105!endif\r
106!if "$(SHARED)" == "1"\r
107LIBTYPE_SUFFIX = dll\r
108!endif\r
109!if "$(TARGET_CPU)" == "AMD64"\r
94b6ce7f 110LINK_TARGET_CPU = /MACHINE:X64\r
a7ebaf0d
KO
111!endif\r
112!if "$(TARGET_CPU)" == "IA64"\r
113LINK_TARGET_CPU = /MACHINE:IA64\r
114!endif\r
bed99c22
VZ
115!if "$(TARGET_CPU)" == "X64"\r
116LINK_TARGET_CPU = /MACHINE:X64\r
117!endif\r
a7ebaf0d 118!if "$(TARGET_CPU)" == "amd64"\r
94b6ce7f 119LINK_TARGET_CPU = /MACHINE:X64\r
a7ebaf0d
KO
120!endif\r
121!if "$(TARGET_CPU)" == "ia64"\r
122LINK_TARGET_CPU = /MACHINE:IA64\r
123!endif\r
bed99c22
VZ
124!if "$(TARGET_CPU)" == "x64"\r
125LINK_TARGET_CPU = /MACHINE:X64\r
126!endif\r
a7ebaf0d
KO
127!if "$(MONOLITHIC)" == "0"\r
128EXTRALIBS_FOR_BASE = \r
129!endif\r
130!if "$(MONOLITHIC)" == "1"\r
51ec29ea 131EXTRALIBS_FOR_BASE = \r
a7ebaf0d
KO
132!endif\r
133!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
bed99c22
VZ
134__DEBUGINFO_2 = $(__DEBUGRUNTIME_0)\r
135!endif\r
136!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
137__DEBUGINFO_2 = \r
138!endif\r
139!if "$(DEBUG_INFO)" == "0"\r
140__DEBUGINFO_2 = \r
141!endif\r
142!if "$(DEBUG_INFO)" == "1"\r
143__DEBUGINFO_2 = $(__DEBUGRUNTIME_0)\r
144!endif\r
145!if "$(RUNTIME_LIBS)" == "dynamic"\r
146__RUNTIME_LIBS_10 = D\r
147!endif\r
148!if "$(RUNTIME_LIBS)" == "static"\r
149__RUNTIME_LIBS_10 = $(__THREADSFLAG)\r
150!endif\r
151!if "$(MONOLITHIC)" == "0"\r
152__WXLIB_NET_p = \\r
153 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib\r
154!endif\r
155!if "$(MONOLITHIC)" == "1"\r
156__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r
157!endif\r
158!if "$(USE_GUI)" == "1"\r
159__bench_gui___depname = $(OBJS)\bench_gui.exe\r
160!endif\r
161!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
162__DEBUGINFO_18 = $(__DEBUGRUNTIME_0)\r
a7ebaf0d
KO
163!endif\r
164!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
bed99c22 165__DEBUGINFO_18 = \r
a7ebaf0d
KO
166!endif\r
167!if "$(DEBUG_INFO)" == "0"\r
bed99c22 168__DEBUGINFO_18 = \r
a7ebaf0d
KO
169!endif\r
170!if "$(DEBUG_INFO)" == "1"\r
bed99c22
VZ
171__DEBUGINFO_18 = $(__DEBUGRUNTIME_0)\r
172!endif\r
173!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
174____DEBUGRUNTIME_19_p_1 = /d _DEBUG\r
175!endif\r
176!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
177____DEBUGRUNTIME_19_p_1 = \r
178!endif\r
179!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
180____DEBUGRUNTIME_19_p_1 = \r
181!endif\r
182!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
183____DEBUGRUNTIME_19_p_1 = /d _DEBUG\r
184!endif\r
185!if "$(RUNTIME_LIBS)" == "dynamic"\r
186__RUNTIME_LIBS_26 = D\r
187!endif\r
188!if "$(RUNTIME_LIBS)" == "static"\r
189__RUNTIME_LIBS_26 = $(__THREADSFLAG)\r
190!endif\r
191!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
192__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__\r
193!endif\r
194!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
195__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__\r
196!endif\r
197!if "$(WXUNIV)" == "1"\r
198__WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__\r
199!endif\r
200!if "$(DEBUG_FLAG)" == "0"\r
201__DEBUG_DEFINE_p_3 = /d wxDEBUG_LEVEL=0\r
202!endif\r
203!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
204__NDEBUG_DEFINE_p_3 = /d NDEBUG\r
205!endif\r
206!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
207__NDEBUG_DEFINE_p_3 = /d NDEBUG\r
208!endif\r
209!if "$(USE_EXCEPTIONS)" == "0"\r
210__EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS\r
211!endif\r
212!if "$(USE_RTTI)" == "0"\r
213__RTTI_DEFINE_p_3 = /d wxNO_RTTI\r
214!endif\r
215!if "$(USE_THREADS)" == "0"\r
216__THREAD_DEFINE_p_3 = /d wxNO_THREADS\r
217!endif\r
218!if "$(UNICODE)" == "0"\r
219__UNICODE_DEFINE_p_3 = /d wxUSE_UNICODE=0\r
220!endif\r
221!if "$(UNICODE)" == "1"\r
222__UNICODE_DEFINE_p_3 = /d _UNICODE\r
223!endif\r
224!if "$(MSLU)" == "1"\r
225__MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1\r
226!endif\r
227!if "$(USE_CAIRO)" == "1"\r
228____CAIRO_INCLUDEDIR_FILENAMES_3_p = /i $(CAIRO_ROOT)\include\cairo\r
229!endif\r
230!if "$(SHARED)" == "1"\r
231__DLLFLAG_p_3 = /d WXUSINGDLL\r
232!endif\r
233!if "$(MONOLITHIC)" == "0"\r
234__WXLIB_CORE_p = \\r
235 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
236!endif\r
bd0f3ca6 237!if "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"
a4830bb5
VZ
238__LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib\r
239!endif\r
bed99c22
VZ
240!if "$(USE_GUI)" == "1"\r
241__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
242!endif\r
243!if "$(USE_GUI)" == "1"\r
244__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
a7ebaf0d
KO
245!endif\r
246!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
bed99c22 247__DEBUGINFO = /Zi\r
a7ebaf0d
KO
248!endif\r
249!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
bed99c22 250__DEBUGINFO = \r
a7ebaf0d
KO
251!endif\r
252!if "$(DEBUG_INFO)" == "0"\r
bed99c22 253__DEBUGINFO = \r
a7ebaf0d
KO
254!endif\r
255!if "$(DEBUG_INFO)" == "1"\r
bed99c22 256__DEBUGINFO = /Zi\r
a7ebaf0d
KO
257!endif\r
258!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
bed99c22 259__DEBUGINFO_1 = /DEBUG\r
a7ebaf0d
KO
260!endif\r
261!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
bed99c22 262__DEBUGINFO_1 = \r
a7ebaf0d
KO
263!endif\r
264!if "$(DEBUG_INFO)" == "0"\r
bed99c22 265__DEBUGINFO_1 = \r
a7ebaf0d
KO
266!endif\r
267!if "$(DEBUG_INFO)" == "1"\r
bed99c22 268__DEBUGINFO_1 = /DEBUG\r
a7ebaf0d
KO
269!endif\r
270!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
bed99c22 271____DEBUGRUNTIME = /D_DEBUG\r
a7ebaf0d
KO
272!endif\r
273!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
bed99c22 274____DEBUGRUNTIME = \r
a7ebaf0d
KO
275!endif\r
276!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
bed99c22 277____DEBUGRUNTIME = \r
a7ebaf0d
KO
278!endif\r
279!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
bed99c22 280____DEBUGRUNTIME = /D_DEBUG\r
a7ebaf0d
KO
281!endif\r
282!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
bed99c22 283__DEBUGRUNTIME = d\r
a7ebaf0d
KO
284!endif\r
285!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
bed99c22 286__DEBUGRUNTIME = \r
a7ebaf0d
KO
287!endif\r
288!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
bed99c22 289__DEBUGRUNTIME = \r
a7ebaf0d
KO
290!endif\r
291!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
bed99c22 292__DEBUGRUNTIME = d\r
a7ebaf0d
KO
293!endif\r
294!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
bed99c22 295__DEBUGRUNTIME_0 = \r
a7ebaf0d
KO
296!endif\r
297!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
bed99c22 298__DEBUGRUNTIME_0 = /opt:ref /opt:icf\r
a7ebaf0d
KO
299!endif\r
300!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
bed99c22 301__DEBUGRUNTIME_0 = /opt:ref /opt:icf\r
a7ebaf0d
KO
302!endif\r
303!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
bed99c22 304__DEBUGRUNTIME_0 = \r
a7ebaf0d
KO
305!endif\r
306!if "$(BUILD)" == "debug"\r
bed99c22 307__OPTIMIZEFLAG = /Od\r
a7ebaf0d
KO
308!endif\r
309!if "$(BUILD)" == "release"\r
bed99c22 310__OPTIMIZEFLAG = /O2\r
a7ebaf0d
KO
311!endif\r
312!if "$(USE_THREADS)" == "0"\r
bed99c22 313__THREADSFLAG = L\r
a7ebaf0d
KO
314!endif\r
315!if "$(USE_THREADS)" == "1"\r
bed99c22 316__THREADSFLAG = T\r
a7ebaf0d
KO
317!endif\r
318!if "$(USE_RTTI)" == "0"\r
bed99c22 319__RTTIFLAG = \r
a7ebaf0d
KO
320!endif\r
321!if "$(USE_RTTI)" == "1"\r
bed99c22 322__RTTIFLAG = /GR\r
a7ebaf0d
KO
323!endif\r
324!if "$(USE_EXCEPTIONS)" == "0"\r
bed99c22 325__EXCEPTIONSFLAG = \r
a7ebaf0d
KO
326!endif\r
327!if "$(USE_EXCEPTIONS)" == "1"\r
bed99c22 328__EXCEPTIONSFLAG = /EHsc\r
a7ebaf0d
KO
329!endif\r
330!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
331__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
332!endif\r
333!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
334__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
335!endif\r
336!if "$(WXUNIV)" == "1"\r
337__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r
338!endif\r
339!if "$(DEBUG_FLAG)" == "0"\r
340__DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r
341!endif\r
da8b1d4b
KO
342!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
343__NDEBUG_DEFINE_p = /DNDEBUG\r
344!endif\r
345!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
346__NDEBUG_DEFINE_p = /DNDEBUG\r
347!endif\r
a7ebaf0d
KO
348!if "$(USE_EXCEPTIONS)" == "0"\r
349__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r
350!endif\r
351!if "$(USE_RTTI)" == "0"\r
352__RTTI_DEFINE_p = /DwxNO_RTTI\r
353!endif\r
354!if "$(USE_THREADS)" == "0"\r
355__THREAD_DEFINE_p = /DwxNO_THREADS\r
356!endif\r
357!if "$(UNICODE)" == "0"\r
358__UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r
359!endif\r
360!if "$(UNICODE)" == "1"\r
361__UNICODE_DEFINE_p = /D_UNICODE\r
362!endif\r
363!if "$(MSLU)" == "1"\r
364__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r
365!endif\r
f82b7036 366!if "$(USE_CAIRO)" == "1"\r
bed99c22 367____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo\r
f82b7036 368!endif\r
a7ebaf0d
KO
369!if "$(SHARED)" == "1"\r
370__DLLFLAG_p = /DWXUSINGDLL\r
371!endif\r
372!if "$(MONOLITHIC)" == "0"\r
a7ebaf0d 373__WXLIB_BASE_p = \\r
bed99c22 374 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
a7ebaf0d
KO
375!endif\r
376!if "$(MONOLITHIC)" == "1"\r
377__WXLIB_MONO_p = \\r
378 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
379!endif\r
57c74474
VZ
380!if "$(USE_GUI)" == "1"\r
381__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
382!endif\r
a7ebaf0d
KO
383!if "$(MSLU)" == "1"\r
384__UNICOWS_LIB_p = unicows.lib\r
385!endif\r
f82b7036
KO
386!if "$(USE_CAIRO)" == "1"\r
387__CAIRO_LIB_p = cairo.lib\r
388!endif\r
389!if "$(USE_CAIRO)" == "1"\r
bed99c22 390____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib\r
f82b7036 391!endif\r
a7ebaf0d
KO
392\r
393\r
394all: $(OBJS)\r
395$(OBJS):\r
396 -if not exist $(OBJS) mkdir $(OBJS)\r
397\r
398### Targets: ###\r
399\r
bed99c22 400all: $(OBJS)\bench.exe data $(__bench_gui___depname) data-image\r
a7ebaf0d
KO
401\r
402clean: \r
403 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
404 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
405 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
406 -if exist $(OBJS)\bench.exe del $(OBJS)\bench.exe\r
407 -if exist $(OBJS)\bench.ilk del $(OBJS)\bench.ilk\r
408 -if exist $(OBJS)\bench.pdb del $(OBJS)\bench.pdb\r
bed99c22
VZ
409 -if exist $(OBJS)\bench_gui.exe del $(OBJS)\bench_gui.exe\r
410 -if exist $(OBJS)\bench_gui.ilk del $(OBJS)\bench_gui.ilk\r
411 -if exist $(OBJS)\bench_gui.pdb del $(OBJS)\bench_gui.pdb\r
a7ebaf0d
KO
412\r
413$(OBJS)\bench.exe: $(BENCH_OBJECTS)\r
bed99c22 414 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\bench.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r
57c74474 415 $(BENCH_OBJECTS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib\r
a7ebaf0d
KO
416<<\r
417\r
418data: \r
419 if not exist $(OBJS) mkdir $(OBJS)\r
420 for %f in (htmltest.html) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r
421\r
bed99c22
VZ
422!if "$(USE_GUI)" == "1"\r
423$(OBJS)\bench_gui.exe: $(BENCH_GUI_OBJECTS) $(OBJS)\bench_gui_sample.res\r
424 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\bench_gui.pdb" $(__DEBUGINFO_18) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r
a4830bb5 425 $(BENCH_GUI_OBJECTS) $(BENCH_GUI_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib\r
bed99c22
VZ
426<<\r
427!endif\r
428\r
429data-image: \r
430 if not exist $(OBJS) mkdir $(OBJS)\r
431 for %f in (../../samples/image/horse.bmp ../../samples/image/horse.jpg ../../samples/image/horse.png ../../samples/image/horse.tif) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r
432\r
a7ebaf0d
KO
433$(OBJS)\bench_bench.obj: .\bench.cpp\r
434 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\bench.cpp\r
435\r
bf0f3b26
VZ
436$(OBJS)\bench_datetime.obj: .\datetime.cpp\r
437 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\datetime.cpp\r
438\r
a7ebaf0d
KO
439$(OBJS)\bench_htmlpars.obj: .\htmlparser\htmlpars.cpp\r
440 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\htmlparser\htmlpars.cpp\r
441\r
442$(OBJS)\bench_htmltag.obj: .\htmlparser\htmltag.cpp\r
443 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\htmlparser\htmltag.cpp\r
444\r
445$(OBJS)\bench_ipcclient.obj: .\ipcclient.cpp\r
446 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\ipcclient.cpp\r
447\r
f7f7b59a
VZ
448$(OBJS)\bench_log.obj: .\log.cpp\r
449 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\log.cpp\r
450\r
a7ebaf0d
KO
451$(OBJS)\bench_mbconv.obj: .\mbconv.cpp\r
452 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\mbconv.cpp\r
453\r
454$(OBJS)\bench_strings.obj: .\strings.cpp\r
455 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\strings.cpp\r
456\r
457$(OBJS)\bench_tls.obj: .\tls.cpp\r
458 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\tls.cpp\r
459\r
460$(OBJS)\bench_printfbench.obj: .\printfbench.cpp\r
461 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\printfbench.cpp\r
462\r
bed99c22
VZ
463$(OBJS)\bench_gui_sample.res: .\..\..\samples\sample.rc\r
464 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_19_p_1) /d _CRT_SECURE_NO_DEPRECATE=1 /d _CRT_NON_CONFORMING_SWPRINTFS=1 /d _SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__NDEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_3_p) /i . $(__DLLFLAG_p_3) /i .\..\..\samples /d NOPCH /d _CONSOLE .\..\..\samples\sample.rc\r
465\r
466$(OBJS)\bench_gui_bench.obj: .\bench.cpp\r
467 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_GUI_CXXFLAGS) .\bench.cpp\r
468\r
469$(OBJS)\bench_gui_image.obj: .\image.cpp\r
470 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_GUI_CXXFLAGS) .\image.cpp\r
471\r