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__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
37 ### Conditionally set variables: ###
39 !if "$(TARGET_CPU)" == "AMD64"
42 !if "$(TARGET_CPU)" == "IA64"
45 !if "$(TARGET_CPU)" == "X64"
48 !if "$(TARGET_CPU)" == "amd64"
51 !if "$(TARGET_CPU)" == "ia64"
54 !if "$(TARGET_CPU)" == "x64"
57 !if "$(USE_GUI)" == "0"
60 !if "$(USE_GUI)" == "1"
63 !if "$(OFFICIAL_BUILD)" == "1"
64 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
66 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
69 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
72 !if "$(UNICODE)" == "1"
75 !if "$(WXUNIV)" == "1"
78 !if "$(SHARED)" == "1"
81 !if "$(SHARED)" == "0"
84 !if "$(SHARED)" == "1"
87 !if "$(TARGET_CPU)" == "AMD64"
88 LINK_TARGET_CPU = /MACHINE:X64
90 !if "$(TARGET_CPU)" == "IA64"
91 LINK_TARGET_CPU = /MACHINE:IA64
93 !if "$(TARGET_CPU)" == "X64"
94 LINK_TARGET_CPU = /MACHINE:X64
96 !if "$(TARGET_CPU)" == "amd64"
97 LINK_TARGET_CPU = /MACHINE:X64
99 !if "$(TARGET_CPU)" == "ia64"
100 LINK_TARGET_CPU = /MACHINE:IA64
102 !if "$(TARGET_CPU)" == "x64"
103 LINK_TARGET_CPU = /MACHINE:X64
105 !if "$(MONOLITHIC)" == "0"
108 !if "$(MONOLITHIC)" == "1"
111 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 !if "$(DEBUG_INFO)" == "0"
120 !if "$(DEBUG_INFO)" == "1"
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
124 __DEBUGINFO_1 = /DEBUG
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
129 !if "$(DEBUG_INFO)" == "0"
132 !if "$(DEBUG_INFO)" == "1"
133 __DEBUGINFO_1 = /DEBUG
135 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
136 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
138 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
141 !if "$(DEBUG_INFO)" == "0"
144 !if "$(DEBUG_INFO)" == "1"
145 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
147 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
148 ____DEBUGRUNTIME_3_p = /D_DEBUG
150 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
151 ____DEBUGRUNTIME_3_p =
153 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
154 ____DEBUGRUNTIME_3_p =
156 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
157 ____DEBUGRUNTIME_3_p = /D_DEBUG
159 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
162 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
165 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
168 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
171 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
174 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
175 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
177 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
178 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
180 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
183 !if "$(BUILD)" == "debug"
184 __OPTIMIZEFLAG_6 = /Od
186 !if "$(BUILD)" == "release"
187 __OPTIMIZEFLAG_6 = /O2
189 !if "$(USE_THREADS)" == "0"
192 !if "$(USE_THREADS)" == "1"
195 !if "$(RUNTIME_LIBS)" == "dynamic"
196 __RUNTIME_LIBS_10 = D
198 !if "$(RUNTIME_LIBS)" == "static"
199 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
201 !if "$(USE_RTTI)" == "0"
204 !if "$(USE_RTTI)" == "1"
207 !if "$(USE_EXCEPTIONS)" == "0"
208 __EXCEPTIONSFLAG_12 =
210 !if "$(USE_EXCEPTIONS)" == "1"
211 __EXCEPTIONSFLAG_12 = /EHsc
213 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
214 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
216 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
217 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
219 !if "$(WXUNIV)" == "1"
220 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
222 !if "$(DEBUG_FLAG)" == "0"
223 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
225 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
226 __NDEBUG_DEFINE_p = /DNDEBUG
228 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
229 __NDEBUG_DEFINE_p = /DNDEBUG
231 !if "$(USE_EXCEPTIONS)" == "0"
232 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
234 !if "$(USE_RTTI)" == "0"
235 __RTTI_DEFINE_p = /DwxNO_RTTI
237 !if "$(USE_THREADS)" == "0"
238 __THREAD_DEFINE_p = /DwxNO_THREADS
240 !if "$(UNICODE)" == "0"
241 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
243 !if "$(UNICODE)" == "1"
244 __UNICODE_DEFINE_p = /D_UNICODE
247 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
249 !if "$(USE_CAIRO)" == "1"
250 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
252 !if "$(SHARED)" == "1"
253 __DLLFLAG_p = /DWXUSINGDLL
255 !if "$(MONOLITHIC)" == "0"
257 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
259 !if "$(MONOLITHIC)" == "0"
261 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
263 !if "$(MONOLITHIC)" == "1"
265 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
267 !if "$(MONOLITHIC)" == "1"
268 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
270 !if "$(USE_GUI)" == "1"
271 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
274 __UNICOWS_LIB_p = unicows.lib
276 !if "$(USE_CAIRO)" == "1"
277 __CAIRO_LIB_p = cairo.lib
279 !if "$(USE_CAIRO)" == "1"
280 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
286 -if not exist $(OBJS) mkdir $(OBJS)
290 all: $(OBJS)\ifacecheck.exe
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
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
305 $(OBJS)\ifacecheck_ifacecheck.obj: .\ifacecheck.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(IFACECHECK_CXXFLAGS) .\ifacecheck.cpp
308 $(OBJS)\ifacecheck_xmlparser.obj: .\xmlparser.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(IFACECHECK_CXXFLAGS) .\xmlparser.cpp