]>
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 | |
b796194b | 28 | $(__MSLU_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 | |
b796194b | 38 | $(__MSLU_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 | |
61aba460 VS |
199 | !if "$(USE_CAIRO)" == "1"\r |
200 | ____CAIRO_INCLUDEDIR_FILENAMES_3_p = /i $(CAIRO_ROOT)\include\cairo\r | |
201 | !endif\r | |
202 | !if "$(SHARED)" == "1"\r | |
203 | __DLLFLAG_p_3 = /d WXUSINGDLL\r | |
204 | !endif\r | |
205 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
94b6ce7f | 206 | __DEBUGINFO_33 = $(__DEBUGRUNTIME_1)\r |
61aba460 VS |
207 | !endif\r |
208 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
94b6ce7f | 209 | __DEBUGINFO_33 = \r |
61aba460 VS |
210 | !endif\r |
211 | !if "$(DEBUG_INFO)" == "0"\r | |
94b6ce7f | 212 | __DEBUGINFO_33 = \r |
61aba460 VS |
213 | !endif\r |
214 | !if "$(DEBUG_INFO)" == "1"\r | |
94b6ce7f VZ |
215 | __DEBUGINFO_33 = $(__DEBUGRUNTIME_1)\r |
216 | !endif\r | |
217 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
218 | __RUNTIME_LIBS_41 = D\r | |
219 | !endif\r | |
220 | !if "$(RUNTIME_LIBS)" == "static"\r | |
221 | __RUNTIME_LIBS_41 = $(__THREADSFLAG)\r | |
222 | !endif\r | |
223 | !if "$(WXUNIV)" == "1"\r | |
224 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
225 | !endif\r | |
226 | !if "$(DEBUG_FLAG)" == "0"\r | |
227 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
228 | !endif\r | |
da8b1d4b KO |
229 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
230 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
231 | !endif\r | |
232 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
233 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
234 | !endif\r | |
94b6ce7f VZ |
235 | !if "$(USE_EXCEPTIONS)" == "0"\r |
236 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
237 | !endif\r | |
238 | !if "$(USE_RTTI)" == "0"\r | |
239 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
240 | !endif\r | |
241 | !if "$(USE_THREADS)" == "0"\r | |
242 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
243 | !endif\r | |
244 | !if "$(UNICODE)" == "0"\r | |
245 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
246 | !endif\r | |
247 | !if "$(UNICODE)" == "1"\r | |
248 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
249 | !endif\r | |
250 | !if "$(MSLU)" == "1"\r | |
251 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
252 | !endif\r | |
94b6ce7f VZ |
253 | !if "$(USE_CAIRO)" == "1"\r |
254 | ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo\r | |
255 | !endif\r | |
256 | !if "$(SHARED)" == "1"\r | |
257 | __DLLFLAG_p = /DWXUSINGDLL\r | |
258 | !endif\r | |
259 | !if "$(MONOLITHIC)" == "0"\r | |
260 | __WXLIB_CORE_p = \\r | |
261 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
262 | !endif\r | |
263 | !if "$(MONOLITHIC)" == "0"\r | |
264 | __WXLIB_BASE_p = \\r | |
265 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
266 | !endif\r | |
267 | !if "$(MONOLITHIC)" == "1"\r | |
268 | __WXLIB_MONO_p = \\r | |
269 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
270 | !endif\r | |
271 | !if "$(USE_GUI)" == "1"\r | |
272 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
273 | !endif\r | |
274 | !if "$(USE_GUI)" == "1"\r | |
275 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
276 | !endif\r | |
277 | !if "$(USE_GUI)" == "1"\r | |
278 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
279 | !endif\r | |
280 | !if "$(MSLU)" == "1"\r | |
281 | __UNICOWS_LIB_p = unicows.lib\r | |
282 | !endif\r | |
94b6ce7f VZ |
283 | !if "$(USE_CAIRO)" == "1"\r |
284 | __CAIRO_LIB_p = cairo.lib\r | |
285 | !endif\r | |
286 | !if "$(USE_CAIRO)" == "1"\r | |
287 | ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib\r | |
288 | !endif\r | |
289 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
290 | __DEBUGINFO_0 = /Zi\r | |
291 | !endif\r | |
292 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
293 | __DEBUGINFO_0 = \r | |
294 | !endif\r | |
295 | !if "$(DEBUG_INFO)" == "0"\r | |
296 | __DEBUGINFO_0 = \r | |
297 | !endif\r | |
298 | !if "$(DEBUG_INFO)" == "1"\r | |
299 | __DEBUGINFO_0 = /Zi\r | |
61aba460 VS |
300 | !endif\r |
301 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
302 | __DEBUGINFO = /DEBUG\r | |
303 | !endif\r | |
304 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
305 | __DEBUGINFO = \r | |
306 | !endif\r | |
307 | !if "$(DEBUG_INFO)" == "0"\r | |
308 | __DEBUGINFO = \r | |
309 | !endif\r | |
310 | !if "$(DEBUG_INFO)" == "1"\r | |
311 | __DEBUGINFO = /DEBUG\r | |
312 | !endif\r | |
313 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
314 | ____DEBUGRUNTIME = /D_DEBUG\r | |
315 | !endif\r | |
316 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
317 | ____DEBUGRUNTIME = \r | |
318 | !endif\r | |
319 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
320 | ____DEBUGRUNTIME = \r | |
321 | !endif\r | |
322 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
323 | ____DEBUGRUNTIME = /D_DEBUG\r | |
324 | !endif\r | |
325 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
326 | __DEBUGRUNTIME = d\r | |
327 | !endif\r | |
328 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
329 | __DEBUGRUNTIME = \r | |
330 | !endif\r | |
331 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
332 | __DEBUGRUNTIME = \r | |
333 | !endif\r | |
334 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
335 | __DEBUGRUNTIME = d\r | |
336 | !endif\r | |
337 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
94b6ce7f | 338 | __DEBUGRUNTIME_1 = \r |
61aba460 VS |
339 | !endif\r |
340 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
94b6ce7f | 341 | __DEBUGRUNTIME_1 = /opt:ref /opt:icf\r |
61aba460 VS |
342 | !endif\r |
343 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
94b6ce7f | 344 | __DEBUGRUNTIME_1 = /opt:ref /opt:icf\r |
61aba460 VS |
345 | !endif\r |
346 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
94b6ce7f | 347 | __DEBUGRUNTIME_1 = \r |
61aba460 VS |
348 | !endif\r |
349 | !if "$(BUILD)" == "debug"\r | |
350 | __OPTIMIZEFLAG = /Od\r | |
351 | !endif\r | |
352 | !if "$(BUILD)" == "release"\r | |
353 | __OPTIMIZEFLAG = /O2\r | |
354 | !endif\r | |
355 | !if "$(USE_THREADS)" == "0"\r | |
356 | __THREADSFLAG = L\r | |
357 | !endif\r | |
358 | !if "$(USE_THREADS)" == "1"\r | |
359 | __THREADSFLAG = T\r | |
360 | !endif\r | |
361 | !if "$(USE_RTTI)" == "0"\r | |
362 | __RTTIFLAG = \r | |
363 | !endif\r | |
364 | !if "$(USE_RTTI)" == "1"\r | |
365 | __RTTIFLAG = /GR\r | |
366 | !endif\r | |
367 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
368 | __EXCEPTIONSFLAG = \r | |
369 | !endif\r | |
370 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
371 | __EXCEPTIONSFLAG = /EHsc\r | |
372 | !endif\r | |
373 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
374 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
375 | !endif\r | |
376 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
377 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
378 | !endif\r | |
61aba460 VS |
379 | \r |
380 | \r | |
381 | all: $(OBJS)\r | |
382 | $(OBJS):\r | |
383 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
384 | \r | |
385 | ### Targets: ###\r | |
386 | \r | |
94b6ce7f | 387 | all: $(OBJS)\my_dll.dll $(__wx_exe___depname) $(OBJS)\sdk_exe.exe\r |
61aba460 VS |
388 | \r |
389 | clean: \r | |
390 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
391 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
392 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
393 | -if exist $(OBJS)\my_dll.dll del $(OBJS)\my_dll.dll\r | |
394 | -if exist $(OBJS)\my_dll.ilk del $(OBJS)\my_dll.ilk\r | |
395 | -if exist $(OBJS)\my_dll.pdb del $(OBJS)\my_dll.pdb\r | |
396 | -if exist $(OBJS)\my_dll.lib del $(OBJS)\my_dll.lib\r | |
397 | -if exist $(OBJS)\wx_exe.exe del $(OBJS)\wx_exe.exe\r | |
398 | -if exist $(OBJS)\wx_exe.ilk del $(OBJS)\wx_exe.ilk\r | |
399 | -if exist $(OBJS)\wx_exe.pdb del $(OBJS)\wx_exe.pdb\r | |
94b6ce7f VZ |
400 | -if exist $(OBJS)\sdk_exe.exe del $(OBJS)\sdk_exe.exe\r |
401 | -if exist $(OBJS)\sdk_exe.ilk del $(OBJS)\sdk_exe.ilk\r | |
402 | -if exist $(OBJS)\sdk_exe.pdb del $(OBJS)\sdk_exe.pdb\r | |
61aba460 VS |
403 | \r |
404 | $(OBJS)\my_dll.dll: $(MY_DLL_OBJECTS)\r | |
405 | link /DLL /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\my_dll.pdb" $(__DEBUGINFO_3) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r | |
b796194b | 406 | $(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) $(__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 |
61aba460 VS |
407 | <<\r |
408 | \r | |
409 | !if "$(SHARED)" == "0"\r | |
410 | $(OBJS)\wx_exe.exe: $(WX_EXE_OBJECTS) $(OBJS)\wx_exe_sample.res $(OBJS)\my_dll.dll\r | |
411 | link /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\wx_exe.pdb" $(__DEBUGINFO_17) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r | |
b796194b | 412 | $(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) $(__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 |
61aba460 VS |
413 | <<\r |
414 | !endif\r | |
415 | \r | |
94b6ce7f VZ |
416 | $(OBJS)\sdk_exe.exe: $(SDK_EXE_OBJECTS) $(OBJS)\my_dll.dll\r |
417 | link /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\sdk_exe.pdb" $(__DEBUGINFO_33) $(LINK_TARGET_CPU) /SUBSYSTEM:WINDOWS $(LDFLAGS) @<<\r | |
40ff2729 | 418 | $(SDK_EXE_OBJECTS) $(OBJS)\my_dll.lib user32.lib\r |
94b6ce7f VZ |
419 | <<\r |
420 | \r | |
61aba460 VS |
421 | $(OBJS)\my_dll_my_dll.obj: .\my_dll.cpp\r |
422 | $(CXX) /c /nologo /TP /Fo$@ $(MY_DLL_CXXFLAGS) .\my_dll.cpp\r | |
423 | \r | |
424 | $(OBJS)\wx_exe_sample.res: .\..\..\samples\sample.rc\r | |
b796194b | 425 | 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) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_3_p) /i . $(__DLLFLAG_p_3) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc\r |
61aba460 | 426 | \r |
1ffe64ef VZ |
427 | $(OBJS)\wx_exe_wx_exe.obj: .\wx_exe.cpp\r |
428 | $(CXX) /c /nologo /TP /Fo$@ $(WX_EXE_CXXFLAGS) .\wx_exe.cpp\r | |
61aba460 | 429 | \r |
94b6ce7f VZ |
430 | $(OBJS)\sdk_exe_sdk_exe.obj: .\sdk_exe.cpp\r |
431 | $(CXX) /c /nologo /TP /Fo$@ $(SDK_EXE_CXXFLAGS) .\sdk_exe.cpp\r | |
432 | \r |