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