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