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