]>
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 | |
7b363ab6 VZ |
23 | BENCH_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 |
32 | BENCH_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 |
43 | BENCH_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) | |
53 | BENCH_GUI_OBJECTS = \ | |
54 | $(OBJS)\bench_gui_bench.obj \ | |
55 | $(OBJS)\bench_gui_image.obj | |
56 | BENCH_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" |
62 | WIN32_TOOLKIT_LOWERCASE = gtk | |
63 | !endif | |
64 | !if "$(TOOLKIT)" == "MSW" | |
65 | WIN32_TOOLKIT_LOWERCASE = msw | |
66 | !endif | |
14b682f7 VZ |
67 | !if "$(TARGET_CPU)" == "AMD64" |
68 | ARCH_SUFFIX = _x64 | |
69 | !endif | |
70 | !if "$(TARGET_CPU)" == "IA64" | |
71 | ARCH_SUFFIX = _ia64 | |
72 | !endif | |
73 | !if "$(TARGET_CPU)" == "X64" | |
74 | ARCH_SUFFIX = _x64 | |
75 | !endif | |
76 | !if "$(TARGET_CPU)" == "amd64" | |
77 | ARCH_SUFFIX = _x64 | |
78 | !endif | |
79 | !if "$(TARGET_CPU)" == "ia64" | |
80 | ARCH_SUFFIX = _ia64 | |
81 | !endif | |
82 | !if "$(TARGET_CPU)" == "x64" | |
83 | ARCH_SUFFIX = _x64 | |
84 | !endif | |
a7ebaf0d KO |
85 | !if "$(USE_GUI)" == "0"\r |
86 | PORTNAME = base\r | |
87 | !endif\r | |
88 | !if "$(USE_GUI)" == "1"\r | |
22a3b6e4 VZ |
89 | PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) |
90 | !endif | |
91 | !if "$(TOOLKIT)" == "MAC" | |
92 | WXBASEPORT = _carbon | |
93 | !endif | |
14b682f7 VZ |
94 | !if "$(OFFICIAL_BUILD)" == "1" |
95 | COMPILER_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 |
98 | WXDEBUGFLAG = d\r | |
99 | !endif\r | |
100 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
101 | WXDEBUGFLAG = d\r | |
102 | !endif\r | |
103 | !if "$(UNICODE)" == "1"\r | |
104 | WXUNICODEFLAG = u\r | |
105 | !endif\r | |
106 | !if "$(WXUNIV)" == "1"\r | |
107 | WXUNIVNAME = univ\r | |
108 | !endif\r | |
a7ebaf0d KO |
109 | !if "$(SHARED)" == "1"\r |
110 | WXDLLFLAG = dll\r | |
111 | !endif\r | |
112 | !if "$(SHARED)" == "0"\r | |
113 | LIBTYPE_SUFFIX = lib\r | |
114 | !endif\r | |
115 | !if "$(SHARED)" == "1"\r | |
116 | LIBTYPE_SUFFIX = dll\r | |
117 | !endif\r | |
118 | !if "$(TARGET_CPU)" == "AMD64"\r | |
94b6ce7f | 119 | LINK_TARGET_CPU = /MACHINE:X64\r |
a7ebaf0d KO |
120 | !endif\r |
121 | !if "$(TARGET_CPU)" == "IA64"\r | |
122 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
123 | !endif\r | |
14b682f7 VZ |
124 | !if "$(TARGET_CPU)" == "X64" |
125 | LINK_TARGET_CPU = /MACHINE:X64 | |
126 | !endif | |
a7ebaf0d | 127 | !if "$(TARGET_CPU)" == "amd64"\r |
94b6ce7f | 128 | LINK_TARGET_CPU = /MACHINE:X64\r |
a7ebaf0d KO |
129 | !endif\r |
130 | !if "$(TARGET_CPU)" == "ia64"\r | |
131 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
132 | !endif\r | |
14b682f7 VZ |
133 | !if "$(TARGET_CPU)" == "x64" |
134 | LINK_TARGET_CPU = /MACHINE:X64 | |
135 | !endif | |
a7ebaf0d KO |
136 | !if "$(MONOLITHIC)" == "0"\r |
137 | EXTRALIBS_FOR_BASE = \r | |
138 | !endif\r | |
139 | !if "$(MONOLITHIC)" == "1"\r | |
51ec29ea | 140 | EXTRALIBS_FOR_BASE = \r |
a7ebaf0d | 141 | !endif\r |
7b363ab6 VZ |
142 | !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2" |
143 | LIB_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 | |
405 | all: $(OBJS)\r | |
406 | $(OBJS):\r | |
407 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
408 | \r | |
409 | ### Targets: ###\r | |
410 | \r | |
7b363ab6 | 411 | all: $(OBJS)\bench.exe data $(__bench_gui___depname) data-image |
a7ebaf0d KO |
412 | \r |
413 | clean: \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 | |
429 | data: \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 | ||
440 | data-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 |