1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)3
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 FOLDBARDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
22 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
24 -Wall -I..\..\src\foldbar\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FOLDBAR \
25 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
26 FOLDBARDLL_OBJECTS = \
27 $(OBJS)\foldbardll_dummy.o \
28 $(OBJS)\foldbardll_captionbar.o \
29 $(OBJS)\foldbardll_foldpanelbar.o \
30 $(OBJS)\foldbardll_foldpanelitem.o
31 FOLDBARLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
32 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
34 -Wall -I..\..\src\foldbar\..\..\include $(__EXCEPTIONSFLAG) \
35 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
36 FOLDBARLIB_OBJECTS = \
37 $(OBJS)\foldbarlib_dummy.o \
38 $(OBJS)\foldbarlib_captionbar.o \
39 $(OBJS)\foldbarlib_foldpanelbar.o \
40 $(OBJS)\foldbarlib_foldpanelitem.o
42 ### Conditionally set variables: ###
44 ifeq ($(GCC_VERSION),2.95)
45 GCCFLAGS = -fvtable-thunks
53 ifeq ($(OFFICIAL_BUILD),0)
54 VENDORTAG = _$(VENDOR)
56 ifeq ($(OFFICIAL_BUILD),1)
60 ifeq ($(DEBUG_FLAG),default)
64 ifeq ($(DEBUG_FLAG),1)
77 __foldbardll___depname = \
78 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll
80 ifeq ($(MONOLITHIC),1)
82 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
85 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
88 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
91 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
94 __UNICOWS_LIB_p = -lunicows
96 ifeq ($(MONOLITHIC),0)
98 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
100 ifeq ($(MONOLITHIC),0)
102 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
105 __foldbarlib___depname = \
106 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a
108 ifeq ($(BUILD),debug)
109 ifeq ($(DEBUG_INFO),default)
113 ifeq ($(BUILD),release)
114 ifeq ($(DEBUG_INFO),default)
118 ifeq ($(DEBUG_INFO),0)
121 ifeq ($(DEBUG_INFO),1)
124 ifeq ($(BUILD),debug)
127 ifeq ($(BUILD),release)
130 ifeq ($(USE_EXCEPTIONS),0)
131 __EXCEPTIONSFLAG = -fno-rtti
133 ifeq ($(USE_EXCEPTIONS),1)
136 ifeq ($(USE_EXCEPTIONS),0)
137 __EXCEPTIONSFLAG_0 = -fno-exceptions
139 ifeq ($(USE_EXCEPTIONS),1)
143 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
145 ifeq ($(BUILD),debug)
146 ifeq ($(DEBUG_FLAG),default)
147 __DEBUG_DEFINE_p = -D__WXDEBUG__
150 ifeq ($(DEBUG_FLAG),1)
151 __DEBUG_DEFINE_p = -D__WXDEBUG__
154 __UNICODE_DEFINE_p = -D_UNICODE
157 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\gcc_lib$(CFG)
160 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\gcc_dll$(CFG)
166 -if not exist $(OBJS) mkdir $(OBJS)
170 all: $(__foldbardll___depname) $(__foldbarlib___depname)
173 -if exist $(OBJS)\*.o del $(OBJS)\*.o
174 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll
175 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a
176 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a
179 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll: $(FOLDBARDLL_OBJECTS)
180 $(CXX) -shared -o $@ $(FOLDBARDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
184 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a: $(FOLDBARLIB_OBJECTS)
186 ar rcu $@ $(FOLDBARLIB_OBJECTS)
190 $(OBJS)\foldbardll_dummy.o: ../../src/foldbar/../../../src/msw/dummy.cpp
191 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
193 $(OBJS)\foldbardll_captionbar.o: ../../src/foldbar/captionbar.cpp
194 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
196 $(OBJS)\foldbardll_foldpanelbar.o: ../../src/foldbar/foldpanelbar.cpp
197 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
199 $(OBJS)\foldbardll_foldpanelitem.o: ../../src/foldbar/foldpanelitem.cpp
200 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
202 $(OBJS)\foldbarlib_dummy.o: ../../src/foldbar/../../../src/msw/dummy.cpp
203 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
205 $(OBJS)\foldbarlib_captionbar.o: ../../src/foldbar/captionbar.cpp
206 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
208 $(OBJS)\foldbarlib_foldpanelbar.o: ../../src/foldbar/foldpanelbar.cpp
209 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
211 $(OBJS)\foldbarlib_foldpanelitem.o: ../../src/foldbar/foldpanelitem.cpp
212 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<