1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.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 CPPDEPS = -MT$@ -MF$@.d -MD
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 FLDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \
26 -I$(SETUPHDIR) -I..\..\src\fl\..\..\..\include -W -Wall \
27 -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL $(__RTTIFLAG) \
28 $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
30 $(OBJS)\fldll_dummy.o \
31 $(OBJS)\fldll_version_rc.o \
32 $(OBJS)\fldll_antiflickpl.o \
33 $(OBJS)\fldll_bardragpl.o \
34 $(OBJS)\fldll_barhintspl.o \
35 $(OBJS)\fldll_cbcustom.o \
36 $(OBJS)\fldll_controlbar.o \
37 $(OBJS)\fldll_dyntbar.o \
38 $(OBJS)\fldll_dyntbarhnd.o \
39 $(OBJS)\fldll_frmview.o \
40 $(OBJS)\fldll_garbagec.o \
41 $(OBJS)\fldll_gcupdatesmgr.o \
42 $(OBJS)\fldll_hintanimpl.o \
43 $(OBJS)\fldll_newbmpbtn.o \
44 $(OBJS)\fldll_panedrawpl.o \
45 $(OBJS)\fldll_rowdragpl.o \
46 $(OBJS)\fldll_rowlayoutpl.o \
47 $(OBJS)\fldll_toolwnd.o \
48 $(OBJS)\fldll_updatesmgr.o
49 FLLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
50 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
51 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
52 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \
53 -I$(SETUPHDIR) -I..\..\src\fl\..\..\..\include -W -Wall \
54 -I..\..\src\fl\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
55 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
57 $(OBJS)\fllib_dummy.o \
58 $(OBJS)\fllib_antiflickpl.o \
59 $(OBJS)\fllib_bardragpl.o \
60 $(OBJS)\fllib_barhintspl.o \
61 $(OBJS)\fllib_cbcustom.o \
62 $(OBJS)\fllib_controlbar.o \
63 $(OBJS)\fllib_dyntbar.o \
64 $(OBJS)\fllib_dyntbarhnd.o \
65 $(OBJS)\fllib_frmview.o \
66 $(OBJS)\fllib_garbagec.o \
67 $(OBJS)\fllib_gcupdatesmgr.o \
68 $(OBJS)\fllib_hintanimpl.o \
69 $(OBJS)\fllib_newbmpbtn.o \
70 $(OBJS)\fllib_panedrawpl.o \
71 $(OBJS)\fllib_rowdragpl.o \
72 $(OBJS)\fllib_rowlayoutpl.o \
73 $(OBJS)\fllib_toolwnd.o \
74 $(OBJS)\fllib_updatesmgr.o
76 ### Conditionally set variables: ###
78 ifeq ($(GCC_VERSION),2.95)
79 GCCFLAGS = -fvtable-thunks
87 ifeq ($(OFFICIAL_BUILD),0)
88 VENDORTAG = _$(VENDOR)
90 ifeq ($(OFFICIAL_BUILD),1)
94 ifeq ($(DEBUG_FLAG),default)
98 ifeq ($(DEBUG_FLAG),1)
116 ifeq ($(MONOLITHIC),0)
119 ifeq ($(MONOLITHIC),1)
123 __fldll___depname = \
124 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
127 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
129 ifeq ($(BUILD),debug)
130 ifeq ($(DEBUG_FLAG),default)
131 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
134 ifeq ($(DEBUG_FLAG),1)
135 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
137 ifeq ($(USE_EXCEPTIONS),0)
138 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
141 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
143 ifeq ($(USE_THREADS),0)
144 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
147 __UNICODE_DEFINE_p_1 = --define _UNICODE
150 __MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
152 ifeq ($(USE_GDIPLUS),1)
153 __GFXCTX_DEFINE_p_1 = --define wxUSE_GRAPHICS_CONTEXT=1
155 ifeq ($(MONOLITHIC),1)
157 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
160 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
163 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
166 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
169 __UNICOWS_LIB_p = -lunicows
171 ifeq ($(USE_GDIPLUS),1)
172 __GDIPLUS_LIB_p = -lgdiplus
174 ifeq ($(MONOLITHIC),0)
176 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
178 ifeq ($(MONOLITHIC),0)
180 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
183 __fllib___depname = \
184 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
186 ifeq ($(BUILD),debug)
187 ifeq ($(DEBUG_INFO),default)
191 ifeq ($(BUILD),release)
192 ifeq ($(DEBUG_INFO),default)
196 ifeq ($(DEBUG_INFO),0)
199 ifeq ($(DEBUG_INFO),1)
202 ifeq ($(BUILD),debug)
205 ifeq ($(BUILD),release)
208 ifeq ($(USE_THREADS),0)
211 ifeq ($(USE_THREADS),1)
212 __THREADSFLAG = -mthreads
215 __RTTIFLAG = -fno-rtti
220 ifeq ($(USE_EXCEPTIONS),0)
221 __EXCEPTIONSFLAG = -fno-exceptions
223 ifeq ($(USE_EXCEPTIONS),1)
227 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
229 ifeq ($(BUILD),debug)
230 ifeq ($(DEBUG_FLAG),default)
231 __DEBUG_DEFINE_p = -D__WXDEBUG__
234 ifeq ($(DEBUG_FLAG),1)
235 __DEBUG_DEFINE_p = -D__WXDEBUG__
237 ifeq ($(USE_EXCEPTIONS),0)
238 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
241 __RTTI_DEFINE_p = -DwxNO_RTTI
243 ifeq ($(USE_THREADS),0)
244 __THREAD_DEFINE_p = -DwxNO_THREADS
247 __UNICODE_DEFINE_p = -D_UNICODE
250 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
252 ifeq ($(USE_GDIPLUS),1)
253 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
259 -if not exist $(OBJS) mkdir $(OBJS)
263 all: $(__fldll___depname) $(__fllib___depname)
266 -if exist $(OBJS)\*.o del $(OBJS)\*.o
267 -if exist $(OBJS)\*.d del $(OBJS)\*.d
268 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
269 -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
270 -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
273 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll: $(FLDLL_OBJECTS) $(OBJS)\fldll_version_rc.o
274 $(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) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
278 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a: $(FLLIB_OBJECTS)
280 ar rcu $@ $(FLLIB_OBJECTS)
284 $(OBJS)\fldll_dummy.o: ../../src/fl/../../../src/common/dummy.cpp
285 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
287 $(OBJS)\fldll_version_rc.o: ../../src/fl/../../../src/msw/version.rc
288 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) $(__GFXCTX_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ../../src/fl/../../../include --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG)
290 $(OBJS)\fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp
291 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
293 $(OBJS)\fldll_bardragpl.o: ../../src/fl/bardragpl.cpp
294 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
296 $(OBJS)\fldll_barhintspl.o: ../../src/fl/barhintspl.cpp
297 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
299 $(OBJS)\fldll_cbcustom.o: ../../src/fl/cbcustom.cpp
300 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
302 $(OBJS)\fldll_controlbar.o: ../../src/fl/controlbar.cpp
303 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
305 $(OBJS)\fldll_dyntbar.o: ../../src/fl/dyntbar.cpp
306 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
308 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
309 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
311 $(OBJS)\fldll_frmview.o: ../../src/fl/frmview.cpp
312 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
314 $(OBJS)\fldll_garbagec.o: ../../src/fl/garbagec.cpp
315 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
317 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
318 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
320 $(OBJS)\fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp
321 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
323 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
324 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
326 $(OBJS)\fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp
327 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
329 $(OBJS)\fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp
330 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
332 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
333 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
335 $(OBJS)\fldll_toolwnd.o: ../../src/fl/toolwnd.cpp
336 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
338 $(OBJS)\fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp
339 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
341 $(OBJS)\fllib_dummy.o: ../../src/fl/../../../src/common/dummy.cpp
342 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
344 $(OBJS)\fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp
345 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
347 $(OBJS)\fllib_bardragpl.o: ../../src/fl/bardragpl.cpp
348 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
350 $(OBJS)\fllib_barhintspl.o: ../../src/fl/barhintspl.cpp
351 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
353 $(OBJS)\fllib_cbcustom.o: ../../src/fl/cbcustom.cpp
354 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
356 $(OBJS)\fllib_controlbar.o: ../../src/fl/controlbar.cpp
357 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
359 $(OBJS)\fllib_dyntbar.o: ../../src/fl/dyntbar.cpp
360 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
362 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
363 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
365 $(OBJS)\fllib_frmview.o: ../../src/fl/frmview.cpp
366 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
368 $(OBJS)\fllib_garbagec.o: ../../src/fl/garbagec.cpp
369 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
371 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
372 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
374 $(OBJS)\fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp
375 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
377 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
378 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
380 $(OBJS)\fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp
381 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
383 $(OBJS)\fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp
384 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
386 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
387 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
389 $(OBJS)\fllib_toolwnd.o: ../../src/fl/toolwnd.cpp
390 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
392 $(OBJS)\fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp
393 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
398 # Dependencies tracking: