]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/fl/makefile.gcc
documented wxSL_BOTTOM, clarified the others
[wxWidgets.git] / contrib / build / fl / makefile.gcc
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
7 include ../../../build/msw/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 25
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
17 OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 FLDLL_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)
29 FLDLL_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
49 FLLIB_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)
55 FLLIB_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
77 ifeq ($(GCC_VERSION),2.95)
78 GCCFLAGS = -fvtable-thunks
79 endif
80 ifeq ($(USE_GUI),0)
81 PORTNAME = base
82 endif
83 ifeq ($(USE_GUI),1)
84 PORTNAME = msw
85 endif
86 ifeq ($(OFFICIAL_BUILD),0)
87 VENDORTAG = _$(VENDOR)
88 endif
89 ifeq ($(OFFICIAL_BUILD),1)
90 VENDORTAG =
91 endif
92 ifeq ($(BUILD),debug)
93 ifeq ($(DEBUG_FLAG),default)
94 WXDEBUGFLAG = d
95 endif
96 endif
97 ifeq ($(DEBUG_FLAG),1)
98 WXDEBUGFLAG = d
99 endif
100 ifeq ($(UNICODE),1)
101 WXUNICODEFLAG = u
102 endif
103 ifeq ($(WXUNIV),1)
104 WXUNIVNAME = univ
105 endif
106 ifeq ($(SHARED),1)
107 WXDLLFLAG = dll
108 endif
109 ifeq ($(SHARED),0)
110 LIBTYPE_SUFFIX = lib
111 endif
112 ifeq ($(SHARED),1)
113 LIBTYPE_SUFFIX = dll
114 endif
115 ifeq ($(MONOLITHIC),0)
116 EXTRALIBS_FOR_BASE =
117 endif
118 ifeq ($(MONOLITHIC),1)
119 EXTRALIBS_FOR_BASE =
120 endif
121 ifeq ($(SHARED),1)
122 __fldll___depname = \
123 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
124 endif
125 ifeq ($(WXUNIV),1)
126 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
127 endif
128 ifeq ($(BUILD),debug)
129 ifeq ($(DEBUG_FLAG),default)
130 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
131 endif
132 endif
133 ifeq ($(DEBUG_FLAG),1)
134 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
135 endif
136 ifeq ($(USE_EXCEPTIONS),0)
137 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
138 endif
139 ifeq ($(USE_RTTI),0)
140 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
141 endif
142 ifeq ($(USE_THREADS),0)
143 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
144 endif
145 ifeq ($(UNICODE),1)
146 __UNICODE_DEFINE_p_1 = --define _UNICODE
147 endif
148 ifeq ($(MONOLITHIC),1)
149 __WXLIB_MONO_p = \
150 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
151 endif
152 ifeq ($(USE_GUI),1)
153 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
154 endif
155 ifeq ($(USE_GUI),1)
156 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
157 endif
158 ifeq ($(USE_GUI),1)
159 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
160 endif
161 ifeq ($(MSLU),1)
162 __UNICOWS_LIB_p = -lunicows
163 endif
164 ifeq ($(MONOLITHIC),0)
165 __WXLIB_CORE_p = \
166 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
167 endif
168 ifeq ($(MONOLITHIC),0)
169 __WXLIB_BASE_p = \
170 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
171 endif
172 ifeq ($(SHARED),0)
173 __fllib___depname = \
174 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
175 endif
176 ifeq ($(BUILD),debug)
177 ifeq ($(DEBUG_INFO),default)
178 __DEBUGINFO = -g
179 endif
180 endif
181 ifeq ($(BUILD),release)
182 ifeq ($(DEBUG_INFO),default)
183 __DEBUGINFO =
184 endif
185 endif
186 ifeq ($(DEBUG_INFO),0)
187 __DEBUGINFO =
188 endif
189 ifeq ($(DEBUG_INFO),1)
190 __DEBUGINFO = -g
191 endif
192 ifeq ($(BUILD),debug)
193 __OPTIMIZEFLAG = -O0
194 endif
195 ifeq ($(BUILD),release)
196 __OPTIMIZEFLAG = -O2
197 endif
198 ifeq ($(USE_THREADS),0)
199 __THREADSFLAG =
200 endif
201 ifeq ($(USE_THREADS),1)
202 __THREADSFLAG = -mthreads
203 endif
204 ifeq ($(USE_RTTI),0)
205 __RTTIFLAG = -fno-rtti
206 endif
207 ifeq ($(USE_RTTI),1)
208 __RTTIFLAG =
209 endif
210 ifeq ($(USE_EXCEPTIONS),0)
211 __EXCEPTIONSFLAG = -fno-exceptions
212 endif
213 ifeq ($(USE_EXCEPTIONS),1)
214 __EXCEPTIONSFLAG =
215 endif
216 ifeq ($(WXUNIV),1)
217 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
218 endif
219 ifeq ($(BUILD),debug)
220 ifeq ($(DEBUG_FLAG),default)
221 __DEBUG_DEFINE_p = -D__WXDEBUG__
222 endif
223 endif
224 ifeq ($(DEBUG_FLAG),1)
225 __DEBUG_DEFINE_p = -D__WXDEBUG__
226 endif
227 ifeq ($(USE_EXCEPTIONS),0)
228 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
229 endif
230 ifeq ($(USE_RTTI),0)
231 __RTTI_DEFINE_p = -DwxNO_RTTI
232 endif
233 ifeq ($(USE_THREADS),0)
234 __THREAD_DEFINE_p = -DwxNO_THREADS
235 endif
236 ifeq ($(UNICODE),1)
237 __UNICODE_DEFINE_p = -D_UNICODE
238 endif
239
240
241 all: $(OBJS)
242 $(OBJS):
243 -if not exist $(OBJS) mkdir $(OBJS)
244
245 ### Targets: ###
246
247 all: $(__fldll___depname) $(__fllib___depname)
248
249 clean:
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
255 ifeq ($(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)
258 endif
259
260 ifeq ($(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 $@
265 endif
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