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