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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
20 .\..\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
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__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) \
34 IFACECHECK_OBJECTS = \
35 $(OBJS)\ifacecheck_ifacecheck.obj \
36 $(OBJS)\ifacecheck_xmlparser.obj
38 ### Conditionally set variables: ###
40 !if "$(TOOLKIT)" == "GTK"
41 WIN32_TOOLKIT_LOWERCASE = gtk
43 !if "$(TOOLKIT)" == "MSW"
44 WIN32_TOOLKIT_LOWERCASE = msw
46 !if "$(TARGET_CPU)" == "AMD64"
49 !if "$(TARGET_CPU)" == "IA64"
52 !if "$(TARGET_CPU)" == "X64"
55 !if "$(TARGET_CPU)" == "amd64"
58 !if "$(TARGET_CPU)" == "ia64"
61 !if "$(TARGET_CPU)" == "x64"
64 !if "$(USE_GUI)" == "0"
67 !if "$(USE_GUI)" == "1"
68 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
70 !if "$(TOOLKIT)" == "MAC"
73 !if "$(OFFICIAL_BUILD)" == "1"
74 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
76 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
79 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
82 !if "$(UNICODE)" == "1"
85 !if "$(WXUNIV)" == "1"
88 !if "$(SHARED)" == "1"
91 !if "$(SHARED)" == "0"
94 !if "$(SHARED)" == "1"
97 !if "$(TARGET_CPU)" == "AMD64"
98 LINK_TARGET_CPU = /MACHINE:X64
100 !if "$(TARGET_CPU)" == "IA64"
101 LINK_TARGET_CPU = /MACHINE:IA64
103 !if "$(TARGET_CPU)" == "X64"
104 LINK_TARGET_CPU = /MACHINE:X64
106 !if "$(TARGET_CPU)" == "amd64"
107 LINK_TARGET_CPU = /MACHINE:X64
109 !if "$(TARGET_CPU)" == "ia64"
110 LINK_TARGET_CPU = /MACHINE:IA64
112 !if "$(TARGET_CPU)" == "x64"
113 LINK_TARGET_CPU = /MACHINE:X64
115 !if "$(MONOLITHIC)" == "0"
118 !if "$(MONOLITHIC)" == "1"
121 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
124 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
127 !if "$(DEBUG_INFO)" == "0"
130 !if "$(DEBUG_INFO)" == "1"
133 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
134 __DEBUGINFO_1 = /DEBUG
136 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
139 !if "$(DEBUG_INFO)" == "0"
142 !if "$(DEBUG_INFO)" == "1"
143 __DEBUGINFO_1 = /DEBUG
145 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
146 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
148 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
151 !if "$(DEBUG_INFO)" == "0"
154 !if "$(DEBUG_INFO)" == "1"
155 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
157 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
158 ____DEBUGRUNTIME_3_p = /D_DEBUG
160 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
161 ____DEBUGRUNTIME_3_p =
163 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
164 ____DEBUGRUNTIME_3_p =
166 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
167 ____DEBUGRUNTIME_3_p = /D_DEBUG
169 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
172 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
175 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
178 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
181 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
184 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
185 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
187 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
188 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
190 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
193 !if "$(BUILD)" == "debug"
194 __OPTIMIZEFLAG_6 = /Od
196 !if "$(BUILD)" == "release"
197 __OPTIMIZEFLAG_6 = /O2
199 !if "$(USE_THREADS)" == "0"
202 !if "$(USE_THREADS)" == "1"
205 !if "$(RUNTIME_LIBS)" == "dynamic"
206 __RUNTIME_LIBS_10 = D
208 !if "$(RUNTIME_LIBS)" == "static"
209 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
211 !if "$(USE_RTTI)" == "0"
214 !if "$(USE_RTTI)" == "1"
217 !if "$(USE_EXCEPTIONS)" == "0"
218 __EXCEPTIONSFLAG_12 =
220 !if "$(USE_EXCEPTIONS)" == "1"
221 __EXCEPTIONSFLAG_12 = /EHsc
223 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
224 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
226 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
227 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
229 !if "$(WXUNIV)" == "1"
230 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
232 !if "$(DEBUG_FLAG)" == "0"
233 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
235 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
236 __NDEBUG_DEFINE_p = /DNDEBUG
238 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
239 __NDEBUG_DEFINE_p = /DNDEBUG
241 !if "$(USE_EXCEPTIONS)" == "0"
242 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
244 !if "$(USE_RTTI)" == "0"
245 __RTTI_DEFINE_p = /DwxNO_RTTI
247 !if "$(USE_THREADS)" == "0"
248 __THREAD_DEFINE_p = /DwxNO_THREADS
250 !if "$(UNICODE)" == "0"
251 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
253 !if "$(UNICODE)" == "1"
254 __UNICODE_DEFINE_p = /D_UNICODE
257 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
259 !if "$(USE_CAIRO)" == "1"
260 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
262 !if "$(SHARED)" == "1"
263 __DLLFLAG_p = /DWXUSINGDLL
265 !if "$(MONOLITHIC)" == "0"
267 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
269 !if "$(MONOLITHIC)" == "0"
271 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
273 !if "$(MONOLITHIC)" == "1"
275 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
277 !if "$(MONOLITHIC)" == "1"
278 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
280 !if "$(USE_GUI)" == "1"
281 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
284 __UNICOWS_LIB_p = unicows.lib
286 !if "$(USE_CAIRO)" == "1"
287 __CAIRO_LIB_p = cairo.lib
289 !if "$(USE_CAIRO)" == "1"
290 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
296 -if not exist $(OBJS) mkdir $(OBJS)
300 all: $(OBJS)\ifacecheck.exe
303 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
304 -if exist $(OBJS)\*.res del $(OBJS)\*.res
305 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
306 -if exist $(OBJS)\ifacecheck.exe del $(OBJS)\ifacecheck.exe
307 -if exist $(OBJS)\ifacecheck.ilk del $(OBJS)\ifacecheck.ilk
308 -if exist $(OBJS)\ifacecheck.pdb del $(OBJS)\ifacecheck.pdb
310 $(OBJS)\ifacecheck.exe: $(IFACECHECK_OBJECTS)
311 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\ifacecheck.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
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
315 $(OBJS)\ifacecheck_ifacecheck.obj: .\ifacecheck.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(IFACECHECK_CXXFLAGS) .\ifacecheck.cpp
318 $(OBJS)\ifacecheck_xmlparser.obj: .\xmlparser.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(IFACECHECK_CXXFLAGS) .\xmlparser.cpp