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