]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/configtool/src/makefile.gcc
Updates to MIME-types and wxFileDialog code for better
[wxWidgets.git] / utils / configtool / src / makefile.gcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
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
15OBJS = \
16 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19WXCONFIGTOOL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \
22 $(__DLLFLAG_p) -I.\..\..\..\samples $(__EXCEPTIONSFLAG_4) \
23 $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) $(CXXFLAGS)
24WXCONFIGTOOL_OBJECTS = \
25 $(OBJS)\wxconfigtool_sample_rc.o \
26 $(OBJS)\wxconfigtool_wxconfigtool.o \
27 $(OBJS)\wxconfigtool_appsettings.o \
28 $(OBJS)\wxconfigtool_configitem.o \
29 $(OBJS)\wxconfigtool_configitemselector.o \
30 $(OBJS)\wxconfigtool_configtooldoc.o \
31 $(OBJS)\wxconfigtool_configtoolview.o \
32 $(OBJS)\wxconfigtool_configtree.o \
33 $(OBJS)\wxconfigtool_custompropertydialog.o \
34 $(OBJS)\wxconfigtool_htmlparser.o \
35 $(OBJS)\wxconfigtool_mainframe.o \
36 $(OBJS)\wxconfigtool_propeditor.o \
37 $(OBJS)\wxconfigtool_property.o \
38 $(OBJS)\wxconfigtool_settingsdialog.o \
39 $(OBJS)\wxconfigtool_utils.o
40
41### Conditionally set variables: ###
42
43ifeq ($(GCC_VERSION),2.95)
44GCCFLAGS = -fvtable-thunks
45endif
46ifeq ($(USE_GUI),0)
47PORTNAME = base
48endif
49ifeq ($(USE_GUI),1)
50PORTNAME = msw
51endif
52ifeq ($(BUILD),debug)
53ifeq ($(DEBUG_FLAG),default)
54WXDEBUGFLAG = d
55endif
56endif
57ifeq ($(DEBUG_FLAG),1)
58WXDEBUGFLAG = d
59endif
60ifeq ($(UNICODE),1)
61WXUNICODEFLAG = u
62endif
63ifeq ($(WXUNIV),1)
64WXUNIVNAME = univ
65endif
66ifeq ($(SHARED),1)
67WXDLLFLAG = dll
68endif
69ifeq ($(BUILD),debug)
70__OPTIMIZEFLAG_2 = -O0
71endif
72ifeq ($(BUILD),release)
73__OPTIMIZEFLAG_2 = -O2
74endif
75ifeq ($(USE_EXCEPTIONS),0)
76__EXCEPTIONSFLAG_4 = -fno-rtti
77endif
78ifeq ($(USE_EXCEPTIONS),1)
79__EXCEPTIONSFLAG_4 =
80endif
81ifeq ($(USE_EXCEPTIONS),0)
82__EXCEPTIONSFLAG_5 = -fno-exceptions
83endif
84ifeq ($(USE_EXCEPTIONS),1)
85__EXCEPTIONSFLAG_5 =
86endif
87ifeq ($(WXUNIV),1)
88__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
89endif
90ifeq ($(WXUNIV),1)
91__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
92endif
93ifeq ($(BUILD),debug)
94ifeq ($(DEBUG_FLAG),default)
95__DEBUG_DEFINE_p = -D__WXDEBUG__
96endif
97endif
98ifeq ($(DEBUG_FLAG),1)
99__DEBUG_DEFINE_p = -D__WXDEBUG__
100endif
101ifeq ($(BUILD),debug)
102ifeq ($(DEBUG_FLAG),default)
103__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
104endif
105endif
106ifeq ($(DEBUG_FLAG),1)
107__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
108endif
109ifeq ($(UNICODE),1)
110__UNICODE_DEFINE_p = -D_UNICODE
111endif
112ifeq ($(UNICODE),1)
113__UNICODE_DEFINE_p_1 = --define _UNICODE
114endif
115ifeq ($(SHARED),1)
116__DLLFLAG_p = -DWXUSINGDLL
117endif
118ifeq ($(SHARED),1)
119__DLLFLAG_p_1 = --define WXUSINGDLL
120endif
121ifeq ($(MONOLITHIC),0)
122__WXLIB_ADV_p = \
123 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv
124endif
125ifeq ($(MONOLITHIC),0)
126__WXLIB_HTML_p = \
127 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
128endif
129ifeq ($(MONOLITHIC),0)
130__WXLIB_CORE_p = \
131 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
132endif
133ifeq ($(MONOLITHIC),0)
134__WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml
135endif
136ifeq ($(MONOLITHIC),0)
137__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
138endif
139ifeq ($(MONOLITHIC),1)
140__WXLIB_MONO_p = \
141 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
142endif
143ifeq ($(USE_GUI),1)
144__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
145endif
146ifeq ($(USE_GUI),1)
147__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
148endif
149ifeq ($(USE_GUI),1)
150__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
151endif
152ifeq ($(MSLU),1)
153__UNICOWS_LIB_p = -lunicows
154endif
155ifeq ($(SHARED),0)
156LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
157endif
158ifeq ($(SHARED),1)
159LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
160endif
161ifeq ($(BUILD),debug)
162ifeq ($(DEBUG_INFO),default)
163__DEBUGINFO = -g
164endif
165endif
166ifeq ($(BUILD),release)
167ifeq ($(DEBUG_INFO),default)
168__DEBUGINFO =
169endif
170endif
171ifeq ($(DEBUG_INFO),0)
172__DEBUGINFO =
173endif
174ifeq ($(DEBUG_INFO),1)
175__DEBUGINFO = -g
176endif
177
178
179all: $(OBJS)
180$(OBJS):
181 -if not exist $(OBJS) mkdir $(OBJS)
182
183### Targets: ###
184
185all: $(OBJS)\wxconfigtool.exe data
186
187clean:
188 -if exist $(OBJS)\*.o del $(OBJS)\*.o
189 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
190
191$(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample_rc.o
192 $(CXX) -o $@ $(WXCONFIGTOOL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
193
194data:
195 if not exist $(OBJS) mkdir $(OBJS)
196 for %%f in (wxwin250.wxs) do if not exist $(OBJS)\%%f copy .\..\configs\%%f $(OBJS)
197
198$(OBJS)\wxconfigtool_sample_rc.o: ./../../../samples/sample.rc
199 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../../samples
200
201$(OBJS)\wxconfigtool_wxconfigtool.o: ./wxconfigtool.cpp
202 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
203
204$(OBJS)\wxconfigtool_appsettings.o: ./appsettings.cpp
205 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
206
207$(OBJS)\wxconfigtool_configitem.o: ./configitem.cpp
208 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
209
210$(OBJS)\wxconfigtool_configitemselector.o: ./configitemselector.cpp
211 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
212
213$(OBJS)\wxconfigtool_configtooldoc.o: ./configtooldoc.cpp
214 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
215
216$(OBJS)\wxconfigtool_configtoolview.o: ./configtoolview.cpp
217 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
218
219$(OBJS)\wxconfigtool_configtree.o: ./configtree.cpp
220 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
221
222$(OBJS)\wxconfigtool_custompropertydialog.o: ./custompropertydialog.cpp
223 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
224
225$(OBJS)\wxconfigtool_htmlparser.o: ./htmlparser.cpp
226 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
227
228$(OBJS)\wxconfigtool_mainframe.o: ./mainframe.cpp
229 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
230
231$(OBJS)\wxconfigtool_propeditor.o: ./propeditor.cpp
232 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
233
234$(OBJS)\wxconfigtool_property.o: ./property.cpp
235 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
236
237$(OBJS)\wxconfigtool_settingsdialog.o: ./settingsdialog.cpp
238 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
239
240$(OBJS)\wxconfigtool_utils.o: ./utils.cpp
241 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
242
243.PHONY: all clean data