]>
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)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX) | |
19 | LIBDIRNAME = \\r | |
20 | .\..\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
21 | SETUPHDIR = \\r | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | IFACECHECK_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \\r | |
24 | $(__DEBUGINFO_0) /Fd$(OBJS)\ifacecheck.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 \\r | |
31 | /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 $(__RTTIFLAG_11) \\r | |
32 | $(__EXCEPTIONSFLAG_12) $(CPPFLAGS) $(CXXFLAGS)\r | |
33 | IFACECHECK_OBJECTS = \\r | |
34 | $(OBJS)\ifacecheck_ifacecheck.obj \\r | |
35 | $(OBJS)\ifacecheck_xmlparser.obj\r | |
36 | \r | |
37 | ### Conditionally set variables: ###\r | |
38 | \r | |
39 | !if "$(TARGET_CPU)" == "AMD64" | |
40 | ARCH_SUFFIX = _x64 | |
41 | !endif | |
42 | !if "$(TARGET_CPU)" == "IA64" | |
43 | ARCH_SUFFIX = _ia64 | |
44 | !endif | |
45 | !if "$(TARGET_CPU)" == "X64" | |
46 | ARCH_SUFFIX = _x64 | |
47 | !endif | |
48 | !if "$(TARGET_CPU)" == "amd64" | |
49 | ARCH_SUFFIX = _x64 | |
50 | !endif | |
51 | !if "$(TARGET_CPU)" == "ia64" | |
52 | ARCH_SUFFIX = _ia64 | |
53 | !endif | |
54 | !if "$(TARGET_CPU)" == "x64" | |
55 | ARCH_SUFFIX = _x64 | |
56 | !endif | |
57 | !if "$(USE_GUI)" == "0"\r | |
58 | PORTNAME = base\r | |
59 | !endif\r | |
60 | !if "$(USE_GUI)" == "1"\r | |
61 | PORTNAME = msw\r | |
62 | !endif\r | |
63 | !if "$(OFFICIAL_BUILD)" == "1" | |
64 | COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD | |
65 | !endif | |
66 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
67 | WXDEBUGFLAG = d\r | |
68 | !endif\r | |
69 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
70 | WXDEBUGFLAG = d\r | |
71 | !endif\r | |
72 | !if "$(UNICODE)" == "1"\r | |
73 | WXUNICODEFLAG = u\r | |
74 | !endif\r | |
75 | !if "$(WXUNIV)" == "1"\r | |
76 | WXUNIVNAME = univ\r | |
77 | !endif\r | |
78 | !if "$(SHARED)" == "1"\r | |
79 | WXDLLFLAG = dll\r | |
80 | !endif\r | |
81 | !if "$(SHARED)" == "0"\r | |
82 | LIBTYPE_SUFFIX = lib\r | |
83 | !endif\r | |
84 | !if "$(SHARED)" == "1"\r | |
85 | LIBTYPE_SUFFIX = dll\r | |
86 | !endif\r | |
87 | !if "$(TARGET_CPU)" == "AMD64"\r | |
88 | LINK_TARGET_CPU = /MACHINE:X64\r | |
89 | !endif\r | |
90 | !if "$(TARGET_CPU)" == "IA64"\r | |
91 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
92 | !endif\r | |
93 | !if "$(TARGET_CPU)" == "X64" | |
94 | LINK_TARGET_CPU = /MACHINE:X64 | |
95 | !endif | |
96 | !if "$(TARGET_CPU)" == "amd64"\r | |
97 | LINK_TARGET_CPU = /MACHINE:X64\r | |
98 | !endif\r | |
99 | !if "$(TARGET_CPU)" == "ia64"\r | |
100 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
101 | !endif\r | |
102 | !if "$(TARGET_CPU)" == "x64" | |
103 | LINK_TARGET_CPU = /MACHINE:X64 | |
104 | !endif | |
105 | !if "$(MONOLITHIC)" == "0"\r | |
106 | EXTRALIBS_FOR_BASE = \r | |
107 | !endif\r | |
108 | !if "$(MONOLITHIC)" == "1"\r | |
109 | EXTRALIBS_FOR_BASE = \r | |
110 | !endif\r | |
111 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
112 | __DEBUGINFO_0 = /Zi\r | |
113 | !endif\r | |
114 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
115 | __DEBUGINFO_0 = \r | |
116 | !endif\r | |
117 | !if "$(DEBUG_INFO)" == "0"\r | |
118 | __DEBUGINFO_0 = \r | |
119 | !endif\r | |
120 | !if "$(DEBUG_INFO)" == "1"\r | |
121 | __DEBUGINFO_0 = /Zi\r | |
122 | !endif\r | |
123 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
124 | __DEBUGINFO_1 = /DEBUG\r | |
125 | !endif\r | |
126 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
127 | __DEBUGINFO_1 = \r | |
128 | !endif\r | |
129 | !if "$(DEBUG_INFO)" == "0"\r | |
130 | __DEBUGINFO_1 = \r | |
131 | !endif\r | |
132 | !if "$(DEBUG_INFO)" == "1"\r | |
133 | __DEBUGINFO_1 = /DEBUG\r | |
134 | !endif\r | |
135 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
136 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r | |
137 | !endif\r | |
138 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
139 | __DEBUGINFO_2 = \r | |
140 | !endif\r | |
141 | !if "$(DEBUG_INFO)" == "0"\r | |
142 | __DEBUGINFO_2 = \r | |
143 | !endif\r | |
144 | !if "$(DEBUG_INFO)" == "1"\r | |
145 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r | |
146 | !endif\r | |
147 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
148 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r | |
149 | !endif\r | |
150 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
151 | ____DEBUGRUNTIME_3_p = \r | |
152 | !endif\r | |
153 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
154 | ____DEBUGRUNTIME_3_p = \r | |
155 | !endif\r | |
156 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
157 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r | |
158 | !endif\r | |
159 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
160 | __DEBUGRUNTIME_4 = d\r | |
161 | !endif\r | |
162 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
163 | __DEBUGRUNTIME_4 = \r | |
164 | !endif\r | |
165 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
166 | __DEBUGRUNTIME_4 = \r | |
167 | !endif\r | |
168 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
169 | __DEBUGRUNTIME_4 = d\r | |
170 | !endif\r | |
171 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
172 | __DEBUGRUNTIME_5 = \r | |
173 | !endif\r | |
174 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
175 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r | |
176 | !endif\r | |
177 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
178 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r | |
179 | !endif\r | |
180 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
181 | __DEBUGRUNTIME_5 = \r | |
182 | !endif\r | |
183 | !if "$(BUILD)" == "debug"\r | |
184 | __OPTIMIZEFLAG_6 = /Od\r | |
185 | !endif\r | |
186 | !if "$(BUILD)" == "release"\r | |
187 | __OPTIMIZEFLAG_6 = /O2\r | |
188 | !endif\r | |
189 | !if "$(USE_THREADS)" == "0"\r | |
190 | __THREADSFLAG_9 = L\r | |
191 | !endif\r | |
192 | !if "$(USE_THREADS)" == "1"\r | |
193 | __THREADSFLAG_9 = T\r | |
194 | !endif\r | |
195 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
196 | __RUNTIME_LIBS_10 = D\r | |
197 | !endif\r | |
198 | !if "$(RUNTIME_LIBS)" == "static"\r | |
199 | __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)\r | |
200 | !endif\r | |
201 | !if "$(USE_RTTI)" == "0"\r | |
202 | __RTTIFLAG_11 = \r | |
203 | !endif\r | |
204 | !if "$(USE_RTTI)" == "1"\r | |
205 | __RTTIFLAG_11 = /GR\r | |
206 | !endif\r | |
207 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
208 | __EXCEPTIONSFLAG_12 = \r | |
209 | !endif\r | |
210 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
211 | __EXCEPTIONSFLAG_12 = /EHsc\r | |
212 | !endif\r | |
213 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
214 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
215 | !endif\r | |
216 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
217 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
218 | !endif\r | |
219 | !if "$(WXUNIV)" == "1"\r | |
220 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
221 | !endif\r | |
222 | !if "$(DEBUG_FLAG)" == "0"\r | |
223 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
224 | !endif\r | |
225 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
226 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
227 | !endif\r | |
228 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
229 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
230 | !endif\r | |
231 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
232 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
233 | !endif\r | |
234 | !if "$(USE_RTTI)" == "0"\r | |
235 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
236 | !endif\r | |
237 | !if "$(USE_THREADS)" == "0"\r | |
238 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
239 | !endif\r | |
240 | !if "$(UNICODE)" == "0"\r | |
241 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
242 | !endif\r | |
243 | !if "$(UNICODE)" == "1"\r | |
244 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
245 | !endif\r | |
246 | !if "$(MSLU)" == "1"\r | |
247 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
248 | !endif\r | |
249 | !if "$(USE_CAIRO)" == "1"\r | |
250 | ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo\r | |
251 | !endif\r | |
252 | !if "$(SHARED)" == "1"\r | |
253 | __DLLFLAG_p = /DWXUSINGDLL\r | |
254 | !endif\r | |
255 | !if "$(MONOLITHIC)" == "0"\r | |
256 | __WXLIB_XML_p = \\r | |
257 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib\r | |
258 | !endif\r | |
259 | !if "$(MONOLITHIC)" == "0"\r | |
260 | __WXLIB_BASE_p = \\r | |
261 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
262 | !endif\r | |
263 | !if "$(MONOLITHIC)" == "1"\r | |
264 | __WXLIB_MONO_p = \\r | |
265 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
266 | !endif\r | |
267 | !if "$(MONOLITHIC)" == "1"\r | |
268 | __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r | |
269 | !endif\r | |
270 | !if "$(USE_GUI)" == "1"\r | |
271 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
272 | !endif\r | |
273 | !if "$(MSLU)" == "1"\r | |
274 | __UNICOWS_LIB_p = unicows.lib\r | |
275 | !endif\r | |
276 | !if "$(USE_CAIRO)" == "1"\r | |
277 | __CAIRO_LIB_p = cairo.lib\r | |
278 | !endif\r | |
279 | !if "$(USE_CAIRO)" == "1"\r | |
280 | ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib\r | |
281 | !endif\r | |
282 | \r | |
283 | \r | |
284 | all: $(OBJS)\r | |
285 | $(OBJS):\r | |
286 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
287 | \r | |
288 | ### Targets: ###\r | |
289 | \r | |
290 | all: $(OBJS)\ifacecheck.exe\r | |
291 | \r | |
292 | clean: \r | |
293 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
294 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
295 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
296 | -if exist $(OBJS)\ifacecheck.exe del $(OBJS)\ifacecheck.exe\r | |
297 | -if exist $(OBJS)\ifacecheck.ilk del $(OBJS)\ifacecheck.ilk\r | |
298 | -if exist $(OBJS)\ifacecheck.pdb del $(OBJS)\ifacecheck.pdb\r | |
299 | \r | |
300 | $(OBJS)\ifacecheck.exe: $(IFACECHECK_OBJECTS)\r | |
301 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\ifacecheck.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<\r | |
302 | $(IFACECHECK_OBJECTS) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_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 | |
303 | <<\r | |
304 | \r | |
305 | $(OBJS)\ifacecheck_ifacecheck.obj: .\ifacecheck.cpp\r | |
306 | $(CXX) /c /nologo /TP /Fo$@ $(IFACECHECK_CXXFLAGS) .\ifacecheck.cpp\r | |
307 | \r | |
308 | $(OBJS)\ifacecheck_xmlparser.obj: .\xmlparser.cpp\r | |
309 | $(CXX) /c /nologo /TP /Fo$@ $(IFACECHECK_CXXFLAGS) .\xmlparser.cpp\r | |
310 | \r |