1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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 # -------------------------------------------------------------------------
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 FLDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
22 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) -W \
25 -Wall -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL \
26 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
29 $(OBJS)\fldll_dummy.o \
30 $(OBJS)\fldll_version_rc.o \
31 $(OBJS)\fldll_antiflickpl.o \
32 $(OBJS)\fldll_bardragpl.o \
33 $(OBJS)\fldll_barhintspl.o \
34 $(OBJS)\fldll_cbcustom.o \
35 $(OBJS)\fldll_controlbar.o \
36 $(OBJS)\fldll_dyntbar.o \
37 $(OBJS)\fldll_dyntbarhnd.o \
38 $(OBJS)\fldll_frmview.o \
39 $(OBJS)\fldll_garbagec.o \
40 $(OBJS)\fldll_gcupdatesmgr.o \
41 $(OBJS)\fldll_hintanimpl.o \
42 $(OBJS)\fldll_newbmpbtn.o \
43 $(OBJS)\fldll_panedrawpl.o \
44 $(OBJS)\fldll_rowdragpl.o \
45 $(OBJS)\fldll_rowlayoutpl.o \
46 $(OBJS)\fldll_toolwnd.o \
47 $(OBJS)\fldll_updatesmgr.o
48 FLLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
49 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
50 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
51 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) -W \
52 -Wall -I..\..\src\fl\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
53 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
55 $(OBJS)\fllib_dummy.o \
56 $(OBJS)\fllib_antiflickpl.o \
57 $(OBJS)\fllib_bardragpl.o \
58 $(OBJS)\fllib_barhintspl.o \
59 $(OBJS)\fllib_cbcustom.o \
60 $(OBJS)\fllib_controlbar.o \
61 $(OBJS)\fllib_dyntbar.o \
62 $(OBJS)\fllib_dyntbarhnd.o \
63 $(OBJS)\fllib_frmview.o \
64 $(OBJS)\fllib_garbagec.o \
65 $(OBJS)\fllib_gcupdatesmgr.o \
66 $(OBJS)\fllib_hintanimpl.o \
67 $(OBJS)\fllib_newbmpbtn.o \
68 $(OBJS)\fllib_panedrawpl.o \
69 $(OBJS)\fllib_rowdragpl.o \
70 $(OBJS)\fllib_rowlayoutpl.o \
71 $(OBJS)\fllib_toolwnd.o \
72 $(OBJS)\fllib_updatesmgr.o
74 ### Conditionally set variables: ###
76 ifeq ($(GCC_VERSION),2.95)
77 GCCFLAGS = -fvtable-thunks
85 ifeq ($(OFFICIAL_BUILD),0)
86 VENDORTAG = _$(VENDOR)
88 ifeq ($(OFFICIAL_BUILD),1)
92 ifeq ($(DEBUG_FLAG),default)
96 ifeq ($(DEBUG_FLAG),1)
114 ifeq ($(MONOLITHIC),0)
117 ifeq ($(MONOLITHIC),1)
121 __fldll___depname = \
122 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
125 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
127 ifeq ($(BUILD),debug)
128 ifeq ($(DEBUG_FLAG),default)
129 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
132 ifeq ($(DEBUG_FLAG),1)
133 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
135 ifeq ($(USE_EXCEPTIONS),0)
136 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
139 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
141 ifeq ($(USE_THREADS),0)
142 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
145 __UNICODE_DEFINE_p_1 = --define _UNICODE
147 ifeq ($(MONOLITHIC),1)
149 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
152 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
155 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
158 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
161 __UNICOWS_LIB_p = -lunicows
163 ifeq ($(MONOLITHIC),0)
165 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
167 ifeq ($(MONOLITHIC),0)
169 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
172 __fllib___depname = \
173 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
175 ifeq ($(BUILD),debug)
176 ifeq ($(DEBUG_INFO),default)
180 ifeq ($(BUILD),release)
181 ifeq ($(DEBUG_INFO),default)
185 ifeq ($(DEBUG_INFO),0)
188 ifeq ($(DEBUG_INFO),1)
191 ifeq ($(BUILD),debug)
194 ifeq ($(BUILD),release)
197 ifeq ($(USE_THREADS),0)
200 ifeq ($(USE_THREADS),1)
201 __THREADSFLAG = -mthreads
204 __RTTIFLAG = -fno-rtti
209 ifeq ($(USE_EXCEPTIONS),0)
210 __EXCEPTIONSFLAG = -fno-exceptions
212 ifeq ($(USE_EXCEPTIONS),1)
216 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
218 ifeq ($(BUILD),debug)
219 ifeq ($(DEBUG_FLAG),default)
220 __DEBUG_DEFINE_p = -D__WXDEBUG__
223 ifeq ($(DEBUG_FLAG),1)
224 __DEBUG_DEFINE_p = -D__WXDEBUG__
226 ifeq ($(USE_EXCEPTIONS),0)
227 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
230 __RTTI_DEFINE_p = -DwxNO_RTTI
232 ifeq ($(USE_THREADS),0)
233 __THREAD_DEFINE_p = -DwxNO_THREADS
236 __UNICODE_DEFINE_p = -D_UNICODE
242 -if not exist $(OBJS) mkdir $(OBJS)
246 all: $(__fldll___depname) $(__fllib___depname)
249 -if exist $(OBJS)\*.o del $(OBJS)\*.o
250 -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
251 -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
252 -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
255 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll: $(FLDLL_OBJECTS) $(OBJS)\fldll_version_rc.o
256 $(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)
260 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a: $(FLLIB_OBJECTS)
262 ar rcu $@ $(FLLIB_OBJECTS)
266 $(OBJS)\fldll_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
267 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
269 $(OBJS)\fldll_version_rc.o: ../../src/fl/../../../src/msw/version.rc
270 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) --include-dir ../../src/fl/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG)
272 $(OBJS)\fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp
273 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
275 $(OBJS)\fldll_bardragpl.o: ../../src/fl/bardragpl.cpp
276 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
278 $(OBJS)\fldll_barhintspl.o: ../../src/fl/barhintspl.cpp
279 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
281 $(OBJS)\fldll_cbcustom.o: ../../src/fl/cbcustom.cpp
282 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
284 $(OBJS)\fldll_controlbar.o: ../../src/fl/controlbar.cpp
285 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
287 $(OBJS)\fldll_dyntbar.o: ../../src/fl/dyntbar.cpp
288 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
290 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
291 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
293 $(OBJS)\fldll_frmview.o: ../../src/fl/frmview.cpp
294 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
296 $(OBJS)\fldll_garbagec.o: ../../src/fl/garbagec.cpp
297 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
299 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
300 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
302 $(OBJS)\fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp
303 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
305 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
306 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
308 $(OBJS)\fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp
309 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
311 $(OBJS)\fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp
312 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
314 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
315 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
317 $(OBJS)\fldll_toolwnd.o: ../../src/fl/toolwnd.cpp
318 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
320 $(OBJS)\fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp
321 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
323 $(OBJS)\fllib_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
324 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
326 $(OBJS)\fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp
327 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
329 $(OBJS)\fllib_bardragpl.o: ../../src/fl/bardragpl.cpp
330 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
332 $(OBJS)\fllib_barhintspl.o: ../../src/fl/barhintspl.cpp
333 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
335 $(OBJS)\fllib_cbcustom.o: ../../src/fl/cbcustom.cpp
336 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
338 $(OBJS)\fllib_controlbar.o: ../../src/fl/controlbar.cpp
339 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
341 $(OBJS)\fllib_dyntbar.o: ../../src/fl/dyntbar.cpp
342 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
344 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
345 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
347 $(OBJS)\fllib_frmview.o: ../../src/fl/frmview.cpp
348 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
350 $(OBJS)\fllib_garbagec.o: ../../src/fl/garbagec.cpp
351 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
353 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
354 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
356 $(OBJS)\fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp
357 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
359 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
360 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
362 $(OBJS)\fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp
363 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
365 $(OBJS)\fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp
366 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
368 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
369 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
371 $(OBJS)\fllib_toolwnd.o: ../../src/fl/toolwnd.cpp
372 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
374 $(OBJS)\fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp
375 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<