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