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 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
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) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) -W \
26 -Wall -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL \
27 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
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) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) -W \
53 -Wall -I..\..\src\fl\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
54 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
56 $(OBJS)\fllib_dummy.o \
57 $(OBJS)\fllib_antiflickpl.o \
58 $(OBJS)\fllib_bardragpl.o \
59 $(OBJS)\fllib_barhintspl.o \
60 $(OBJS)\fllib_cbcustom.o \
61 $(OBJS)\fllib_controlbar.o \
62 $(OBJS)\fllib_dyntbar.o \
63 $(OBJS)\fllib_dyntbarhnd.o \
64 $(OBJS)\fllib_frmview.o \
65 $(OBJS)\fllib_garbagec.o \
66 $(OBJS)\fllib_gcupdatesmgr.o \
67 $(OBJS)\fllib_hintanimpl.o \
68 $(OBJS)\fllib_newbmpbtn.o \
69 $(OBJS)\fllib_panedrawpl.o \
70 $(OBJS)\fllib_rowdragpl.o \
71 $(OBJS)\fllib_rowlayoutpl.o \
72 $(OBJS)\fllib_toolwnd.o \
73 $(OBJS)\fllib_updatesmgr.o
75 ### Conditionally set variables: ###
77 ifeq ($(GCC_VERSION),2.95)
78 GCCFLAGS = -fvtable-thunks
86 ifeq ($(OFFICIAL_BUILD),0)
87 VENDORTAG = _$(VENDOR)
89 ifeq ($(OFFICIAL_BUILD),1)
93 ifeq ($(DEBUG_FLAG),default)
97 ifeq ($(DEBUG_FLAG),1)
115 ifeq ($(MONOLITHIC),0)
118 ifeq ($(MONOLITHIC),1)
122 __fldll___depname = \
123 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll
126 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
128 ifeq ($(BUILD),debug)
129 ifeq ($(DEBUG_FLAG),default)
130 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
133 ifeq ($(DEBUG_FLAG),1)
134 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
136 ifeq ($(USE_EXCEPTIONS),0)
137 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
140 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
142 ifeq ($(USE_THREADS),0)
143 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
146 __UNICODE_DEFINE_p_1 = --define _UNICODE
148 ifeq ($(MONOLITHIC),1)
150 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
153 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
156 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
159 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
162 __UNICOWS_LIB_p = -lunicows
164 ifeq ($(MONOLITHIC),0)
166 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
168 ifeq ($(MONOLITHIC),0)
170 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
173 __fllib___depname = \
174 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a
176 ifeq ($(BUILD),debug)
177 ifeq ($(DEBUG_INFO),default)
181 ifeq ($(BUILD),release)
182 ifeq ($(DEBUG_INFO),default)
186 ifeq ($(DEBUG_INFO),0)
189 ifeq ($(DEBUG_INFO),1)
192 ifeq ($(BUILD),debug)
195 ifeq ($(BUILD),release)
198 ifeq ($(USE_THREADS),0)
201 ifeq ($(USE_THREADS),1)
202 __THREADSFLAG = -mthreads
205 __RTTIFLAG = -fno-rtti
210 ifeq ($(USE_EXCEPTIONS),0)
211 __EXCEPTIONSFLAG = -fno-exceptions
213 ifeq ($(USE_EXCEPTIONS),1)
217 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
219 ifeq ($(BUILD),debug)
220 ifeq ($(DEBUG_FLAG),default)
221 __DEBUG_DEFINE_p = -D__WXDEBUG__
224 ifeq ($(DEBUG_FLAG),1)
225 __DEBUG_DEFINE_p = -D__WXDEBUG__
227 ifeq ($(USE_EXCEPTIONS),0)
228 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
231 __RTTI_DEFINE_p = -DwxNO_RTTI
233 ifeq ($(USE_THREADS),0)
234 __THREAD_DEFINE_p = -DwxNO_THREADS
237 __UNICODE_DEFINE_p = -D_UNICODE
243 -if not exist $(OBJS) mkdir $(OBJS)
247 all: $(__fldll___depname) $(__fllib___depname)
250 -if exist $(OBJS)\*.o del $(OBJS)\*.o
251 -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
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
253 -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
256 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG).dll: $(FLDLL_OBJECTS) $(OBJS)\fldll_version_rc.o
257 $(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)
261 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.a: $(FLLIB_OBJECTS)
263 ar rcu $@ $(FLLIB_OBJECTS)
267 $(OBJS)\fldll_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
268 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
270 $(OBJS)\fldll_version_rc.o: ../../src/fl/../../../src/msw/version.rc
271 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_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_gcc$(VENDORTAG)
273 $(OBJS)\fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp
274 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
276 $(OBJS)\fldll_bardragpl.o: ../../src/fl/bardragpl.cpp
277 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
279 $(OBJS)\fldll_barhintspl.o: ../../src/fl/barhintspl.cpp
280 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
282 $(OBJS)\fldll_cbcustom.o: ../../src/fl/cbcustom.cpp
283 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
285 $(OBJS)\fldll_controlbar.o: ../../src/fl/controlbar.cpp
286 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
288 $(OBJS)\fldll_dyntbar.o: ../../src/fl/dyntbar.cpp
289 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
291 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
292 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
294 $(OBJS)\fldll_frmview.o: ../../src/fl/frmview.cpp
295 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
297 $(OBJS)\fldll_garbagec.o: ../../src/fl/garbagec.cpp
298 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
300 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
301 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
303 $(OBJS)\fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp
304 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
306 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
307 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
309 $(OBJS)\fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp
310 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
312 $(OBJS)\fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp
313 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
315 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
316 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
318 $(OBJS)\fldll_toolwnd.o: ../../src/fl/toolwnd.cpp
319 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
321 $(OBJS)\fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp
322 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
324 $(OBJS)\fllib_dummy.o: ../../src/fl/../../../src/msw/dummy.cpp
325 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
327 $(OBJS)\fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp
328 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
330 $(OBJS)\fllib_bardragpl.o: ../../src/fl/bardragpl.cpp
331 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
333 $(OBJS)\fllib_barhintspl.o: ../../src/fl/barhintspl.cpp
334 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
336 $(OBJS)\fllib_cbcustom.o: ../../src/fl/cbcustom.cpp
337 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
339 $(OBJS)\fllib_controlbar.o: ../../src/fl/controlbar.cpp
340 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
342 $(OBJS)\fllib_dyntbar.o: ../../src/fl/dyntbar.cpp
343 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
345 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
346 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
348 $(OBJS)\fllib_frmview.o: ../../src/fl/frmview.cpp
349 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
351 $(OBJS)\fllib_garbagec.o: ../../src/fl/garbagec.cpp
352 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
354 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
355 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
357 $(OBJS)\fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp
358 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
360 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
361 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
363 $(OBJS)\fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp
364 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
366 $(OBJS)\fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp
367 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
369 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
370 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
372 $(OBJS)\fllib_toolwnd.o: ../../src/fl/toolwnd.cpp
373 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
375 $(OBJS)\fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp
376 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<