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