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