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