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
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) $(__GFXCTX_DEFINE_p) \
27 -I$(SETUPHDIR) -I..\..\src\fl\..\..\..\include -W -Wall \
28 -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL $(__RTTIFLAG) \
29 $(__EXCEPTIONSFLAG) -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) $(__GFXCTX_DEFINE_p) \
54 -I$(SETUPHDIR) -I..\..\src\fl\..\..\..\include -W -Wall \
55 -I..\..\src\fl\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
56 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
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 ($(USE_GDIPLUS),1)
154 __GFXCTX_DEFINE_p_1 = --define wxUSE_GRAPHICS_CONTEXT=1
156 ifeq ($(MONOLITHIC),1)
158 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
161 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
164 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
167 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
170 __UNICOWS_LIB_p = -lunicows
172 ifeq ($(USE_GDIPLUS),1)
173 __GDIPLUS_LIB_p = -lgdiplus
175 ifeq ($(MONOLITHIC),0)
177 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
179 ifeq ($(MONOLITHIC),0)
181 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
184 __fllib___depname = \
185 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
187 ifeq ($(BUILD),debug)
188 ifeq ($(DEBUG_INFO),default)
192 ifeq ($(BUILD),release)
193 ifeq ($(DEBUG_INFO),default)
197 ifeq ($(DEBUG_INFO),0)
200 ifeq ($(DEBUG_INFO),1)
203 ifeq ($(BUILD),debug)
206 ifeq ($(BUILD),release)
209 ifeq ($(USE_THREADS),0)
212 ifeq ($(USE_THREADS),1)
213 __THREADSFLAG = -mthreads
216 __RTTIFLAG = -fno-rtti
221 ifeq ($(USE_EXCEPTIONS),0)
222 __EXCEPTIONSFLAG = -fno-exceptions
224 ifeq ($(USE_EXCEPTIONS),1)
228 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
230 ifeq ($(BUILD),debug)
231 ifeq ($(DEBUG_FLAG),default)
232 __DEBUG_DEFINE_p = -D__WXDEBUG__
235 ifeq ($(DEBUG_FLAG),1)
236 __DEBUG_DEFINE_p = -D__WXDEBUG__
238 ifeq ($(USE_EXCEPTIONS),0)
239 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
242 __RTTI_DEFINE_p = -DwxNO_RTTI
244 ifeq ($(USE_THREADS),0)
245 __THREAD_DEFINE_p = -DwxNO_THREADS
248 __UNICODE_DEFINE_p = -D_UNICODE
251 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
253 ifeq ($(USE_GDIPLUS),1)
254 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
260 -if not exist $(OBJS) mkdir $(OBJS)
264 all: $(__fldll___depname) $(__fllib___depname)
267 -if exist $(OBJS)\*.o del $(OBJS)\*.o
268 -if exist $(OBJS)\*.d del $(OBJS)\*.d
269 -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
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
271 -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
274 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll: $(FLDLL_OBJECTS) $(OBJS)\fldll_version_rc.o
275 $(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)
279 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a: $(FLLIB_OBJECTS)
281 ar rcu $@ $(FLLIB_OBJECTS)
285 $(OBJS)\fldll_dummy.o: ../../src/fl/../../../src/common/dummy.cpp
286 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
288 $(OBJS)\fldll_version_rc.o: ../../src/fl/../../../src/msw/version.rc
289 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_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG)
291 $(OBJS)\fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp
292 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
294 $(OBJS)\fldll_bardragpl.o: ../../src/fl/bardragpl.cpp
295 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
297 $(OBJS)\fldll_barhintspl.o: ../../src/fl/barhintspl.cpp
298 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
300 $(OBJS)\fldll_cbcustom.o: ../../src/fl/cbcustom.cpp
301 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
303 $(OBJS)\fldll_controlbar.o: ../../src/fl/controlbar.cpp
304 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
306 $(OBJS)\fldll_dyntbar.o: ../../src/fl/dyntbar.cpp
307 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
309 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
310 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
312 $(OBJS)\fldll_frmview.o: ../../src/fl/frmview.cpp
313 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
315 $(OBJS)\fldll_garbagec.o: ../../src/fl/garbagec.cpp
316 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
318 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
319 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
321 $(OBJS)\fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp
322 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
324 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
325 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
327 $(OBJS)\fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp
328 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
330 $(OBJS)\fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp
331 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
333 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
334 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
336 $(OBJS)\fldll_toolwnd.o: ../../src/fl/toolwnd.cpp
337 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
339 $(OBJS)\fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp
340 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $(CPPDEPS) $<
342 $(OBJS)\fllib_dummy.o: ../../src/fl/../../../src/common/dummy.cpp
343 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
345 $(OBJS)\fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp
346 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
348 $(OBJS)\fllib_bardragpl.o: ../../src/fl/bardragpl.cpp
349 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
351 $(OBJS)\fllib_barhintspl.o: ../../src/fl/barhintspl.cpp
352 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
354 $(OBJS)\fllib_cbcustom.o: ../../src/fl/cbcustom.cpp
355 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
357 $(OBJS)\fllib_controlbar.o: ../../src/fl/controlbar.cpp
358 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
360 $(OBJS)\fllib_dyntbar.o: ../../src/fl/dyntbar.cpp
361 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
363 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
364 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
366 $(OBJS)\fllib_frmview.o: ../../src/fl/frmview.cpp
367 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
369 $(OBJS)\fllib_garbagec.o: ../../src/fl/garbagec.cpp
370 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
372 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
373 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
375 $(OBJS)\fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp
376 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
378 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
379 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
381 $(OBJS)\fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp
382 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
384 $(OBJS)\fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp
385 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
387 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
388 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
390 $(OBJS)\fllib_toolwnd.o: ../../src/fl/toolwnd.cpp
391 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
393 $(OBJS)\fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp
394 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $(CPPDEPS) $<
399 # Dependencies tracking: