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 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 FLDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
16 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
17 -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) -Wall \
18 -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL \
19 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
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 = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
40 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
41 -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) -Wall \
42 -I..\..\src\fl\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
43 $(CPPFLAGS) $(CXXFLAGS)
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
64 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
66 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
68 ### Conditionally set variables: ###
70 ifeq ($(GCC_VERSION),2.95)
71 GCCFLAGS = -fvtable-thunks
74 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_lib$(CFG)
77 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_dll$(CFG)
85 ifeq ($(OFFICIAL_BUILD),0)
86 VENDORTAG = _$(VENDOR)
88 ifeq ($(OFFICIAL_BUILD),1)
92 ifeq ($(DEBUG_FLAG),default)
96 ifeq ($(DEBUG_FLAG),1)
108 ifeq ($(BUILD),debug)
109 ifeq ($(DEBUG_INFO),default)
113 ifeq ($(BUILD),release)
114 ifeq ($(DEBUG_INFO),default)
118 ifeq ($(DEBUG_INFO),0)
121 ifeq ($(DEBUG_INFO),1)
124 ifeq ($(BUILD),debug)
125 ifeq ($(DEBUG_FLAG),default)
126 __DEBUG_DEFINE_p = -D__WXDEBUG__
129 ifeq ($(DEBUG_FLAG),1)
130 __DEBUG_DEFINE_p = -D__WXDEBUG__
132 ifeq ($(USE_EXCEPTIONS),0)
133 __EXCEPTIONSFLAG = -fno-rtti
135 ifeq ($(USE_EXCEPTIONS),1)
138 ifeq ($(USE_EXCEPTIONS),0)
139 __EXCEPTIONSFLAG_0 = -fno-exceptions
141 ifeq ($(USE_EXCEPTIONS),1)
145 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
148 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
151 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
153 ifeq ($(BUILD),debug)
156 ifeq ($(BUILD),release)
160 __UNICODE_DEFINE_p = -D_UNICODE
163 __UNICOWS_LIB_p = -lunicows
165 ifeq ($(MONOLITHIC),0)
166 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
168 ifeq ($(MONOLITHIC),0)
170 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
172 ifeq ($(MONOLITHIC),1)
174 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
177 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
180 __fldll___depname = \
181 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll
184 __fllib___depname = \
185 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a
191 -if not exist $(OBJS) mkdir $(OBJS)
195 all: $(__fldll___depname) $(__fllib___depname)
197 $(OBJS)\fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp
198 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
200 $(OBJS)\fldll_bardragpl.o: ../../src/fl/bardragpl.cpp
201 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
203 $(OBJS)\fldll_barhintspl.o: ../../src/fl/barhintspl.cpp
204 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
206 $(OBJS)\fldll_cbcustom.o: ../../src/fl/cbcustom.cpp
207 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
209 $(OBJS)\fldll_controlbar.o: ../../src/fl/controlbar.cpp
210 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
212 $(OBJS)\fldll_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
213 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
215 $(OBJS)\fldll_dyntbar.o: ../../src/fl/dyntbar.cpp
216 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
218 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
219 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
221 $(OBJS)\fldll_frmview.o: ../../src/fl/frmview.cpp
222 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
224 $(OBJS)\fldll_garbagec.o: ../../src/fl/garbagec.cpp
225 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
227 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
228 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
230 $(OBJS)\fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp
231 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
233 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
234 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
236 $(OBJS)\fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp
237 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
239 $(OBJS)\fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp
240 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
242 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
243 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
245 $(OBJS)\fldll_toolwnd.o: ../../src/fl/toolwnd.cpp
246 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
248 $(OBJS)\fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp
249 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
251 $(OBJS)\fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp
252 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
254 $(OBJS)\fllib_bardragpl.o: ../../src/fl/bardragpl.cpp
255 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
257 $(OBJS)\fllib_barhintspl.o: ../../src/fl/barhintspl.cpp
258 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
260 $(OBJS)\fllib_cbcustom.o: ../../src/fl/cbcustom.cpp
261 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
263 $(OBJS)\fllib_controlbar.o: ../../src/fl/controlbar.cpp
264 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
266 $(OBJS)\fllib_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
267 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
269 $(OBJS)\fllib_dyntbar.o: ../../src/fl/dyntbar.cpp
270 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
272 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
273 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
275 $(OBJS)\fllib_frmview.o: ../../src/fl/frmview.cpp
276 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
278 $(OBJS)\fllib_garbagec.o: ../../src/fl/garbagec.cpp
279 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
281 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
282 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
284 $(OBJS)\fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp
285 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
287 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
288 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
290 $(OBJS)\fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp
291 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
293 $(OBJS)\fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp
294 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
296 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
297 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
299 $(OBJS)\fllib_toolwnd.o: ../../src/fl/toolwnd.cpp
300 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
302 $(OBJS)\fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp
303 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
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
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)
317 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a: $(FLLIB_OBJECTS)
319 ar rcu $@ $(FLLIB_OBJECTS)