]>
Commit | Line | Data |
---|---|---|
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 | |
15 | WX_RELEASE_NODOT = 29\r | |
16 | COMPILER_PREFIX = vc\r | |
17 | OBJS = \\r | |
14b682f7 | 18 | $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX) |
a7ebaf0d | 19 | LIBDIRNAME = \\r |
14b682f7 | 20 | .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG) |
a7ebaf0d KO |
21 | SETUPHDIR = \\r |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | BENCH_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \\r | |
24 | $(__DEBUGINFO_0) /Fd$(OBJS)\bench.pdb $(____DEBUGRUNTIME_3_p) \\r | |
49a63afb VZ |
25 | $(__OPTIMIZEFLAG_6) /D_CRT_SECURE_NO_DEPRECATE=1 \\r |
26 | /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r | |
27 | $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \\r | |
28 | $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r | |
29 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r | |
30 | /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. \\r | |
31 | $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 $(__RTTIFLAG_11) \\r | |
32 | $(__EXCEPTIONSFLAG_12) $(CPPFLAGS) $(CXXFLAGS)\r | |
a7ebaf0d KO |
33 | BENCH_OBJECTS = \\r |
34 | $(OBJS)\bench_bench.obj \\r | |
bf0f3b26 | 35 | $(OBJS)\bench_datetime.obj \\r |
a7ebaf0d KO |
36 | $(OBJS)\bench_htmlpars.obj \\r |
37 | $(OBJS)\bench_htmltag.obj \\r | |
38 | $(OBJS)\bench_ipcclient.obj \\r | |
f7f7b59a | 39 | $(OBJS)\bench_log.obj \\r |
a7ebaf0d KO |
40 | $(OBJS)\bench_mbconv.obj \\r |
41 | $(OBJS)\bench_strings.obj \\r | |
42 | $(OBJS)\bench_tls.obj \\r | |
43 | $(OBJS)\bench_printfbench.obj\r | |
44 | \r | |
45 | ### Conditionally set variables: ###\r | |
46 | \r | |
14b682f7 VZ |
47 | !if "$(TARGET_CPU)" == "AMD64" |
48 | ARCH_SUFFIX = _x64 | |
49 | !endif | |
50 | !if "$(TARGET_CPU)" == "IA64" | |
51 | ARCH_SUFFIX = _ia64 | |
52 | !endif | |
53 | !if "$(TARGET_CPU)" == "X64" | |
54 | ARCH_SUFFIX = _x64 | |
55 | !endif | |
56 | !if "$(TARGET_CPU)" == "amd64" | |
57 | ARCH_SUFFIX = _x64 | |
58 | !endif | |
59 | !if "$(TARGET_CPU)" == "ia64" | |
60 | ARCH_SUFFIX = _ia64 | |
61 | !endif | |
62 | !if "$(TARGET_CPU)" == "x64" | |
63 | ARCH_SUFFIX = _x64 | |
64 | !endif | |
a7ebaf0d KO |
65 | !if "$(USE_GUI)" == "0"\r |
66 | PORTNAME = base\r | |
67 | !endif\r | |
68 | !if "$(USE_GUI)" == "1"\r | |
69 | PORTNAME = msw\r | |
70 | !endif\r | |
14b682f7 VZ |
71 | !if "$(OFFICIAL_BUILD)" == "1" |
72 | COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD | |
73 | !endif | |
a7ebaf0d KO |
74 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
75 | WXDEBUGFLAG = d\r | |
76 | !endif\r | |
77 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
78 | WXDEBUGFLAG = d\r | |
79 | !endif\r | |
80 | !if "$(UNICODE)" == "1"\r | |
81 | WXUNICODEFLAG = u\r | |
82 | !endif\r | |
83 | !if "$(WXUNIV)" == "1"\r | |
84 | WXUNIVNAME = univ\r | |
85 | !endif\r | |
a7ebaf0d KO |
86 | !if "$(SHARED)" == "1"\r |
87 | WXDLLFLAG = dll\r | |
88 | !endif\r | |
89 | !if "$(SHARED)" == "0"\r | |
90 | LIBTYPE_SUFFIX = lib\r | |
91 | !endif\r | |
92 | !if "$(SHARED)" == "1"\r | |
93 | LIBTYPE_SUFFIX = dll\r | |
94 | !endif\r | |
95 | !if "$(TARGET_CPU)" == "AMD64"\r | |
94b6ce7f | 96 | LINK_TARGET_CPU = /MACHINE:X64\r |
a7ebaf0d KO |
97 | !endif\r |
98 | !if "$(TARGET_CPU)" == "IA64"\r | |
99 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
100 | !endif\r | |
14b682f7 VZ |
101 | !if "$(TARGET_CPU)" == "X64" |
102 | LINK_TARGET_CPU = /MACHINE:X64 | |
103 | !endif | |
a7ebaf0d | 104 | !if "$(TARGET_CPU)" == "amd64"\r |
94b6ce7f | 105 | LINK_TARGET_CPU = /MACHINE:X64\r |
a7ebaf0d KO |
106 | !endif\r |
107 | !if "$(TARGET_CPU)" == "ia64"\r | |
108 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
109 | !endif\r | |
14b682f7 VZ |
110 | !if "$(TARGET_CPU)" == "x64" |
111 | LINK_TARGET_CPU = /MACHINE:X64 | |
112 | !endif | |
a7ebaf0d KO |
113 | !if "$(MONOLITHIC)" == "0"\r |
114 | EXTRALIBS_FOR_BASE = \r | |
115 | !endif\r | |
116 | !if "$(MONOLITHIC)" == "1"\r | |
51ec29ea | 117 | EXTRALIBS_FOR_BASE = \r |
a7ebaf0d KO |
118 | !endif\r |
119 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
120 | __DEBUGINFO_0 = /Zi\r | |
121 | !endif\r | |
122 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
123 | __DEBUGINFO_0 = \r | |
124 | !endif\r | |
125 | !if "$(DEBUG_INFO)" == "0"\r | |
126 | __DEBUGINFO_0 = \r | |
127 | !endif\r | |
128 | !if "$(DEBUG_INFO)" == "1"\r | |
129 | __DEBUGINFO_0 = /Zi\r | |
130 | !endif\r | |
131 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
132 | __DEBUGINFO_1 = /DEBUG\r | |
133 | !endif\r | |
134 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
135 | __DEBUGINFO_1 = \r | |
136 | !endif\r | |
137 | !if "$(DEBUG_INFO)" == "0"\r | |
138 | __DEBUGINFO_1 = \r | |
139 | !endif\r | |
140 | !if "$(DEBUG_INFO)" == "1"\r | |
141 | __DEBUGINFO_1 = /DEBUG\r | |
142 | !endif\r | |
143 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
144 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r | |
145 | !endif\r | |
146 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
147 | __DEBUGINFO_2 = \r | |
148 | !endif\r | |
149 | !if "$(DEBUG_INFO)" == "0"\r | |
150 | __DEBUGINFO_2 = \r | |
151 | !endif\r | |
152 | !if "$(DEBUG_INFO)" == "1"\r | |
153 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r | |
154 | !endif\r | |
155 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
156 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r | |
157 | !endif\r | |
158 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
159 | ____DEBUGRUNTIME_3_p = \r | |
160 | !endif\r | |
161 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
162 | ____DEBUGRUNTIME_3_p = \r | |
163 | !endif\r | |
164 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
165 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r | |
166 | !endif\r | |
167 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
168 | __DEBUGRUNTIME_4 = d\r | |
169 | !endif\r | |
170 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
171 | __DEBUGRUNTIME_4 = \r | |
172 | !endif\r | |
173 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
174 | __DEBUGRUNTIME_4 = \r | |
175 | !endif\r | |
176 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
177 | __DEBUGRUNTIME_4 = d\r | |
178 | !endif\r | |
179 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
180 | __DEBUGRUNTIME_5 = \r | |
181 | !endif\r | |
182 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
183 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r | |
184 | !endif\r | |
185 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
186 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r | |
187 | !endif\r | |
188 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
189 | __DEBUGRUNTIME_5 = \r | |
190 | !endif\r | |
191 | !if "$(BUILD)" == "debug"\r | |
192 | __OPTIMIZEFLAG_6 = /Od\r | |
193 | !endif\r | |
194 | !if "$(BUILD)" == "release"\r | |
195 | __OPTIMIZEFLAG_6 = /O2\r | |
196 | !endif\r | |
197 | !if "$(USE_THREADS)" == "0"\r | |
198 | __THREADSFLAG_9 = L\r | |
199 | !endif\r | |
200 | !if "$(USE_THREADS)" == "1"\r | |
201 | __THREADSFLAG_9 = T\r | |
202 | !endif\r | |
203 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
204 | __RUNTIME_LIBS_10 = D\r | |
205 | !endif\r | |
206 | !if "$(RUNTIME_LIBS)" == "static"\r | |
207 | __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)\r | |
208 | !endif\r | |
209 | !if "$(USE_RTTI)" == "0"\r | |
210 | __RTTIFLAG_11 = \r | |
211 | !endif\r | |
212 | !if "$(USE_RTTI)" == "1"\r | |
213 | __RTTIFLAG_11 = /GR\r | |
214 | !endif\r | |
215 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
216 | __EXCEPTIONSFLAG_12 = \r | |
217 | !endif\r | |
218 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
219 | __EXCEPTIONSFLAG_12 = /EHsc\r | |
220 | !endif\r | |
221 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
222 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
223 | !endif\r | |
224 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
225 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
226 | !endif\r | |
227 | !if "$(WXUNIV)" == "1"\r | |
228 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
229 | !endif\r | |
230 | !if "$(DEBUG_FLAG)" == "0"\r | |
231 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
232 | !endif\r | |
da8b1d4b KO |
233 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
234 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
235 | !endif\r | |
236 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
237 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
238 | !endif\r | |
a7ebaf0d KO |
239 | !if "$(USE_EXCEPTIONS)" == "0"\r |
240 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
241 | !endif\r | |
242 | !if "$(USE_RTTI)" == "0"\r | |
243 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
244 | !endif\r | |
245 | !if "$(USE_THREADS)" == "0"\r | |
246 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
247 | !endif\r | |
248 | !if "$(UNICODE)" == "0"\r | |
249 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
250 | !endif\r | |
251 | !if "$(UNICODE)" == "1"\r | |
252 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
253 | !endif\r | |
254 | !if "$(MSLU)" == "1"\r | |
255 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
256 | !endif\r | |
f82b7036 KO |
257 | !if "$(USE_CAIRO)" == "1"\r |
258 | ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo\r | |
259 | !endif\r | |
a7ebaf0d KO |
260 | !if "$(SHARED)" == "1"\r |
261 | __DLLFLAG_p = /DWXUSINGDLL\r | |
262 | !endif\r | |
263 | !if "$(MONOLITHIC)" == "0"\r | |
264 | __WXLIB_NET_p = \\r | |
265 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib\r | |
266 | !endif\r | |
267 | !if "$(MONOLITHIC)" == "0"\r | |
268 | __WXLIB_BASE_p = \\r | |
269 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
270 | !endif\r | |
271 | !if "$(MONOLITHIC)" == "1"\r | |
272 | __WXLIB_MONO_p = \\r | |
273 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
274 | !endif\r | |
57c74474 VZ |
275 | !if "$(MONOLITHIC)" == "1"\r |
276 | __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r | |
277 | !endif\r | |
278 | !if "$(USE_GUI)" == "1"\r | |
279 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
280 | !endif\r | |
a7ebaf0d KO |
281 | !if "$(MSLU)" == "1"\r |
282 | __UNICOWS_LIB_p = unicows.lib\r | |
283 | !endif\r | |
f82b7036 KO |
284 | !if "$(USE_CAIRO)" == "1"\r |
285 | __CAIRO_LIB_p = cairo.lib\r | |
286 | !endif\r | |
287 | !if "$(USE_CAIRO)" == "1"\r | |
288 | ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib\r | |
289 | !endif\r | |
a7ebaf0d KO |
290 | \r |
291 | \r | |
292 | all: $(OBJS)\r | |
293 | $(OBJS):\r | |
294 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
295 | \r | |
296 | ### Targets: ###\r | |
297 | \r | |
298 | all: $(OBJS)\bench.exe data\r | |
299 | \r | |
300 | clean: \r | |
301 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
302 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
303 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
304 | -if exist $(OBJS)\bench.exe del $(OBJS)\bench.exe\r | |
305 | -if exist $(OBJS)\bench.ilk del $(OBJS)\bench.ilk\r | |
306 | -if exist $(OBJS)\bench.pdb del $(OBJS)\bench.pdb\r | |
307 | \r | |
308 | $(OBJS)\bench.exe: $(BENCH_OBJECTS)\r | |
f82b7036 | 309 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\bench.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<\r |
57c74474 | 310 | $(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 |
311 | <<\r |
312 | \r | |
313 | data: \r | |
314 | if not exist $(OBJS) mkdir $(OBJS)\r | |
315 | for %f in (htmltest.html) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r | |
316 | \r | |
317 | $(OBJS)\bench_bench.obj: .\bench.cpp\r | |
318 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\bench.cpp\r | |
319 | \r | |
bf0f3b26 VZ |
320 | $(OBJS)\bench_datetime.obj: .\datetime.cpp\r |
321 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\datetime.cpp\r | |
322 | \r | |
a7ebaf0d KO |
323 | $(OBJS)\bench_htmlpars.obj: .\htmlparser\htmlpars.cpp\r |
324 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\htmlparser\htmlpars.cpp\r | |
325 | \r | |
326 | $(OBJS)\bench_htmltag.obj: .\htmlparser\htmltag.cpp\r | |
327 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\htmlparser\htmltag.cpp\r | |
328 | \r | |
329 | $(OBJS)\bench_ipcclient.obj: .\ipcclient.cpp\r | |
330 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\ipcclient.cpp\r | |
331 | \r | |
f7f7b59a VZ |
332 | $(OBJS)\bench_log.obj: .\log.cpp\r |
333 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\log.cpp\r | |
334 | \r | |
a7ebaf0d KO |
335 | $(OBJS)\bench_mbconv.obj: .\mbconv.cpp\r |
336 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\mbconv.cpp\r | |
337 | \r | |
338 | $(OBJS)\bench_strings.obj: .\strings.cpp\r | |
339 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\strings.cpp\r | |
340 | \r | |
341 | $(OBJS)\bench_tls.obj: .\tls.cpp\r | |
342 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\tls.cpp\r | |
343 | \r | |
344 | $(OBJS)\bench_printfbench.obj: .\printfbench.cpp\r | |
345 | $(CXX) /c /nologo /TP /Fo$@ $(BENCH_CXXFLAGS) .\printfbench.cpp\r | |
346 | \r |