]>
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)_$(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 | OLEAUTO_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \\r | |
24 | $(__DEBUGINFO_0) /Fd$(OBJS)\oleauto.pdb $(____DEBUGRUNTIME_3_p) \\r | |
25 | $(__OPTIMIZEFLAG_6) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
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) /I$(SETUPHDIR) /I.\..\..\include \\r | |
29 | $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \\r | |
30 | /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) $(__EXCEPTIONSFLAG_12) \\r | |
31 | $(CPPFLAGS) $(CXXFLAGS)\r | |
32 | OLEAUTO_OBJECTS = \\r | |
33 | $(OBJS)\oleauto_oleauto.obj\r | |
34 | OLEAUTO_RESOURCES = \\r | |
35 | $(OBJS)\oleauto_sample.res\r | |
36 | \r | |
37 | ### Conditionally set variables: ###\r | |
38 | \r | |
39 | !if "$(USE_GUI)" == "0"\r | |
40 | PORTNAME = base\r | |
41 | !endif\r | |
42 | !if "$(USE_GUI)" == "1"\r | |
43 | PORTNAME = msw\r | |
44 | !endif\r | |
45 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
46 | WXDEBUGFLAG = d\r | |
47 | !endif\r | |
48 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
49 | WXDEBUGFLAG = d\r | |
50 | !endif\r | |
51 | !if "$(UNICODE)" == "1"\r | |
52 | WXUNICODEFLAG = u\r | |
53 | !endif\r | |
54 | !if "$(WXUNIV)" == "1"\r | |
55 | WXUNIVNAME = univ\r | |
56 | !endif\r | |
57 | !if "$(TARGET_CPU)" == "AMD64"\r | |
58 | DIR_SUFFIX_CPU = _amd64\r | |
59 | !endif\r | |
60 | !if "$(TARGET_CPU)" == "IA64"\r | |
61 | DIR_SUFFIX_CPU = _ia64\r | |
62 | !endif\r | |
63 | !if "$(TARGET_CPU)" == "amd64"\r | |
64 | DIR_SUFFIX_CPU = _amd64\r | |
65 | !endif\r | |
66 | !if "$(TARGET_CPU)" == "ia64"\r | |
67 | DIR_SUFFIX_CPU = _ia64\r | |
68 | !endif\r | |
69 | !if "$(SHARED)" == "1"\r | |
70 | WXDLLFLAG = dll\r | |
71 | !endif\r | |
72 | !if "$(SHARED)" == "0"\r | |
73 | LIBTYPE_SUFFIX = lib\r | |
74 | !endif\r | |
75 | !if "$(SHARED)" == "1"\r | |
76 | LIBTYPE_SUFFIX = dll\r | |
77 | !endif\r | |
78 | !if "$(TARGET_CPU)" == "AMD64"\r | |
79 | LINK_TARGET_CPU = /MACHINE:X64\r | |
80 | !endif\r | |
81 | !if "$(TARGET_CPU)" == "IA64"\r | |
82 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
83 | !endif\r | |
84 | !if "$(TARGET_CPU)" == "amd64"\r | |
85 | LINK_TARGET_CPU = /MACHINE:X64\r | |
86 | !endif\r | |
87 | !if "$(TARGET_CPU)" == "ia64"\r | |
88 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
89 | !endif\r | |
90 | !if "$(MONOLITHIC)" == "0"\r | |
91 | EXTRALIBS_FOR_BASE = \r | |
92 | !endif\r | |
93 | !if "$(MONOLITHIC)" == "1"\r | |
94 | EXTRALIBS_FOR_BASE = \r | |
95 | !endif\r | |
96 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
97 | __DEBUGINFO_0 = /Zi\r | |
98 | !endif\r | |
99 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
100 | __DEBUGINFO_0 = \r | |
101 | !endif\r | |
102 | !if "$(DEBUG_INFO)" == "0"\r | |
103 | __DEBUGINFO_0 = \r | |
104 | !endif\r | |
105 | !if "$(DEBUG_INFO)" == "1"\r | |
106 | __DEBUGINFO_0 = /Zi\r | |
107 | !endif\r | |
108 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
109 | __DEBUGINFO_1 = /DEBUG\r | |
110 | !endif\r | |
111 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
112 | __DEBUGINFO_1 = \r | |
113 | !endif\r | |
114 | !if "$(DEBUG_INFO)" == "0"\r | |
115 | __DEBUGINFO_1 = \r | |
116 | !endif\r | |
117 | !if "$(DEBUG_INFO)" == "1"\r | |
118 | __DEBUGINFO_1 = /DEBUG\r | |
119 | !endif\r | |
120 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
121 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r | |
122 | !endif\r | |
123 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
124 | __DEBUGINFO_2 = \r | |
125 | !endif\r | |
126 | !if "$(DEBUG_INFO)" == "0"\r | |
127 | __DEBUGINFO_2 = \r | |
128 | !endif\r | |
129 | !if "$(DEBUG_INFO)" == "1"\r | |
130 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r | |
131 | !endif\r | |
132 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
133 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r | |
134 | !endif\r | |
135 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
136 | ____DEBUGRUNTIME_3_p = \r | |
137 | !endif\r | |
138 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
139 | ____DEBUGRUNTIME_3_p = \r | |
140 | !endif\r | |
141 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
142 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r | |
143 | !endif\r | |
144 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
145 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r | |
146 | !endif\r | |
147 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
148 | ____DEBUGRUNTIME_3_p_1 = \r | |
149 | !endif\r | |
150 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
151 | ____DEBUGRUNTIME_3_p_1 = \r | |
152 | !endif\r | |
153 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
154 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r | |
155 | !endif\r | |
156 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
157 | __DEBUGRUNTIME_4 = d\r | |
158 | !endif\r | |
159 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
160 | __DEBUGRUNTIME_4 = \r | |
161 | !endif\r | |
162 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
163 | __DEBUGRUNTIME_4 = \r | |
164 | !endif\r | |
165 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
166 | __DEBUGRUNTIME_4 = d\r | |
167 | !endif\r | |
168 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
169 | __DEBUGRUNTIME_5 = \r | |
170 | !endif\r | |
171 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
172 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r | |
173 | !endif\r | |
174 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
175 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r | |
176 | !endif\r | |
177 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
178 | __DEBUGRUNTIME_5 = \r | |
179 | !endif\r | |
180 | !if "$(BUILD)" == "debug"\r | |
181 | __OPTIMIZEFLAG_6 = /Od\r | |
182 | !endif\r | |
183 | !if "$(BUILD)" == "release"\r | |
184 | __OPTIMIZEFLAG_6 = /O2\r | |
185 | !endif\r | |
186 | !if "$(USE_THREADS)" == "0"\r | |
187 | __THREADSFLAG_9 = L\r | |
188 | !endif\r | |
189 | !if "$(USE_THREADS)" == "1"\r | |
190 | __THREADSFLAG_9 = T\r | |
191 | !endif\r | |
192 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
193 | __RUNTIME_LIBS_10 = D\r | |
194 | !endif\r | |
195 | !if "$(RUNTIME_LIBS)" == "static"\r | |
196 | __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)\r | |
197 | !endif\r | |
198 | !if "$(USE_RTTI)" == "0"\r | |
199 | __RTTIFLAG_11 = \r | |
200 | !endif\r | |
201 | !if "$(USE_RTTI)" == "1"\r | |
202 | __RTTIFLAG_11 = /GR\r | |
203 | !endif\r | |
204 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
205 | __EXCEPTIONSFLAG_12 = \r | |
206 | !endif\r | |
207 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
208 | __EXCEPTIONSFLAG_12 = /EHsc\r | |
209 | !endif\r | |
210 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
211 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
212 | !endif\r | |
213 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
214 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
215 | !endif\r | |
216 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
217 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r | |
218 | !endif\r | |
219 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
220 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r | |
221 | !endif\r | |
222 | !if "$(WXUNIV)" == "1"\r | |
223 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
224 | !endif\r | |
225 | !if "$(WXUNIV)" == "1"\r | |
226 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__\r | |
227 | !endif\r | |
228 | !if "$(DEBUG_FLAG)" == "0"\r | |
229 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
230 | !endif\r | |
231 | !if "$(DEBUG_FLAG)" == "0"\r | |
232 | __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0\r | |
233 | !endif\r | |
234 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
235 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
236 | !endif\r | |
237 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
238 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
239 | !endif\r | |
240 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
241 | __NDEBUG_DEFINE_p_1 = /d NDEBUG\r | |
242 | !endif\r | |
243 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
244 | __NDEBUG_DEFINE_p_1 = /d NDEBUG\r | |
245 | !endif\r | |
246 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
247 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
248 | !endif\r | |
249 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
250 | __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS\r | |
251 | !endif\r | |
252 | !if "$(USE_RTTI)" == "0"\r | |
253 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
254 | !endif\r | |
255 | !if "$(USE_RTTI)" == "0"\r | |
256 | __RTTI_DEFINE_p_1 = /d wxNO_RTTI\r | |
257 | !endif\r | |
258 | !if "$(USE_THREADS)" == "0"\r | |
259 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
260 | !endif\r | |
261 | !if "$(USE_THREADS)" == "0"\r | |
262 | __THREAD_DEFINE_p_1 = /d wxNO_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 "$(UNICODE)" == "0"\r | |
271 | __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0\r | |
272 | !endif\r | |
273 | !if "$(UNICODE)" == "1"\r | |
274 | __UNICODE_DEFINE_p_1 = /d _UNICODE\r | |
275 | !endif\r | |
276 | !if "$(MSLU)" == "1"\r | |
277 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
278 | !endif\r | |
279 | !if "$(MSLU)" == "1"\r | |
280 | __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1\r | |
281 | !endif\r | |
282 | !if "$(USE_CAIRO)" == "1"\r | |
283 | ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo\r | |
284 | !endif\r | |
285 | !if "$(USE_CAIRO)" == "1"\r | |
286 | ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo\r | |
287 | !endif\r | |
288 | !if "$(SHARED)" == "1"\r | |
289 | __DLLFLAG_p = /DWXUSINGDLL\r | |
290 | !endif\r | |
291 | !if "$(SHARED)" == "1"\r | |
292 | __DLLFLAG_p_1 = /d WXUSINGDLL\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$(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_p = /LIBPATH:$(CAIRO_ROOT)\lib\r | |
323 | !endif\r | |
324 | \r | |
325 | \r | |
326 | all: $(OBJS)\r | |
327 | $(OBJS):\r | |
328 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
329 | \r | |
330 | ### Targets: ###\r | |
331 | \r | |
332 | all: $(OBJS)\oleauto.exe\r | |
333 | \r | |
334 | clean: \r | |
335 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
336 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
337 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
338 | -if exist $(OBJS)\oleauto.exe del $(OBJS)\oleauto.exe\r | |
339 | -if exist $(OBJS)\oleauto.ilk del $(OBJS)\oleauto.ilk\r | |
340 | -if exist $(OBJS)\oleauto.pdb del $(OBJS)\oleauto.pdb\r | |
341 | \r | |
342 | $(OBJS)\oleauto.exe: $(OLEAUTO_OBJECTS) $(OBJS)\oleauto_sample.res\r | |
343 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\oleauto.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<\r | |
344 | $(OLEAUTO_OBJECTS) $(OLEAUTO_RESOURCES) $(__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\r | |
345 | <<\r | |
346 | \r | |
347 | $(OBJS)\oleauto_sample.res: .\..\..\samples\sample.rc\r | |
348 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc\r | |
349 | \r | |
350 | $(OBJS)\oleauto_oleauto.obj: .\oleauto.cpp\r | |
351 | $(CXX) /c /nologo /TP /Fo$@ $(OLEAUTO_CXXFLAGS) .\oleauto.cpp\r | |
352 | \r |