1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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 CPPDEPS = -MT$@ -MF$@.d -MD
17 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
19 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 FLDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
24 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
26 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) -I$(SETUPHDIR) \
27 -I..\..\src\fl\..\..\..\include -W -Wall -I..\..\src\fl\..\..\include \
28 -DWXUSINGDLL -DWXMAKINGDLL_FL $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
29 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
31 $(OBJS)\fldll_dummy.o \
32 $(OBJS)\fldll_version_rc.o \
33 $(OBJS)\fldll_antiflickpl.o \
34 $(OBJS)\fldll_bardragpl.o \
35 $(OBJS)\fldll_barhintspl.o \
36 $(OBJS)\fldll_cbcustom.o \
37 $(OBJS)\fldll_controlbar.o \
38 $(OBJS)\fldll_dyntbar.o \
39 $(OBJS)\fldll_dyntbarhnd.o \
40 $(OBJS)\fldll_frmview.o \
41 $(OBJS)\fldll_garbagec.o \
42 $(OBJS)\fldll_gcupdatesmgr.o \
43 $(OBJS)\fldll_hintanimpl.o \
44 $(OBJS)\fldll_newbmpbtn.o \
45 $(OBJS)\fldll_panedrawpl.o \
46 $(OBJS)\fldll_rowdragpl.o \
47 $(OBJS)\fldll_rowlayoutpl.o \
48 $(OBJS)\fldll_toolwnd.o \
49 $(OBJS)\fldll_updatesmgr.o
50 FLLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
51 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
52 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
53 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) -I$(SETUPHDIR) \
54 -I..\..\src\fl\..\..\..\include -W -Wall -I..\..\src\fl\..\..\include \
55 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
58 $(OBJS)\fllib_dummy.o \
59 $(OBJS)\fllib_antiflickpl.o \
60 $(OBJS)\fllib_bardragpl.o \
61 $(OBJS)\fllib_barhintspl.o \
62 $(OBJS)\fllib_cbcustom.o \
63 $(OBJS)\fllib_controlbar.o \
64 $(OBJS)\fllib_dyntbar.o \
65 $(OBJS)\fllib_dyntbarhnd.o \
66 $(OBJS)\fllib_frmview.o \
67 $(OBJS)\fllib_garbagec.o \
68 $(OBJS)\fllib_gcupdatesmgr.o \
69 $(OBJS)\fllib_hintanimpl.o \
70 $(OBJS)\fllib_newbmpbtn.o \
71 $(OBJS)\fllib_panedrawpl.o \
72 $(OBJS)\fllib_rowdragpl.o \
73 $(OBJS)\fllib_rowlayoutpl.o \
74 $(OBJS)\fllib_toolwnd.o \
75 $(OBJS)\fllib_updatesmgr.o
77 ### Conditionally set variables: ###
79 ifeq ($(GCC_VERSION),2.95)
80 GCCFLAGS = -fvtable-thunks
88 ifeq ($(OFFICIAL_BUILD),0)
89 VENDORTAG = _$(VENDOR)
91 ifeq ($(OFFICIAL_BUILD),1)
95 ifeq ($(DEBUG_FLAG),default)
99 ifeq ($(DEBUG_FLAG),1)
117 ifeq ($(MONOLITHIC),0)
120 ifeq ($(MONOLITHIC),1)
124 __fldll___depname = \
125 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
128 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
130 ifeq ($(BUILD),debug)
131 ifeq ($(DEBUG_FLAG),default)
132 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
135 ifeq ($(DEBUG_FLAG),1)
136 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
138 ifeq ($(USE_EXCEPTIONS),0)
139 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
142 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
144 ifeq ($(USE_THREADS),0)
145 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
148 __UNICODE_DEFINE_p_1 = --define _UNICODE
151 __MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
153 ifeq ($(MONOLITHIC),1)
155 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
158 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
161 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
164 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
167 __UNICOWS_LIB_p = -lunicows
169 ifeq ($(MONOLITHIC),0)
171 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
173 ifeq ($(MONOLITHIC),0)
175 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
178 __fllib___depname = \
179 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
181 ifeq ($(BUILD),debug)
182 ifeq ($(DEBUG_INFO),default)
186 ifeq ($(BUILD),release)
187 ifeq ($(DEBUG_INFO),default)
191 ifeq ($(DEBUG_INFO),0)
194 ifeq ($(DEBUG_INFO),1)
197 ifeq ($(BUILD),debug)
200 ifeq ($(BUILD),release)
203 ifeq ($(USE_THREADS),0)
206 ifeq ($(USE_THREADS),1)
207 __THREADSFLAG = -mthreads
210 __RTTIFLAG = -fno-rtti
215 ifeq ($(USE_EXCEPTIONS),0)
216 __EXCEPTIONSFLAG = -fno-exceptions
218 ifeq ($(USE_EXCEPTIONS),1)
222 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
224 ifeq ($(BUILD),debug)
225 ifeq ($(DEBUG_FLAG),default)
226 __DEBUG_DEFINE_p = -D__WXDEBUG__
229 ifeq ($(DEBUG_FLAG),1)
230 __DEBUG_DEFINE_p = -D__WXDEBUG__
232 ifeq ($(USE_EXCEPTIONS),0)
233 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
236 __RTTI_DEFINE_p = -DwxNO_RTTI
238 ifeq ($(USE_THREADS),0)
239 __THREAD_DEFINE_p = -DwxNO_THREADS
242 __UNICODE_DEFINE_p = -D_UNICODE
245 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
251 -if not exist $(OBJS) mkdir $(OBJS)
255 all: $(__fldll___depname) $(__fllib___depname)
258 -if exist $(OBJS)\*.o del $(OBJS)\*.o
259 -if exist $(OBJS)\*.d del $(OBJS)\*.d
260 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
261 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
262 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
265 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll: $(FLDLL_OBJECTS) $(OBJS)\fldll_version_rc.o
266 $(CXX) -shared -fPIC -o $@ $(FLDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
270 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a: $(FLLIB_OBJECTS)
272 ar rcu $@ $(FLLIB_OBJECTS)
276 $(OBJS)\fldll_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
277 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
279 $(OBJS)\fldll_version_rc.o: ../../src/fl/../../../src/msw/version.rc
280 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ../../src/fl/../../../include --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG)
282 $(OBJS)\fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp
283 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
285 $(OBJS)\fldll_bardragpl.o: ../../src/fl/bardragpl.cpp
286 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
288 $(OBJS)\fldll_barhintspl.o: ../../src/fl/barhintspl.cpp
289 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
291 $(OBJS)\fldll_cbcustom.o: ../../src/fl/cbcustom.cpp
292 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
294 $(OBJS)\fldll_controlbar.o: ../../src/fl/controlbar.cpp
295 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
297 $(OBJS)\fldll_dyntbar.o: ../../src/fl/dyntbar.cpp
298 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
300 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
301 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
303 $(OBJS)\fldll_frmview.o: ../../src/fl/frmview.cpp
304 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
306 $(OBJS)\fldll_garbagec.o: ../../src/fl/garbagec.cpp
307 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
309 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
310 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
312 $(OBJS)\fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp
313 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
315 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
316 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
318 $(OBJS)\fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp
319 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
321 $(OBJS)\fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp
322 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
324 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
325 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
327 $(OBJS)\fldll_toolwnd.o: ../../src/fl/toolwnd.cpp
328 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
330 $(OBJS)\fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp
331 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
333 $(OBJS)\fllib_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
334 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
336 $(OBJS)\fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp
337 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
339 $(OBJS)\fllib_bardragpl.o: ../../src/fl/bardragpl.cpp
340 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
342 $(OBJS)\fllib_barhintspl.o: ../../src/fl/barhintspl.cpp
343 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
345 $(OBJS)\fllib_cbcustom.o: ../../src/fl/cbcustom.cpp
346 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
348 $(OBJS)\fllib_controlbar.o: ../../src/fl/controlbar.cpp
349 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
351 $(OBJS)\fllib_dyntbar.o: ../../src/fl/dyntbar.cpp
352 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
354 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
355 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
357 $(OBJS)\fllib_frmview.o: ../../src/fl/frmview.cpp
358 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
360 $(OBJS)\fllib_garbagec.o: ../../src/fl/garbagec.cpp
361 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
363 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
364 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
366 $(OBJS)\fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp
367 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
369 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
370 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
372 $(OBJS)\fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp
373 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
375 $(OBJS)\fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp
376 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
378 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
379 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
381 $(OBJS)\fllib_toolwnd.o: ../../src/fl/toolwnd.cpp
382 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
384 $(OBJS)\fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp
385 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
390 # Dependencies tracking: