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