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