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