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