]> git.saurik.com Git - wxWidgets.git/blame_incremental - tests/benchmarks/makefile.vc
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / tests / benchmarks / makefile.vc
... / ...
CommitLineData
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.9 (http://www.bakefile.org)\r
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 = 30\r
16COMPILER_PREFIX = vc\r
17OBJS = \\r
18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)\r
19LIBDIRNAME = \\r
20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
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
32BENCH_OBJECTS = \\r
33 $(OBJS)\bench_bench.obj \\r
34 $(OBJS)\bench_datetime.obj \\r
35 $(OBJS)\bench_htmlpars.obj \\r
36 $(OBJS)\bench_htmltag.obj \\r
37 $(OBJS)\bench_ipcclient.obj \\r
38 $(OBJS)\bench_log.obj \\r
39 $(OBJS)\bench_mbconv.obj \\r
40 $(OBJS)\bench_strings.obj \\r
41 $(OBJS)\bench_tls.obj \\r
42 $(OBJS)\bench_printfbench.obj\r
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
58\r
59### Conditionally set variables: ###\r
60\r
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
79!if "$(USE_GUI)" == "0"\r
80PORTNAME = base\r
81!endif\r
82!if "$(USE_GUI)" == "1"\r
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
87!endif\r
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
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
110LINK_TARGET_CPU = /MACHINE:X64\r
111!endif\r
112!if "$(TARGET_CPU)" == "IA64"\r
113LINK_TARGET_CPU = /MACHINE:IA64\r
114!endif\r
115!if "$(TARGET_CPU)" == "X64"\r
116LINK_TARGET_CPU = /MACHINE:X64\r
117!endif\r
118!if "$(TARGET_CPU)" == "amd64"\r
119LINK_TARGET_CPU = /MACHINE:X64\r
120!endif\r
121!if "$(TARGET_CPU)" == "ia64"\r
122LINK_TARGET_CPU = /MACHINE:IA64\r
123!endif\r
124!if "$(TARGET_CPU)" == "x64"\r
125LINK_TARGET_CPU = /MACHINE:X64\r
126!endif\r
127!if "$(MONOLITHIC)" == "0"\r
128EXTRALIBS_FOR_BASE = \r
129!endif\r
130!if "$(MONOLITHIC)" == "1"\r
131EXTRALIBS_FOR_BASE = \r
132!endif\r
133!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
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
163!endif\r
164!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
165__DEBUGINFO_18 = \r
166!endif\r
167!if "$(DEBUG_INFO)" == "0"\r
168__DEBUGINFO_18 = \r
169!endif\r
170!if "$(DEBUG_INFO)" == "1"\r
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
237!if "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"\r
238__LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib\r
239!endif\r
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
245!endif\r
246!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
247__DEBUGINFO = /Zi\r
248!endif\r
249!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
250__DEBUGINFO = \r
251!endif\r
252!if "$(DEBUG_INFO)" == "0"\r
253__DEBUGINFO = \r
254!endif\r
255!if "$(DEBUG_INFO)" == "1"\r
256__DEBUGINFO = /Zi\r
257!endif\r
258!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
259__DEBUGINFO_1 = /DEBUG\r
260!endif\r
261!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
262__DEBUGINFO_1 = \r
263!endif\r
264!if "$(DEBUG_INFO)" == "0"\r
265__DEBUGINFO_1 = \r
266!endif\r
267!if "$(DEBUG_INFO)" == "1"\r
268__DEBUGINFO_1 = /DEBUG\r
269!endif\r
270!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
271____DEBUGRUNTIME = /D_DEBUG\r
272!endif\r
273!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
274____DEBUGRUNTIME = \r
275!endif\r
276!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
277____DEBUGRUNTIME = \r
278!endif\r
279!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
280____DEBUGRUNTIME = /D_DEBUG\r
281!endif\r
282!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
283__DEBUGRUNTIME = d\r
284!endif\r
285!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
286__DEBUGRUNTIME = \r
287!endif\r
288!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
289__DEBUGRUNTIME = \r
290!endif\r
291!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
292__DEBUGRUNTIME = d\r
293!endif\r
294!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
295__DEBUGRUNTIME_0 = \r
296!endif\r
297!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
298__DEBUGRUNTIME_0 = /opt:ref /opt:icf\r
299!endif\r
300!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
301__DEBUGRUNTIME_0 = /opt:ref /opt:icf\r
302!endif\r
303!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
304__DEBUGRUNTIME_0 = \r
305!endif\r
306!if "$(BUILD)" == "debug"\r
307__OPTIMIZEFLAG = /Od\r
308!endif\r
309!if "$(BUILD)" == "release"\r
310__OPTIMIZEFLAG = /O2\r
311!endif\r
312!if "$(USE_THREADS)" == "0"\r
313__THREADSFLAG = L\r
314!endif\r
315!if "$(USE_THREADS)" == "1"\r
316__THREADSFLAG = T\r
317!endif\r
318!if "$(USE_RTTI)" == "0"\r
319__RTTIFLAG = \r
320!endif\r
321!if "$(USE_RTTI)" == "1"\r
322__RTTIFLAG = /GR\r
323!endif\r
324!if "$(USE_EXCEPTIONS)" == "0"\r
325__EXCEPTIONSFLAG = \r
326!endif\r
327!if "$(USE_EXCEPTIONS)" == "1"\r
328__EXCEPTIONSFLAG = /EHsc\r
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
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
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
366!if "$(USE_CAIRO)" == "1"\r
367____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo\r
368!endif\r
369!if "$(SHARED)" == "1"\r
370__DLLFLAG_p = /DWXUSINGDLL\r
371!endif\r
372!if "$(MONOLITHIC)" == "0"\r
373__WXLIB_BASE_p = \\r
374 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
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
380!if "$(USE_GUI)" == "1"\r
381__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
382!endif\r
383!if "$(MSLU)" == "1"\r
384__UNICOWS_LIB_p = unicows.lib\r
385!endif\r
386!if "$(USE_CAIRO)" == "1"\r
387__CAIRO_LIB_p = cairo.lib\r
388!endif\r
389!if "$(USE_CAIRO)" == "1"\r
390____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib\r
391!endif\r
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
400all: $(OBJS)\bench.exe data $(__bench_gui___depname) data-image\r
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
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
412\r
413$(OBJS)\bench.exe: $(BENCH_OBJECTS)\r
414 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\bench.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r
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
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
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
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
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
433$(OBJS)\bench_bench.obj: .\bench.cpp\r
434 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\bench.cpp\r
435\r
436$(OBJS)\bench_datetime.obj: .\datetime.cpp\r
437 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\datetime.cpp\r
438\r
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
448$(OBJS)\bench_log.obj: .\log.cpp\r
449 $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\log.cpp\r
450\r
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
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