]> git.saurik.com Git - wxWidgets.git/blame - utils/ifacecheck/src/makefile.vc
Small fixes after wxHtmlTagHandler::GetParser() addition.
[wxWidgets.git] / utils / ifacecheck / src / makefile.vc
CommitLineData
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
15WX_RELEASE_NODOT = 29\r
16COMPILER_PREFIX = vc\r
17OBJS = \\r
14b682f7 18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
f82b7036 19LIBDIRNAME = \\r
14b682f7 20 .\..\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
f82b7036
KO
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
23IFACECHECK_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
34IFACECHECK_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"
41WIN32_TOOLKIT_LOWERCASE = gtk
42!endif
43!if "$(TOOLKIT)" == "MSW"
44WIN32_TOOLKIT_LOWERCASE = msw
45!endif
14b682f7
VZ
46!if "$(TARGET_CPU)" == "AMD64"
47ARCH_SUFFIX = _x64
48!endif
49!if "$(TARGET_CPU)" == "IA64"
50ARCH_SUFFIX = _ia64
51!endif
52!if "$(TARGET_CPU)" == "X64"
53ARCH_SUFFIX = _x64
54!endif
55!if "$(TARGET_CPU)" == "amd64"
56ARCH_SUFFIX = _x64
57!endif
58!if "$(TARGET_CPU)" == "ia64"
59ARCH_SUFFIX = _ia64
60!endif
61!if "$(TARGET_CPU)" == "x64"
62ARCH_SUFFIX = _x64
63!endif
f82b7036
KO
64!if "$(USE_GUI)" == "0"\r
65PORTNAME = base\r
66!endif\r
67!if "$(USE_GUI)" == "1"\r
22a3b6e4
VZ
68PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
69!endif
70!if "$(TOOLKIT)" == "MAC"
71WXBASEPORT = _carbon
72!endif
14b682f7
VZ
73!if "$(OFFICIAL_BUILD)" == "1"
74COMPILER_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
77WXDEBUGFLAG = d\r
78!endif\r
79!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
80WXDEBUGFLAG = d\r
81!endif\r
82!if "$(UNICODE)" == "1"\r
83WXUNICODEFLAG = u\r
84!endif\r
85!if "$(WXUNIV)" == "1"\r
86WXUNIVNAME = univ\r
87!endif\r
f82b7036
KO
88!if "$(SHARED)" == "1"\r
89WXDLLFLAG = dll\r
90!endif\r
91!if "$(SHARED)" == "0"\r
92LIBTYPE_SUFFIX = lib\r
93!endif\r
94!if "$(SHARED)" == "1"\r
95LIBTYPE_SUFFIX = dll\r
96!endif\r
97!if "$(TARGET_CPU)" == "AMD64"\r
94b6ce7f 98LINK_TARGET_CPU = /MACHINE:X64\r
f82b7036
KO
99!endif\r
100!if "$(TARGET_CPU)" == "IA64"\r
101LINK_TARGET_CPU = /MACHINE:IA64\r
102!endif\r
14b682f7
VZ
103!if "$(TARGET_CPU)" == "X64"
104LINK_TARGET_CPU = /MACHINE:X64
105!endif
f82b7036 106!if "$(TARGET_CPU)" == "amd64"\r
94b6ce7f 107LINK_TARGET_CPU = /MACHINE:X64\r
f82b7036
KO
108!endif\r
109!if "$(TARGET_CPU)" == "ia64"\r
110LINK_TARGET_CPU = /MACHINE:IA64\r
111!endif\r
14b682f7
VZ
112!if "$(TARGET_CPU)" == "x64"
113LINK_TARGET_CPU = /MACHINE:X64
114!endif
f82b7036
KO
115!if "$(MONOLITHIC)" == "0"\r
116EXTRALIBS_FOR_BASE = \r
117!endif\r
118!if "$(MONOLITHIC)" == "1"\r
51ec29ea 119EXTRALIBS_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
294all: $(OBJS)\r
295$(OBJS):\r
296 -if not exist $(OBJS) mkdir $(OBJS)\r
297\r
298### Targets: ###\r
299\r
300all: $(OBJS)\ifacecheck.exe\r
301\r
302clean: \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