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