]> git.saurik.com Git - wxWidgets.git/blame - utils/ifacecheck/src/makefile.gcc
adding missing header for non-precomp build
[wxWidgets.git] / utils / ifacecheck / src / makefile.gcc
CommitLineData
29856611
VZ
1# =========================================================================
2# This makefile was generated by
506e9b7e 3# Bakefile 0.2.5 (http://www.bakefile.org)
29856611
VZ
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7include ../../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
03c6117e 15CPPDEPS = -MT$@ -MF$@.d -MD -MP
29856611
VZ
16WX_RELEASE_NODOT = 29
17COMPILER_PREFIX = gcc
18OBJS = \
19 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20LIBDIRNAME = .\..\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
21SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23IFACECHECK_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
24 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
27 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \
28 $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) \
29 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
30IFACECHECK_OBJECTS = \
31 $(OBJS)\ifacecheck_ifacecheck.o \
32 $(OBJS)\ifacecheck_xmlparser.o
33
34### Conditionally set variables: ###
35
36ifeq ($(GCC_VERSION),2.95)
37GCCFLAGS = -fvtable-thunks
38endif
39ifeq ($(USE_GUI),0)
40PORTNAME = base
41endif
42ifeq ($(USE_GUI),1)
43PORTNAME = msw
44endif
45ifeq ($(BUILD),debug)
46ifeq ($(DEBUG_FLAG),default)
47WXDEBUGFLAG = d
48endif
49endif
50ifeq ($(DEBUG_FLAG),1)
51WXDEBUGFLAG = d
52endif
53ifeq ($(UNICODE),1)
54WXUNICODEFLAG = u
55endif
56ifeq ($(WXUNIV),1)
57WXUNIVNAME = univ
58endif
59ifeq ($(SHARED),1)
60WXDLLFLAG = dll
61endif
62ifeq ($(SHARED),0)
63LIBTYPE_SUFFIX = lib
64endif
65ifeq ($(SHARED),1)
66LIBTYPE_SUFFIX = dll
67endif
68ifeq ($(MONOLITHIC),0)
69EXTRALIBS_FOR_BASE =
70endif
71ifeq ($(MONOLITHIC),1)
72EXTRALIBS_FOR_BASE =
73endif
74ifeq ($(BUILD),debug)
75__OPTIMIZEFLAG_2 = -O0
76endif
77ifeq ($(BUILD),release)
78__OPTIMIZEFLAG_2 = -O2
79endif
80ifeq ($(USE_RTTI),0)
81__RTTIFLAG_5 = -fno-rtti
82endif
83ifeq ($(USE_RTTI),1)
84__RTTIFLAG_5 =
85endif
86ifeq ($(USE_EXCEPTIONS),0)
87__EXCEPTIONSFLAG_6 = -fno-exceptions
88endif
89ifeq ($(USE_EXCEPTIONS),1)
90__EXCEPTIONSFLAG_6 =
91endif
92ifeq ($(WXUNIV),1)
93__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
94endif
95ifeq ($(BUILD),debug)
96ifeq ($(DEBUG_FLAG),default)
97__DEBUG_DEFINE_p = -D__WXDEBUG__
98endif
99endif
100ifeq ($(DEBUG_FLAG),1)
101__DEBUG_DEFINE_p = -D__WXDEBUG__
102endif
103ifeq ($(USE_EXCEPTIONS),0)
104__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
105endif
106ifeq ($(USE_RTTI),0)
107__RTTI_DEFINE_p = -DwxNO_RTTI
108endif
109ifeq ($(USE_THREADS),0)
110__THREAD_DEFINE_p = -DwxNO_THREADS
111endif
112ifeq ($(UNICODE),0)
113__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
114endif
115ifeq ($(UNICODE),1)
116__UNICODE_DEFINE_p = -D_UNICODE
117endif
118ifeq ($(MSLU),1)
119__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
120endif
121ifeq ($(USE_GDIPLUS),1)
122__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
123endif
124ifeq ($(SHARED),1)
125__DLLFLAG_p = -DWXUSINGDLL
126endif
127ifeq ($(MONOLITHIC),0)
128__WXLIB_XML_p = \
129 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
130endif
131ifeq ($(MONOLITHIC),0)
132__WXLIB_BASE_p = \
133 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
134endif
135ifeq ($(MONOLITHIC),1)
136__WXLIB_MONO_p = \
137 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
138endif
139ifeq ($(MSLU),1)
140__UNICOWS_LIB_p = -lunicows
141endif
142ifeq ($(USE_GDIPLUS),1)
143__GDIPLUS_LIB_p = -lgdiplus
144endif
145ifeq ($(BUILD),debug)
146ifeq ($(DEBUG_INFO),default)
147__DEBUGINFO = -g
148endif
149endif
150ifeq ($(BUILD),release)
151ifeq ($(DEBUG_INFO),default)
152__DEBUGINFO =
153endif
154endif
155ifeq ($(DEBUG_INFO),0)
156__DEBUGINFO =
157endif
158ifeq ($(DEBUG_INFO),1)
159__DEBUGINFO = -g
160endif
161ifeq ($(USE_THREADS),0)
162__THREADSFLAG =
163endif
164ifeq ($(USE_THREADS),1)
165__THREADSFLAG = -mthreads
166endif
167
168
169all: $(OBJS)
170$(OBJS):
171 -if not exist $(OBJS) mkdir $(OBJS)
172
173### Targets: ###
174
175all: $(OBJS)\ifacecheck.exe
176
177clean:
178 -if exist $(OBJS)\*.o del $(OBJS)\*.o
179 -if exist $(OBJS)\*.d del $(OBJS)\*.d
180 -if exist $(OBJS)\ifacecheck.exe del $(OBJS)\ifacecheck.exe
181
182$(OBJS)\ifacecheck.exe: $(IFACECHECK_OBJECTS)
03c6117e 183 $(CXX) -o $@ $(IFACECHECK_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(LDFLAGS) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
29856611
VZ
184
185$(OBJS)\ifacecheck_ifacecheck.o: ./ifacecheck.cpp
186 $(CXX) -c -o $@ $(IFACECHECK_CXXFLAGS) $(CPPDEPS) $<
187
188$(OBJS)\ifacecheck_xmlparser.o: ./xmlparser.cpp
189 $(CXX) -c -o $@ $(IFACECHECK_CXXFLAGS) $(CPPDEPS) $<
190
191.PHONY: all clean
192
193
194SHELL := $(COMSPEC)
195
196# Dependencies tracking:
197-include $(OBJS)/*.d