]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
bdc408c4 | 3 | # Bakefile 0.1.1 (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 | ||
3f55f5b8 VS |
15 | FLDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \ |
16 | -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
75a0a7b7 | 17 | $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) \ |
3f55f5b8 VS |
18 | -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL $(CXXFLAGS) |
19 | FLDLL_OBJECTS = \ | |
20 | $(OBJS)\fldll_dummy.o \ | |
21 | $(OBJS)\fldll_antiflickpl.o \ | |
22 | $(OBJS)\fldll_bardragpl.o \ | |
23 | $(OBJS)\fldll_barhintspl.o \ | |
24 | $(OBJS)\fldll_cbcustom.o \ | |
25 | $(OBJS)\fldll_controlbar.o \ | |
26 | $(OBJS)\fldll_dyntbar.o \ | |
27 | $(OBJS)\fldll_dyntbarhnd.o \ | |
28 | $(OBJS)\fldll_frmview.o \ | |
29 | $(OBJS)\fldll_garbagec.o \ | |
30 | $(OBJS)\fldll_gcupdatesmgr.o \ | |
31 | $(OBJS)\fldll_hintanimpl.o \ | |
32 | $(OBJS)\fldll_newbmpbtn.o \ | |
33 | $(OBJS)\fldll_panedrawpl.o \ | |
34 | $(OBJS)\fldll_rowdragpl.o \ | |
35 | $(OBJS)\fldll_rowlayoutpl.o \ | |
36 | $(OBJS)\fldll_toolwnd.o \ | |
37 | $(OBJS)\fldll_updatesmgr.o | |
38 | FLLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \ | |
39 | -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
75a0a7b7 | 40 | $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) \ |
3f55f5b8 VS |
41 | -I..\..\src\fl\..\..\include $(CXXFLAGS) |
42 | FLLIB_OBJECTS = \ | |
43 | $(OBJS)\fllib_dummy.o \ | |
44 | $(OBJS)\fllib_antiflickpl.o \ | |
45 | $(OBJS)\fllib_bardragpl.o \ | |
46 | $(OBJS)\fllib_barhintspl.o \ | |
47 | $(OBJS)\fllib_cbcustom.o \ | |
48 | $(OBJS)\fllib_controlbar.o \ | |
49 | $(OBJS)\fllib_dyntbar.o \ | |
50 | $(OBJS)\fllib_dyntbarhnd.o \ | |
51 | $(OBJS)\fllib_frmview.o \ | |
52 | $(OBJS)\fllib_garbagec.o \ | |
53 | $(OBJS)\fllib_gcupdatesmgr.o \ | |
54 | $(OBJS)\fllib_hintanimpl.o \ | |
55 | $(OBJS)\fllib_newbmpbtn.o \ | |
56 | $(OBJS)\fllib_panedrawpl.o \ | |
57 | $(OBJS)\fllib_rowdragpl.o \ | |
58 | $(OBJS)\fllib_rowlayoutpl.o \ | |
59 | $(OBJS)\fllib_toolwnd.o \ | |
60 | $(OBJS)\fllib_updatesmgr.o | |
3f55f5b8 VS |
61 | OBJS = \ |
62 | gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
75a0a7b7 VS |
63 | SETUPHDIR = \ |
64 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
250700e4 RD |
65 | |
66 | ### Conditionally set variables: ### | |
67 | ||
68 | ifeq ($(GCC_VERSION),2.95) | |
69 | GCCFLAGS = -fvtable-thunks | |
70 | endif | |
75a0a7b7 VS |
71 | ifeq ($(SHARED),0) |
72 | LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_lib$(CFG) | |
73 | endif | |
74 | ifeq ($(SHARED),1) | |
75 | LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_dll$(CFG) | |
76 | endif | |
250700e4 RD |
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) | |
3f55f5b8 VS |
90 | ifeq ($(DEBUG_FLAG),default) |
91 | WXDEBUGFLAG = d | |
92 | endif | |
93 | endif | |
94 | ifeq ($(DEBUG_FLAG),1) | |
250700e4 RD |
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) | |
3f55f5b8 VS |
107 | ifeq ($(DEBUG_INFO),default) |
108 | __DEBUGINFO = -g | |
109 | endif | |
250700e4 RD |
110 | endif |
111 | ifeq ($(BUILD),release) | |
3f55f5b8 VS |
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 | |
250700e4 RD |
121 | endif |
122 | ifeq ($(BUILD),debug) | |
3f55f5b8 VS |
123 | ifeq ($(DEBUG_FLAG),default) |
124 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
125 | endif | |
126 | endif | |
127 | ifeq ($(DEBUG_FLAG),1) | |
250700e4 RD |
128 | __DEBUG_DEFINE_p = -D__WXDEBUG__ |
129 | endif | |
3f55f5b8 VS |
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 | |
250700e4 RD |
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 | |
2265a2d5 VS |
148 | ifeq ($(MSLU),1) |
149 | __UNICOWS_LIB_p = -lunicows | |
150 | endif | |
250700e4 RD |
151 | ifeq ($(MONOLITHIC),0) |
152 | __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
153 | endif | |
154 | ifeq ($(MONOLITHIC),0) | |
3f55f5b8 VS |
155 | __WXLIB_CORE_p = \ |
156 | -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core | |
250700e4 RD |
157 | endif |
158 | ifeq ($(MONOLITHIC),1) | |
3f55f5b8 VS |
159 | __WXLIB_MONO_p = \ |
160 | -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
250700e4 RD |
161 | endif |
162 | ifeq ($(WXUNIV),1) | |
163 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
164 | endif | |
165 | ifeq ($(SHARED),1) | |
3f55f5b8 VS |
166 | __fldll___depname = \ |
167 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll | |
250700e4 RD |
168 | endif |
169 | ifeq ($(SHARED),0) | |
3f55f5b8 VS |
170 | __fllib___depname = \ |
171 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a | |
250700e4 RD |
172 | endif |
173 | ||
174 | ||
175 | all: $(OBJS) | |
176 | $(OBJS): | |
177 | -if not exist $(OBJS) mkdir $(OBJS) | |
178 | ||
179 | ### Targets: ### | |
180 | ||
181 | all: $(__fldll___depname) $(__fllib___depname) | |
182 | ||
1c3a6972 | 183 | $(OBJS)\fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp |
250700e4 RD |
184 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
185 | ||
1c3a6972 | 186 | $(OBJS)\fldll_bardragpl.o: ../../src/fl/bardragpl.cpp |
250700e4 RD |
187 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
188 | ||
1c3a6972 | 189 | $(OBJS)\fldll_barhintspl.o: ../../src/fl/barhintspl.cpp |
250700e4 RD |
190 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
191 | ||
1c3a6972 | 192 | $(OBJS)\fldll_cbcustom.o: ../../src/fl/cbcustom.cpp |
250700e4 RD |
193 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
194 | ||
1c3a6972 | 195 | $(OBJS)\fldll_controlbar.o: ../../src/fl/controlbar.cpp |
250700e4 RD |
196 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
197 | ||
1c3a6972 | 198 | $(OBJS)\fldll_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp |
250700e4 RD |
199 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
200 | ||
1c3a6972 | 201 | $(OBJS)\fldll_dyntbar.o: ../../src/fl/dyntbar.cpp |
250700e4 RD |
202 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
203 | ||
1c3a6972 | 204 | $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp |
250700e4 RD |
205 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
206 | ||
1c3a6972 | 207 | $(OBJS)\fldll_frmview.o: ../../src/fl/frmview.cpp |
250700e4 RD |
208 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
209 | ||
1c3a6972 | 210 | $(OBJS)\fldll_garbagec.o: ../../src/fl/garbagec.cpp |
250700e4 RD |
211 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
212 | ||
1c3a6972 | 213 | $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp |
250700e4 RD |
214 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
215 | ||
1c3a6972 | 216 | $(OBJS)\fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp |
250700e4 RD |
217 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
218 | ||
1c3a6972 | 219 | $(OBJS)\fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp |
250700e4 RD |
220 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
221 | ||
1c3a6972 | 222 | $(OBJS)\fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp |
250700e4 RD |
223 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
224 | ||
1c3a6972 | 225 | $(OBJS)\fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp |
250700e4 RD |
226 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
227 | ||
1c3a6972 | 228 | $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp |
250700e4 RD |
229 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
230 | ||
1c3a6972 | 231 | $(OBJS)\fldll_toolwnd.o: ../../src/fl/toolwnd.cpp |
250700e4 RD |
232 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
233 | ||
1c3a6972 | 234 | $(OBJS)\fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp |
250700e4 RD |
235 | $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $< |
236 | ||
1c3a6972 | 237 | $(OBJS)\fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp |
250700e4 RD |
238 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
239 | ||
1c3a6972 | 240 | $(OBJS)\fllib_bardragpl.o: ../../src/fl/bardragpl.cpp |
250700e4 RD |
241 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
242 | ||
1c3a6972 | 243 | $(OBJS)\fllib_barhintspl.o: ../../src/fl/barhintspl.cpp |
250700e4 RD |
244 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
245 | ||
1c3a6972 | 246 | $(OBJS)\fllib_cbcustom.o: ../../src/fl/cbcustom.cpp |
250700e4 RD |
247 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
248 | ||
1c3a6972 | 249 | $(OBJS)\fllib_controlbar.o: ../../src/fl/controlbar.cpp |
250700e4 RD |
250 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
251 | ||
1c3a6972 | 252 | $(OBJS)\fllib_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp |
250700e4 RD |
253 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
254 | ||
1c3a6972 | 255 | $(OBJS)\fllib_dyntbar.o: ../../src/fl/dyntbar.cpp |
250700e4 RD |
256 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
257 | ||
1c3a6972 | 258 | $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp |
250700e4 RD |
259 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
260 | ||
1c3a6972 | 261 | $(OBJS)\fllib_frmview.o: ../../src/fl/frmview.cpp |
250700e4 RD |
262 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
263 | ||
1c3a6972 | 264 | $(OBJS)\fllib_garbagec.o: ../../src/fl/garbagec.cpp |
250700e4 RD |
265 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
266 | ||
1c3a6972 | 267 | $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp |
250700e4 RD |
268 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
269 | ||
1c3a6972 | 270 | $(OBJS)\fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp |
250700e4 RD |
271 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
272 | ||
1c3a6972 | 273 | $(OBJS)\fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp |
250700e4 RD |
274 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
275 | ||
1c3a6972 | 276 | $(OBJS)\fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp |
250700e4 RD |
277 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
278 | ||
1c3a6972 | 279 | $(OBJS)\fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp |
250700e4 RD |
280 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
281 | ||
1c3a6972 | 282 | $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp |
250700e4 RD |
283 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
284 | ||
1c3a6972 | 285 | $(OBJS)\fllib_toolwnd.o: ../../src/fl/toolwnd.cpp |
250700e4 RD |
286 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
287 | ||
1c3a6972 | 288 | $(OBJS)\fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp |
250700e4 RD |
289 | $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $< |
290 | ||
291 | clean: | |
292 | -if exist $(OBJS)\*.o del $(OBJS)\*.o | |
3f55f5b8 VS |
293 | -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 |
294 | -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a | |
295 | -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a | |
250700e4 RD |
296 | |
297 | ifeq ($(SHARED),1) | |
3f55f5b8 | 298 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll: $(FLDLL_OBJECTS) |
2265a2d5 | 299 | $(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) |
250700e4 RD |
300 | endif |
301 | ||
302 | ifeq ($(SHARED),0) | |
3f55f5b8 | 303 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a: $(FLLIB_OBJECTS) |
250700e4 | 304 | if exist $@ del $@ |
3f55f5b8 | 305 | ar rcu $@ $(FLLIB_OBJECTS) |
250700e4 RD |
306 | ranlib $@ |
307 | endif | |
308 | ||
309 | .PHONY: all clean |