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