]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/fl/makefile.gcc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / fl / makefile.gcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
17 OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 FLDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
23 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) -W -Wall \
25 -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy \
27 $(CPPFLAGS) $(CXXFLAGS)
28 FLDLL_OBJECTS = \
29 $(OBJS)\fldll_dummy.o \
30 $(OBJS)\fldll_antiflickpl.o \
31 $(OBJS)\fldll_bardragpl.o \
32 $(OBJS)\fldll_barhintspl.o \
33 $(OBJS)\fldll_cbcustom.o \
34 $(OBJS)\fldll_controlbar.o \
35 $(OBJS)\fldll_dyntbar.o \
36 $(OBJS)\fldll_dyntbarhnd.o \
37 $(OBJS)\fldll_frmview.o \
38 $(OBJS)\fldll_garbagec.o \
39 $(OBJS)\fldll_gcupdatesmgr.o \
40 $(OBJS)\fldll_hintanimpl.o \
41 $(OBJS)\fldll_newbmpbtn.o \
42 $(OBJS)\fldll_panedrawpl.o \
43 $(OBJS)\fldll_rowdragpl.o \
44 $(OBJS)\fldll_rowlayoutpl.o \
45 $(OBJS)\fldll_toolwnd.o \
46 $(OBJS)\fldll_updatesmgr.o
47 FLLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
48 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
49 -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) -W -Wall \
50 -I..\..\src\fl\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
51 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
52 FLLIB_OBJECTS = \
53 $(OBJS)\fllib_dummy.o \
54 $(OBJS)\fllib_antiflickpl.o \
55 $(OBJS)\fllib_bardragpl.o \
56 $(OBJS)\fllib_barhintspl.o \
57 $(OBJS)\fllib_cbcustom.o \
58 $(OBJS)\fllib_controlbar.o \
59 $(OBJS)\fllib_dyntbar.o \
60 $(OBJS)\fllib_dyntbarhnd.o \
61 $(OBJS)\fllib_frmview.o \
62 $(OBJS)\fllib_garbagec.o \
63 $(OBJS)\fllib_gcupdatesmgr.o \
64 $(OBJS)\fllib_hintanimpl.o \
65 $(OBJS)\fllib_newbmpbtn.o \
66 $(OBJS)\fllib_panedrawpl.o \
67 $(OBJS)\fllib_rowdragpl.o \
68 $(OBJS)\fllib_rowlayoutpl.o \
69 $(OBJS)\fllib_toolwnd.o \
70 $(OBJS)\fllib_updatesmgr.o
71
72 ### Conditionally set variables: ###
73
74 ifeq ($(GCC_VERSION),2.95)
75 GCCFLAGS = -fvtable-thunks
76 endif
77 ifeq ($(USE_GUI),0)
78 PORTNAME = base
79 endif
80 ifeq ($(USE_GUI),1)
81 PORTNAME = msw
82 endif
83 ifeq ($(OFFICIAL_BUILD),0)
84 VENDORTAG = _$(VENDOR)
85 endif
86 ifeq ($(OFFICIAL_BUILD),1)
87 VENDORTAG =
88 endif
89 ifeq ($(BUILD),debug)
90 ifeq ($(DEBUG_FLAG),default)
91 WXDEBUGFLAG = d
92 endif
93 endif
94 ifeq ($(DEBUG_FLAG),1)
95 WXDEBUGFLAG = d
96 endif
97 ifeq ($(UNICODE),1)
98 WXUNICODEFLAG = u
99 endif
100 ifeq ($(WXUNIV),1)
101 WXUNIVNAME = univ
102 endif
103 ifeq ($(SHARED),1)
104 WXDLLFLAG = dll
105 endif
106 ifeq ($(SHARED),0)
107 LIBTYPE_SUFFIX = lib
108 endif
109 ifeq ($(SHARED),1)
110 LIBTYPE_SUFFIX = dll
111 endif
112 ifeq ($(MONOLITHIC),0)
113 EXTRALIBS_FOR_BASE =
114 endif
115 ifeq ($(MONOLITHIC),1)
116 EXTRALIBS_FOR_BASE =
117 endif
118 ifeq ($(SHARED),1)
119 __fldll___depname = \
120 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
121 endif
122 ifeq ($(MONOLITHIC),1)
123 __WXLIB_MONO_p = \
124 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
125 endif
126 ifeq ($(USE_GUI),1)
127 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
128 endif
129 ifeq ($(USE_GUI),1)
130 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
131 endif
132 ifeq ($(USE_GUI),1)
133 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
134 endif
135 ifeq ($(MSLU),1)
136 __UNICOWS_LIB_p = -lunicows
137 endif
138 ifeq ($(MONOLITHIC),0)
139 __WXLIB_CORE_p = \
140 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
141 endif
142 ifeq ($(MONOLITHIC),0)
143 __WXLIB_BASE_p = \
144 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
145 endif
146 ifeq ($(SHARED),0)
147 __fllib___depname = \
148 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
149 endif
150 ifeq ($(BUILD),debug)
151 ifeq ($(DEBUG_INFO),default)
152 __DEBUGINFO = -g
153 endif
154 endif
155 ifeq ($(BUILD),release)
156 ifeq ($(DEBUG_INFO),default)
157 __DEBUGINFO =
158 endif
159 endif
160 ifeq ($(DEBUG_INFO),0)
161 __DEBUGINFO =
162 endif
163 ifeq ($(DEBUG_INFO),1)
164 __DEBUGINFO = -g
165 endif
166 ifeq ($(BUILD),debug)
167 __OPTIMIZEFLAG = -O0
168 endif
169 ifeq ($(BUILD),release)
170 __OPTIMIZEFLAG = -O2
171 endif
172 ifeq ($(USE_EXCEPTIONS),0)
173 __EXCEPTIONSFLAG = -fno-rtti
174 endif
175 ifeq ($(USE_EXCEPTIONS),1)
176 __EXCEPTIONSFLAG =
177 endif
178 ifeq ($(USE_EXCEPTIONS),0)
179 __EXCEPTIONSFLAG_0 = -fno-exceptions
180 endif
181 ifeq ($(USE_EXCEPTIONS),1)
182 __EXCEPTIONSFLAG_0 =
183 endif
184 ifeq ($(WXUNIV),1)
185 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
186 endif
187 ifeq ($(BUILD),debug)
188 ifeq ($(DEBUG_FLAG),default)
189 __DEBUG_DEFINE_p = -D__WXDEBUG__
190 endif
191 endif
192 ifeq ($(DEBUG_FLAG),1)
193 __DEBUG_DEFINE_p = -D__WXDEBUG__
194 endif
195 ifeq ($(UNICODE),1)
196 __UNICODE_DEFINE_p = -D_UNICODE
197 endif
198
199
200 all: $(OBJS)
201 $(OBJS):
202 -if not exist $(OBJS) mkdir $(OBJS)
203
204 ### Targets: ###
205
206 all: $(__fldll___depname) $(__fllib___depname)
207
208 clean:
209 -if exist $(OBJS)\*.o del $(OBJS)\*.o
210 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
211 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
212 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
213
214 ifeq ($(SHARED),1)
215 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll: $(FLDLL_OBJECTS)
216 $(CXX) -shared -fPIC -o $@ $(FLDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
217 endif
218
219 ifeq ($(SHARED),0)
220 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a: $(FLLIB_OBJECTS)
221 if exist $@ del $@
222 ar rcu $@ $(FLLIB_OBJECTS)
223 ranlib $@
224 endif
225
226 $(OBJS)\fldll_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
227 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
228
229 $(OBJS)\fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp
230 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
231
232 $(OBJS)\fldll_bardragpl.o: ../../src/fl/bardragpl.cpp
233 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
234
235 $(OBJS)\fldll_barhintspl.o: ../../src/fl/barhintspl.cpp
236 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
237
238 $(OBJS)\fldll_cbcustom.o: ../../src/fl/cbcustom.cpp
239 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
240
241 $(OBJS)\fldll_controlbar.o: ../../src/fl/controlbar.cpp
242 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
243
244 $(OBJS)\fldll_dyntbar.o: ../../src/fl/dyntbar.cpp
245 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
246
247 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
248 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
249
250 $(OBJS)\fldll_frmview.o: ../../src/fl/frmview.cpp
251 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
252
253 $(OBJS)\fldll_garbagec.o: ../../src/fl/garbagec.cpp
254 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
255
256 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
257 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
258
259 $(OBJS)\fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp
260 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
261
262 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
263 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
264
265 $(OBJS)\fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp
266 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
267
268 $(OBJS)\fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp
269 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
270
271 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
272 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
273
274 $(OBJS)\fldll_toolwnd.o: ../../src/fl/toolwnd.cpp
275 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
276
277 $(OBJS)\fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp
278 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
279
280 $(OBJS)\fllib_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
281 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
282
283 $(OBJS)\fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp
284 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
285
286 $(OBJS)\fllib_bardragpl.o: ../../src/fl/bardragpl.cpp
287 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
288
289 $(OBJS)\fllib_barhintspl.o: ../../src/fl/barhintspl.cpp
290 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
291
292 $(OBJS)\fllib_cbcustom.o: ../../src/fl/cbcustom.cpp
293 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
294
295 $(OBJS)\fllib_controlbar.o: ../../src/fl/controlbar.cpp
296 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
297
298 $(OBJS)\fllib_dyntbar.o: ../../src/fl/dyntbar.cpp
299 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
300
301 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
302 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
303
304 $(OBJS)\fllib_frmview.o: ../../src/fl/frmview.cpp
305 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
306
307 $(OBJS)\fllib_garbagec.o: ../../src/fl/garbagec.cpp
308 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
309
310 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
311 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
312
313 $(OBJS)\fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp
314 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
315
316 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
317 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
318
319 $(OBJS)\fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp
320 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
321
322 $(OBJS)\fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp
323 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
324
325 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
326 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
327
328 $(OBJS)\fllib_toolwnd.o: ../../src/fl/toolwnd.cpp
329 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
330
331 $(OBJS)\fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp
332 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
333
334 .PHONY: all clean
335