]>
Commit | Line | Data |
---|---|---|
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 | |
15 | WX_RELEASE_NODOT = 29\r | |
16 | COMPILER_PREFIX = vc\r | |
17 | OBJS = \\r | |
18 | $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)\r | |
19 | LIBDIRNAME = \\r | |
20 | .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r | |
21 | SETUPHDIR = \\r | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | MY_DLL_CXXFLAGS = /M$(__RUNTIME_LIBS_11)$(__DEBUGRUNTIME) /DWIN32 \\r | |
24 | $(__DEBUGINFO_0) /Fd$(OBJS)\my_dll.pdb $(____DEBUGRUNTIME) \\r | |
25 | $(__OPTIMIZEFLAG) /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__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \\r | |
28 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r | |
29 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
30 | $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \\r | |
31 | $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 $(__DLLFLAG_p) /DMY_DLL_BUILDING /I. \\r | |
32 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r | |
33 | MY_DLL_OBJECTS = \\r | |
34 | $(OBJS)\my_dll_my_dll.obj\r | |
35 | WX_EXE_CXXFLAGS = /M$(__RUNTIME_LIBS_25)$(__DEBUGRUNTIME) /DWIN32 \\r | |
36 | $(__DEBUGINFO_0) /Fd$(OBJS)\wx_exe.pdb $(____DEBUGRUNTIME) \\r | |
37 | $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \\r | |
38 | /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r | |
39 | $(__NO_VC_CRTDBG_p) /D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \\r | |
40 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r | |
41 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
42 | $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \\r | |
43 | $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \\r | |
44 | /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \\r | |
45 | $(CXXFLAGS)\r | |
46 | WX_EXE_OBJECTS = \\r | |
47 | $(OBJS)\wx_exe_wx_exe.obj\r | |
48 | WX_EXE_RESOURCES = \\r | |
49 | $(OBJS)\wx_exe_sample.res\r | |
50 | SDK_EXE_CXXFLAGS = /M$(__RUNTIME_LIBS_41)$(__DEBUGRUNTIME) /DWIN32 \\r | |
51 | $(__DEBUGINFO_0) /Fd$(OBJS)\sdk_exe.pdb $(____DEBUGRUNTIME) \\r | |
52 | $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \\r | |
53 | /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r | |
54 | $(__NO_VC_CRTDBG_p) /D_WINDOWS $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \\r | |
55 | $(CXXFLAGS)\r | |
56 | SDK_EXE_OBJECTS = \\r | |
57 | $(OBJS)\sdk_exe_sdk_exe.obj\r | |
58 | \r | |
59 | ### Conditionally set variables: ###\r | |
60 | \r | |
61 | !if "$(TOOLKIT)" == "GTK"\r | |
62 | WIN32_TOOLKIT_LOWERCASE = gtk\r | |
63 | !endif\r | |
64 | !if "$(TOOLKIT)" == "MSW"\r | |
65 | WIN32_TOOLKIT_LOWERCASE = msw\r | |
66 | !endif\r | |
67 | !if "$(TARGET_CPU)" == "AMD64"\r | |
68 | ARCH_SUFFIX = _x64\r | |
69 | !endif\r | |
70 | !if "$(TARGET_CPU)" == "IA64"\r | |
71 | ARCH_SUFFIX = _ia64\r | |
72 | !endif\r | |
73 | !if "$(TARGET_CPU)" == "X64"\r | |
74 | ARCH_SUFFIX = _x64\r | |
75 | !endif\r | |
76 | !if "$(TARGET_CPU)" == "amd64"\r | |
77 | ARCH_SUFFIX = _x64\r | |
78 | !endif\r | |
79 | !if "$(TARGET_CPU)" == "ia64"\r | |
80 | ARCH_SUFFIX = _ia64\r | |
81 | !endif\r | |
82 | !if "$(TARGET_CPU)" == "x64"\r | |
83 | ARCH_SUFFIX = _x64\r | |
84 | !endif\r | |
85 | !if "$(USE_GUI)" == "0"\r | |
86 | PORTNAME = base\r | |
87 | !endif\r | |
88 | !if "$(USE_GUI)" == "1"\r | |
89 | PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)\r | |
90 | !endif\r | |
91 | !if "$(TOOLKIT)" == "MAC"\r | |
92 | WXBASEPORT = _carbon\r | |
93 | !endif\r | |
94 | !if "$(OFFICIAL_BUILD)" == "1"\r | |
95 | COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD\r | |
96 | !endif\r | |
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 | |
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 | |
119 | LINK_TARGET_CPU = /MACHINE:X64\r | |
120 | !endif\r | |
121 | !if "$(TARGET_CPU)" == "IA64"\r | |
122 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
123 | !endif\r | |
124 | !if "$(TARGET_CPU)" == "X64"\r | |
125 | LINK_TARGET_CPU = /MACHINE:X64\r | |
126 | !endif\r | |
127 | !if "$(TARGET_CPU)" == "amd64"\r | |
128 | LINK_TARGET_CPU = /MACHINE:X64\r | |
129 | !endif\r | |
130 | !if "$(TARGET_CPU)" == "ia64"\r | |
131 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
132 | !endif\r | |
133 | !if "$(TARGET_CPU)" == "x64"\r | |
134 | LINK_TARGET_CPU = /MACHINE:X64\r | |
135 | !endif\r | |
136 | !if "$(MONOLITHIC)" == "0"\r | |
137 | EXTRALIBS_FOR_BASE = \r | |
138 | !endif\r | |
139 | !if "$(MONOLITHIC)" == "1"\r | |
140 | EXTRALIBS_FOR_BASE = \r | |
141 | !endif\r | |
142 | !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"\r | |
143 | LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \\r | |
144 | gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \\r | |
145 | glib-2.0.lib\r | |
146 | !endif\r | |
147 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
148 | __DEBUGINFO_3 = $(__DEBUGRUNTIME_1)\r | |
149 | !endif\r | |
150 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
151 | __DEBUGINFO_3 = \r | |
152 | !endif\r | |
153 | !if "$(DEBUG_INFO)" == "0"\r | |
154 | __DEBUGINFO_3 = \r | |
155 | !endif\r | |
156 | !if "$(DEBUG_INFO)" == "1"\r | |
157 | __DEBUGINFO_3 = $(__DEBUGRUNTIME_1)\r | |
158 | !endif\r | |
159 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
160 | __RUNTIME_LIBS_11 = D\r | |
161 | !endif\r | |
162 | !if "$(RUNTIME_LIBS)" == "static"\r | |
163 | __RUNTIME_LIBS_11 = $(__THREADSFLAG)\r | |
164 | !endif\r | |
165 | !if "$(SHARED)" == "0"\r | |
166 | __wx_exe___depname = $(OBJS)\wx_exe.exe\r | |
167 | !endif\r | |
168 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
169 | __DEBUGINFO_17 = $(__DEBUGRUNTIME_1)\r | |
170 | !endif\r | |
171 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
172 | __DEBUGINFO_17 = \r | |
173 | !endif\r | |
174 | !if "$(DEBUG_INFO)" == "0"\r | |
175 | __DEBUGINFO_17 = \r | |
176 | !endif\r | |
177 | !if "$(DEBUG_INFO)" == "1"\r | |
178 | __DEBUGINFO_17 = $(__DEBUGRUNTIME_1)\r | |
179 | !endif\r | |
180 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
181 | ____DEBUGRUNTIME_18_p_1 = /d _DEBUG\r | |
182 | !endif\r | |
183 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
184 | ____DEBUGRUNTIME_18_p_1 = \r | |
185 | !endif\r | |
186 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
187 | ____DEBUGRUNTIME_18_p_1 = \r | |
188 | !endif\r | |
189 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
190 | ____DEBUGRUNTIME_18_p_1 = /d _DEBUG\r | |
191 | !endif\r | |
192 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
193 | __RUNTIME_LIBS_25 = D\r | |
194 | !endif\r | |
195 | !if "$(RUNTIME_LIBS)" == "static"\r | |
196 | __RUNTIME_LIBS_25 = $(__THREADSFLAG)\r | |
197 | !endif\r | |
198 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
199 | __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__\r | |
200 | !endif\r | |
201 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
202 | __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__\r | |
203 | !endif\r | |
204 | !if "$(WXUNIV)" == "1"\r | |
205 | __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__\r | |
206 | !endif\r | |
207 | !if "$(DEBUG_FLAG)" == "0"\r | |
208 | __DEBUG_DEFINE_p_3 = /d wxDEBUG_LEVEL=0\r | |
209 | !endif\r | |
210 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
211 | __NDEBUG_DEFINE_p_3 = /d NDEBUG\r | |
212 | !endif\r | |
213 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
214 | __NDEBUG_DEFINE_p_3 = /d NDEBUG\r | |
215 | !endif\r | |
216 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
217 | __EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS\r | |
218 | !endif\r | |
219 | !if "$(USE_RTTI)" == "0"\r | |
220 | __RTTI_DEFINE_p_3 = /d wxNO_RTTI\r | |
221 | !endif\r | |
222 | !if "$(USE_THREADS)" == "0"\r | |
223 | __THREAD_DEFINE_p_3 = /d wxNO_THREADS\r | |
224 | !endif\r | |
225 | !if "$(UNICODE)" == "0"\r | |
226 | __UNICODE_DEFINE_p_3 = /d wxUSE_UNICODE=0\r | |
227 | !endif\r | |
228 | !if "$(UNICODE)" == "1"\r | |
229 | __UNICODE_DEFINE_p_3 = /d _UNICODE\r | |
230 | !endif\r | |
231 | !if "$(MSLU)" == "1"\r | |
232 | __MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1\r | |
233 | !endif\r | |
234 | !if "$(USE_CAIRO)" == "1"\r | |
235 | ____CAIRO_INCLUDEDIR_FILENAMES_3_p = /i $(CAIRO_ROOT)\include\cairo\r | |
236 | !endif\r | |
237 | !if "$(SHARED)" == "1"\r | |
238 | __DLLFLAG_p_3 = /d WXUSINGDLL\r | |
239 | !endif\r | |
240 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
241 | __DEBUGINFO_33 = $(__DEBUGRUNTIME_1)\r | |
242 | !endif\r | |
243 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
244 | __DEBUGINFO_33 = \r | |
245 | !endif\r | |
246 | !if "$(DEBUG_INFO)" == "0"\r | |
247 | __DEBUGINFO_33 = \r | |
248 | !endif\r | |
249 | !if "$(DEBUG_INFO)" == "1"\r | |
250 | __DEBUGINFO_33 = $(__DEBUGRUNTIME_1)\r | |
251 | !endif\r | |
252 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
253 | __RUNTIME_LIBS_41 = D\r | |
254 | !endif\r | |
255 | !if "$(RUNTIME_LIBS)" == "static"\r | |
256 | __RUNTIME_LIBS_41 = $(__THREADSFLAG)\r | |
257 | !endif\r | |
258 | !if "$(WXUNIV)" == "1"\r | |
259 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
260 | !endif\r | |
261 | !if "$(DEBUG_FLAG)" == "0"\r | |
262 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
263 | !endif\r | |
264 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
265 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
266 | !endif\r | |
267 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
268 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
269 | !endif\r | |
270 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
271 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
272 | !endif\r | |
273 | !if "$(USE_RTTI)" == "0"\r | |
274 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
275 | !endif\r | |
276 | !if "$(USE_THREADS)" == "0"\r | |
277 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
278 | !endif\r | |
279 | !if "$(UNICODE)" == "0"\r | |
280 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
281 | !endif\r | |
282 | !if "$(UNICODE)" == "1"\r | |
283 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
284 | !endif\r | |
285 | !if "$(MSLU)" == "1"\r | |
286 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
287 | !endif\r | |
288 | !if "$(USE_CAIRO)" == "1"\r | |
289 | ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo\r | |
290 | !endif\r | |
291 | !if "$(SHARED)" == "1"\r | |
292 | __DLLFLAG_p = /DWXUSINGDLL\r | |
293 | !endif\r | |
294 | !if "$(MONOLITHIC)" == "0"\r | |
295 | __WXLIB_CORE_p = \\r | |
296 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
297 | !endif\r | |
298 | !if "$(MONOLITHIC)" == "0"\r | |
299 | __WXLIB_BASE_p = \\r | |
300 | wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
301 | !endif\r | |
302 | !if "$(MONOLITHIC)" == "1"\r | |
303 | __WXLIB_MONO_p = \\r | |
304 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
305 | !endif\r | |
306 | !if "$(USE_GUI)" == "1"\r | |
307 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
308 | !endif\r | |
309 | !if "$(USE_GUI)" == "1"\r | |
310 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
311 | !endif\r | |
312 | !if "$(USE_GUI)" == "1"\r | |
313 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
314 | !endif\r | |
315 | !if "$(MSLU)" == "1"\r | |
316 | __UNICOWS_LIB_p = unicows.lib\r | |
317 | !endif\r | |
318 | !if "$(USE_CAIRO)" == "1"\r | |
319 | __CAIRO_LIB_p = cairo.lib\r | |
320 | !endif\r | |
321 | !if "$(USE_CAIRO)" == "1"\r | |
322 | ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib\r | |
323 | !endif\r | |
324 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
325 | __DEBUGINFO_0 = /Zi\r | |
326 | !endif\r | |
327 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
328 | __DEBUGINFO_0 = \r | |
329 | !endif\r | |
330 | !if "$(DEBUG_INFO)" == "0"\r | |
331 | __DEBUGINFO_0 = \r | |
332 | !endif\r | |
333 | !if "$(DEBUG_INFO)" == "1"\r | |
334 | __DEBUGINFO_0 = /Zi\r | |
335 | !endif\r | |
336 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
337 | __DEBUGINFO = /DEBUG\r | |
338 | !endif\r | |
339 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
340 | __DEBUGINFO = \r | |
341 | !endif\r | |
342 | !if "$(DEBUG_INFO)" == "0"\r | |
343 | __DEBUGINFO = \r | |
344 | !endif\r | |
345 | !if "$(DEBUG_INFO)" == "1"\r | |
346 | __DEBUGINFO = /DEBUG\r | |
347 | !endif\r | |
348 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
349 | ____DEBUGRUNTIME = /D_DEBUG\r | |
350 | !endif\r | |
351 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
352 | ____DEBUGRUNTIME = \r | |
353 | !endif\r | |
354 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
355 | ____DEBUGRUNTIME = \r | |
356 | !endif\r | |
357 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
358 | ____DEBUGRUNTIME = /D_DEBUG\r | |
359 | !endif\r | |
360 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
361 | __DEBUGRUNTIME = d\r | |
362 | !endif\r | |
363 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
364 | __DEBUGRUNTIME = \r | |
365 | !endif\r | |
366 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
367 | __DEBUGRUNTIME = \r | |
368 | !endif\r | |
369 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
370 | __DEBUGRUNTIME = d\r | |
371 | !endif\r | |
372 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
373 | __DEBUGRUNTIME_1 = \r | |
374 | !endif\r | |
375 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
376 | __DEBUGRUNTIME_1 = /opt:ref /opt:icf\r | |
377 | !endif\r | |
378 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
379 | __DEBUGRUNTIME_1 = /opt:ref /opt:icf\r | |
380 | !endif\r | |
381 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
382 | __DEBUGRUNTIME_1 = \r | |
383 | !endif\r | |
384 | !if "$(BUILD)" == "debug"\r | |
385 | __OPTIMIZEFLAG = /Od\r | |
386 | !endif\r | |
387 | !if "$(BUILD)" == "release"\r | |
388 | __OPTIMIZEFLAG = /O2\r | |
389 | !endif\r | |
390 | !if "$(USE_THREADS)" == "0"\r | |
391 | __THREADSFLAG = L\r | |
392 | !endif\r | |
393 | !if "$(USE_THREADS)" == "1"\r | |
394 | __THREADSFLAG = T\r | |
395 | !endif\r | |
396 | !if "$(USE_RTTI)" == "0"\r | |
397 | __RTTIFLAG = \r | |
398 | !endif\r | |
399 | !if "$(USE_RTTI)" == "1"\r | |
400 | __RTTIFLAG = /GR\r | |
401 | !endif\r | |
402 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
403 | __EXCEPTIONSFLAG = \r | |
404 | !endif\r | |
405 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
406 | __EXCEPTIONSFLAG = /EHsc\r | |
407 | !endif\r | |
408 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
409 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
410 | !endif\r | |
411 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
412 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
413 | !endif\r | |
414 | \r | |
415 | \r | |
416 | all: $(OBJS)\r | |
417 | $(OBJS):\r | |
418 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
419 | \r | |
420 | ### Targets: ###\r | |
421 | \r | |
422 | all: $(OBJS)\my_dll.dll $(__wx_exe___depname) $(OBJS)\sdk_exe.exe\r | |
423 | \r | |
424 | clean: \r | |
425 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
426 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
427 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
428 | -if exist $(OBJS)\my_dll.dll del $(OBJS)\my_dll.dll\r | |
429 | -if exist $(OBJS)\my_dll.ilk del $(OBJS)\my_dll.ilk\r | |
430 | -if exist $(OBJS)\my_dll.pdb del $(OBJS)\my_dll.pdb\r | |
431 | -if exist $(OBJS)\my_dll.lib del $(OBJS)\my_dll.lib\r | |
432 | -if exist $(OBJS)\wx_exe.exe del $(OBJS)\wx_exe.exe\r | |
433 | -if exist $(OBJS)\wx_exe.ilk del $(OBJS)\wx_exe.ilk\r | |
434 | -if exist $(OBJS)\wx_exe.pdb del $(OBJS)\wx_exe.pdb\r | |
435 | -if exist $(OBJS)\sdk_exe.exe del $(OBJS)\sdk_exe.exe\r | |
436 | -if exist $(OBJS)\sdk_exe.ilk del $(OBJS)\sdk_exe.ilk\r | |
437 | -if exist $(OBJS)\sdk_exe.pdb del $(OBJS)\sdk_exe.pdb\r | |
438 | \r | |
439 | $(OBJS)\my_dll.dll: $(MY_DLL_OBJECTS)\r | |
440 | link /DLL /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\my_dll.pdb" $(__DEBUGINFO_3) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r | |
441 | $(MY_DLL_OBJECTS) $(__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 /IMPLIB:$(OBJS)\my_dll.lib\r | |
442 | <<\r | |
443 | \r | |
444 | !if "$(SHARED)" == "0"\r | |
445 | $(OBJS)\wx_exe.exe: $(WX_EXE_OBJECTS) $(OBJS)\wx_exe_sample.res $(OBJS)\my_dll.dll\r | |
446 | link /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\wx_exe.pdb" $(__DEBUGINFO_17) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r | |
447 | $(WX_EXE_OBJECTS) $(WX_EXE_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(OBJS)\my_dll.lib $(__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\r | |
448 | <<\r | |
449 | !endif\r | |
450 | \r | |
451 | $(OBJS)\sdk_exe.exe: $(SDK_EXE_OBJECTS) $(OBJS)\my_dll.dll\r | |
452 | link /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\sdk_exe.pdb" $(__DEBUGINFO_33) $(LINK_TARGET_CPU) /SUBSYSTEM:WINDOWS $(LDFLAGS) @<<\r | |
453 | $(SDK_EXE_OBJECTS) $(OBJS)\my_dll.lib user32.lib\r | |
454 | <<\r | |
455 | \r | |
456 | $(OBJS)\my_dll_my_dll.obj: .\my_dll.cpp\r | |
457 | $(CXX) /c /nologo /TP /Fo$@ $(MY_DLL_CXXFLAGS) .\my_dll.cpp\r | |
458 | \r | |
459 | $(OBJS)\wx_exe_sample.res: .\..\..\samples\sample.rc\r | |
460 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_18_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) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc\r | |
461 | \r | |
462 | $(OBJS)\wx_exe_wx_exe.obj: .\wx_exe.cpp\r | |
463 | $(CXX) /c /nologo /TP /Fo$@ $(WX_EXE_CXXFLAGS) .\wx_exe.cpp\r | |
464 | \r | |
465 | $(OBJS)\sdk_exe_sdk_exe.obj: .\sdk_exe.cpp\r | |
466 | $(CXX) /c /nologo /TP /Fo$@ $(SDK_EXE_CXXFLAGS) .\sdk_exe.cpp\r | |
467 | \r |