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