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