]> git.saurik.com Git - wxWidgets.git/blame - utils/ifacecheck/src/makefile.vc
prototype fixes (in particular fix missing default value initializers)
[wxWidgets.git] / utils / ifacecheck / src / makefile.vc
CommitLineData
5934cda1
FM
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.3 (http://www.bakefile.org)\r
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
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)\r
19LIBDIRNAME = \\r
20 .\..\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)\r
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
23IFACECHECK_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \\r
24 $(__DEBUGINFO_0) /Fd$(OBJS)\ifacecheck.pdb $(____DEBUGRUNTIME_2_p) \\r
25 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
26 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
27 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
28 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\..\include /W4 /I. \\r
29 $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 $(__RTTIFLAG_9) \\r
30 $(__EXCEPTIONSFLAG_10) $(CPPFLAGS) $(CXXFLAGS)\r
31IFACECHECK_OBJECTS = \\r
32 $(OBJS)\ifacecheck_ifacecheck.obj \\r
33 $(OBJS)\ifacecheck_xmlparser.obj\r
34\r
35### Conditionally set variables: ###\r
36\r
37!if "$(USE_GUI)" == "0"\r
38PORTNAME = base\r
39!endif\r
40!if "$(USE_GUI)" == "1"\r
41PORTNAME = msw\r
42!endif\r
43!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"\r
44WXDEBUGFLAG = d\r
45!endif\r
46!if "$(DEBUG_FLAG)" == "1"\r
47WXDEBUGFLAG = d\r
48!endif\r
49!if "$(UNICODE)" == "1"\r
50WXUNICODEFLAG = u\r
51!endif\r
52!if "$(WXUNIV)" == "1"\r
53WXUNIVNAME = univ\r
54!endif\r
55!if "$(TARGET_CPU)" == "amd64"\r
56DIR_SUFFIX_CPU = _amd64\r
57!endif\r
58!if "$(TARGET_CPU)" == "amd64"\r
59DIR_SUFFIX_CPU = _amd64\r
60!endif\r
61!if "$(TARGET_CPU)" == "ia64"\r
62DIR_SUFFIX_CPU = _ia64\r
63!endif\r
64!if "$(TARGET_CPU)" == "ia64"\r
65DIR_SUFFIX_CPU = _ia64\r
66!endif\r
67!if "$(SHARED)" == "1"\r
68WXDLLFLAG = dll\r
69!endif\r
70!if "$(SHARED)" == "0"\r
71LIBTYPE_SUFFIX = lib\r
72!endif\r
73!if "$(SHARED)" == "1"\r
74LIBTYPE_SUFFIX = dll\r
75!endif\r
76!if "$(TARGET_CPU)" == "amd64"\r
77LINK_TARGET_CPU = /MACHINE:AMD64\r
78!endif\r
79!if "$(TARGET_CPU)" == "amd64"\r
80LINK_TARGET_CPU = /MACHINE:AMD64\r
81!endif\r
82!if "$(TARGET_CPU)" == "ia64"\r
83LINK_TARGET_CPU = /MACHINE:IA64\r
84!endif\r
85!if "$(TARGET_CPU)" == "ia64"\r
86LINK_TARGET_CPU = /MACHINE:IA64\r
87!endif\r
88!if "$(MONOLITHIC)" == "0"\r
89EXTRALIBS_FOR_BASE = \r
90!endif\r
91!if "$(MONOLITHIC)" == "1"\r
92EXTRALIBS_FOR_BASE = \r
93!endif\r
94!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
95__DEBUGINFO_0 = /Zi\r
96!endif\r
97!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
98__DEBUGINFO_0 = \r
99!endif\r
100!if "$(DEBUG_INFO)" == "0"\r
101__DEBUGINFO_0 = \r
102!endif\r
103!if "$(DEBUG_INFO)" == "1"\r
104__DEBUGINFO_0 = /Zi\r
105!endif\r
106!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
107__DEBUGINFO_1 = /DEBUG\r
108!endif\r
109!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
110__DEBUGINFO_1 = \r
111!endif\r
112!if "$(DEBUG_INFO)" == "0"\r
113__DEBUGINFO_1 = \r
114!endif\r
115!if "$(DEBUG_INFO)" == "1"\r
116__DEBUGINFO_1 = /DEBUG\r
117!endif\r
118!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
119____DEBUGRUNTIME_2_p = /D_DEBUG\r
120!endif\r
121!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
122____DEBUGRUNTIME_2_p = \r
123!endif\r
124!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
125____DEBUGRUNTIME_2_p = \r
126!endif\r
127!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
128____DEBUGRUNTIME_2_p = /D_DEBUG\r
129!endif\r
130!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
131__DEBUGRUNTIME_3 = d\r
132!endif\r
133!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
134__DEBUGRUNTIME_3 = \r
135!endif\r
136!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
137__DEBUGRUNTIME_3 = \r
138!endif\r
139!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
140__DEBUGRUNTIME_3 = d\r
141!endif\r
142!if "$(BUILD)" == "debug"\r
143__OPTIMIZEFLAG_4 = /Od\r
144!endif\r
145!if "$(BUILD)" == "release"\r
146__OPTIMIZEFLAG_4 = /O2\r
147!endif\r
148!if "$(USE_THREADS)" == "0"\r
149__THREADSFLAG_7 = L\r
150!endif\r
151!if "$(USE_THREADS)" == "1"\r
152__THREADSFLAG_7 = T\r
153!endif\r
154!if "$(RUNTIME_LIBS)" == "dynamic"\r
155__RUNTIME_LIBS_8 = D\r
156!endif\r
157!if "$(RUNTIME_LIBS)" == "static"\r
158__RUNTIME_LIBS_8 = $(__THREADSFLAG_7)\r
159!endif\r
160!if "$(USE_RTTI)" == "0"\r
161__RTTIFLAG_9 = \r
162!endif\r
163!if "$(USE_RTTI)" == "1"\r
164__RTTIFLAG_9 = /GR\r
165!endif\r
166!if "$(USE_EXCEPTIONS)" == "0"\r
167__EXCEPTIONSFLAG_10 = \r
168!endif\r
169!if "$(USE_EXCEPTIONS)" == "1"\r
170__EXCEPTIONSFLAG_10 = /EHsc\r
171!endif\r
172!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
173__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
174!endif\r
175!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
176__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
177!endif\r
178!if "$(WXUNIV)" == "1"\r
179__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r
180!endif\r
181!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"\r
182__DEBUG_DEFINE_p = /D__WXDEBUG__\r
183!endif\r
184!if "$(DEBUG_FLAG)" == "1"\r
185__DEBUG_DEFINE_p = /D__WXDEBUG__\r
186!endif\r
187!if "$(USE_EXCEPTIONS)" == "0"\r
188__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r
189!endif\r
190!if "$(USE_RTTI)" == "0"\r
191__RTTI_DEFINE_p = /DwxNO_RTTI\r
192!endif\r
193!if "$(USE_THREADS)" == "0"\r
194__THREAD_DEFINE_p = /DwxNO_THREADS\r
195!endif\r
196!if "$(UNICODE)" == "0"\r
197__UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r
198!endif\r
199!if "$(UNICODE)" == "1"\r
200__UNICODE_DEFINE_p = /D_UNICODE\r
201!endif\r
202!if "$(MSLU)" == "1"\r
203__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r
204!endif\r
205!if "$(USE_GDIPLUS)" == "1"\r
206__GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1\r
207!endif\r
208!if "$(SHARED)" == "1"\r
209__DLLFLAG_p = /DWXUSINGDLL\r
210!endif\r
211!if "$(MONOLITHIC)" == "0"\r
212__WXLIB_XML_p = \\r
213 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib\r
214!endif\r
215!if "$(MONOLITHIC)" == "0"\r
216__WXLIB_BASE_p = \\r
217 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
218!endif\r
219!if "$(MONOLITHIC)" == "1"\r
220__WXLIB_MONO_p = \\r
221 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
222!endif\r
223!if "$(MSLU)" == "1"\r
224__UNICOWS_LIB_p = unicows.lib\r
225!endif\r
226!if "$(USE_GDIPLUS)" == "1"\r
227__GDIPLUS_LIB_p = gdiplus.lib\r
228!endif\r
229\r
230\r
231all: $(OBJS)\r
232$(OBJS):\r
233 -if not exist $(OBJS) mkdir $(OBJS)\r
234\r
235### Targets: ###\r
236\r
237all: $(OBJS)\ifacecheck.exe\r
238\r
239clean: \r
240 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
241 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
242 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
243 -if exist $(OBJS)\ifacecheck.exe del $(OBJS)\ifacecheck.exe\r
244 -if exist $(OBJS)\ifacecheck.ilk del $(OBJS)\ifacecheck.ilk\r
245 -if exist $(OBJS)\ifacecheck.pdb del $(OBJS)\ifacecheck.pdb\r
246\r
247$(OBJS)\ifacecheck.exe: $(IFACECHECK_OBJECTS)\r
248 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /pdb:"$(OBJS)\ifacecheck.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<\r
249 $(IFACECHECK_OBJECTS) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_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\r
250<<\r
251\r
252$(OBJS)\ifacecheck_ifacecheck.obj: .\ifacecheck.cpp\r
253 $(CXX) /c /nologo /TP /Fo$@ $(IFACECHECK_CXXFLAGS) .\ifacecheck.cpp\r
254\r
255$(OBJS)\ifacecheck_xmlparser.obj: .\xmlparser.cpp\r
256 $(CXX) /c /nologo /TP /Fo$@ $(IFACECHECK_CXXFLAGS) .\xmlparser.cpp\r
257\r