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