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 = $(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) \
18 -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL $(CXXFLAGS)
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) \
40 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) \
41 -I..\..\src\fl\..\..\include $(CXXFLAGS)
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
62 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
64 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
66 ### Conditionally set variables: ###
68 ifeq ($(GCC_VERSION),2.95)
69 GCCFLAGS = -fvtable-thunks
72 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_lib$(CFG)
75 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_dll$(CFG)
83 ifeq ($(OFFICIAL_BUILD),0)
84 VENDORTAG = _$(VENDOR)
86 ifeq ($(OFFICIAL_BUILD),1)
90 ifeq ($(DEBUG_FLAG),default)
94 ifeq ($(DEBUG_FLAG),1)
106 ifeq ($(BUILD),debug)
107 ifeq ($(DEBUG_INFO),default)
111 ifeq ($(BUILD),release)
112 ifeq ($(DEBUG_INFO),default)
116 ifeq ($(DEBUG_INFO),0)
119 ifeq ($(DEBUG_INFO),1)
122 ifeq ($(BUILD),debug)
123 ifeq ($(DEBUG_FLAG),default)
124 __DEBUG_DEFINE_p = -D__WXDEBUG__
127 ifeq ($(DEBUG_FLAG),1)
128 __DEBUG_DEFINE_p = -D__WXDEBUG__
131 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
134 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
137 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
139 ifeq ($(BUILD),debug)
142 ifeq ($(BUILD),release)
146 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
149 __UNICOWS_LIB_p = -lunicows
151 ifeq ($(MONOLITHIC),0)
152 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
154 ifeq ($(MONOLITHIC),0)
156 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
158 ifeq ($(MONOLITHIC),1)
160 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
163 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
166 __fldll___depname = \
167 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll
170 __fllib___depname = \
171 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a
177 -if not exist $(OBJS) mkdir $(OBJS)
181 all: $(__fldll___depname) $(__fllib___depname)
183 $(OBJS)\fldll_antiflickpl.o: ../../src/fl\antiflickpl.cpp
184 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
186 $(OBJS)\fldll_bardragpl.o: ../../src/fl\bardragpl.cpp
187 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
189 $(OBJS)\fldll_barhintspl.o: ../../src/fl\barhintspl.cpp
190 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
192 $(OBJS)\fldll_cbcustom.o: ../../src/fl\cbcustom.cpp
193 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
195 $(OBJS)\fldll_controlbar.o: ../../src/fl\controlbar.cpp
196 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
198 $(OBJS)\fldll_dummy.o: ../../src/fl\..\..\..\src\msw\dummy.cpp
199 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
201 $(OBJS)\fldll_dyntbar.o: ../../src/fl\dyntbar.cpp
202 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
204 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl\dyntbarhnd.cpp
205 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
207 $(OBJS)\fldll_frmview.o: ../../src/fl\frmview.cpp
208 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
210 $(OBJS)\fldll_garbagec.o: ../../src/fl\garbagec.cpp
211 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
213 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl\gcupdatesmgr.cpp
214 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
216 $(OBJS)\fldll_hintanimpl.o: ../../src/fl\hintanimpl.cpp
217 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
219 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl\newbmpbtn.cpp
220 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
222 $(OBJS)\fldll_panedrawpl.o: ../../src/fl\panedrawpl.cpp
223 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
225 $(OBJS)\fldll_rowdragpl.o: ../../src/fl\rowdragpl.cpp
226 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
228 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl\rowlayoutpl.cpp
229 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
231 $(OBJS)\fldll_toolwnd.o: ../../src/fl\toolwnd.cpp
232 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
234 $(OBJS)\fldll_updatesmgr.o: ../../src/fl\updatesmgr.cpp
235 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
237 $(OBJS)\fllib_antiflickpl.o: ../../src/fl\antiflickpl.cpp
238 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
240 $(OBJS)\fllib_bardragpl.o: ../../src/fl\bardragpl.cpp
241 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
243 $(OBJS)\fllib_barhintspl.o: ../../src/fl\barhintspl.cpp
244 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
246 $(OBJS)\fllib_cbcustom.o: ../../src/fl\cbcustom.cpp
247 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
249 $(OBJS)\fllib_controlbar.o: ../../src/fl\controlbar.cpp
250 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
252 $(OBJS)\fllib_dummy.o: ../../src/fl\..\..\..\src\msw\dummy.cpp
253 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
255 $(OBJS)\fllib_dyntbar.o: ../../src/fl\dyntbar.cpp
256 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
258 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl\dyntbarhnd.cpp
259 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
261 $(OBJS)\fllib_frmview.o: ../../src/fl\frmview.cpp
262 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
264 $(OBJS)\fllib_garbagec.o: ../../src/fl\garbagec.cpp
265 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
267 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl\gcupdatesmgr.cpp
268 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
270 $(OBJS)\fllib_hintanimpl.o: ../../src/fl\hintanimpl.cpp
271 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
273 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl\newbmpbtn.cpp
274 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
276 $(OBJS)\fllib_panedrawpl.o: ../../src/fl\panedrawpl.cpp
277 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
279 $(OBJS)\fllib_rowdragpl.o: ../../src/fl\rowdragpl.cpp
280 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
282 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl\rowlayoutpl.cpp
283 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
285 $(OBJS)\fllib_toolwnd.o: ../../src/fl\toolwnd.cpp
286 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
288 $(OBJS)\fllib_updatesmgr.o: ../../src/fl\updatesmgr.cpp
289 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
292 -if exist $(OBJS)\*.o del $(OBJS)\*.o
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
298 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll: $(FLDLL_OBJECTS)
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)
303 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a: $(FLLIB_OBJECTS)
305 ar rcu $@ $(FLLIB_OBJECTS)