1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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)4
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 FOLDBARDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
25 -W -Wall -I..\..\src\foldbar\..\..\include -DWXUSINGDLL \
26 -DWXMAKINGDLL_FOLDBAR $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
27 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
28 FOLDBARDLL_OBJECTS = \
29 $(OBJS)\foldbardll_dummy.o \
30 $(OBJS)\foldbardll_captionbar.o \
31 $(OBJS)\foldbardll_foldpanelbar.o \
32 $(OBJS)\foldbardll_foldpanelitem.o
33 FOLDBARLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
34 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
35 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
36 -W -Wall -I..\..\src\foldbar\..\..\include $(__EXCEPTIONSFLAG) \
37 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
38 FOLDBARLIB_OBJECTS = \
39 $(OBJS)\foldbarlib_dummy.o \
40 $(OBJS)\foldbarlib_captionbar.o \
41 $(OBJS)\foldbarlib_foldpanelbar.o \
42 $(OBJS)\foldbarlib_foldpanelitem.o
44 ### Conditionally set variables: ###
46 ifeq ($(GCC_VERSION),2.95)
47 GCCFLAGS = -fvtable-thunks
55 ifeq ($(OFFICIAL_BUILD),0)
56 VENDORTAG = _$(VENDOR)
58 ifeq ($(OFFICIAL_BUILD),1)
62 ifeq ($(DEBUG_FLAG),default)
66 ifeq ($(DEBUG_FLAG),1)
84 ifeq ($(MONOLITHIC),0)
87 ifeq ($(MONOLITHIC),1)
91 __foldbardll___depname = \
92 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll
94 ifeq ($(MONOLITHIC),1)
96 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
99 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
102 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
105 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
108 __UNICOWS_LIB_p = -lunicows
110 ifeq ($(MONOLITHIC),0)
112 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
114 ifeq ($(MONOLITHIC),0)
116 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
119 __foldbarlib___depname = \
120 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a
122 ifeq ($(BUILD),debug)
123 ifeq ($(DEBUG_INFO),default)
127 ifeq ($(BUILD),release)
128 ifeq ($(DEBUG_INFO),default)
132 ifeq ($(DEBUG_INFO),0)
135 ifeq ($(DEBUG_INFO),1)
138 ifeq ($(BUILD),debug)
141 ifeq ($(BUILD),release)
144 ifeq ($(USE_EXCEPTIONS),0)
145 __EXCEPTIONSFLAG = -fno-rtti
147 ifeq ($(USE_EXCEPTIONS),1)
150 ifeq ($(USE_EXCEPTIONS),0)
151 __EXCEPTIONSFLAG_0 = -fno-exceptions
153 ifeq ($(USE_EXCEPTIONS),1)
157 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
159 ifeq ($(BUILD),debug)
160 ifeq ($(DEBUG_FLAG),default)
161 __DEBUG_DEFINE_p = -D__WXDEBUG__
164 ifeq ($(DEBUG_FLAG),1)
165 __DEBUG_DEFINE_p = -D__WXDEBUG__
168 __UNICODE_DEFINE_p = -D_UNICODE
174 -if not exist $(OBJS) mkdir $(OBJS)
178 all: $(__foldbardll___depname) $(__foldbarlib___depname)
181 -if exist $(OBJS)\*.o del $(OBJS)\*.o
182 -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
183 -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
184 -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
187 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll: $(FOLDBARDLL_OBJECTS)
188 $(CXX) -shared -fPIC -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) $(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)
192 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a: $(FOLDBARLIB_OBJECTS)
194 ar rcu $@ $(FOLDBARLIB_OBJECTS)
198 $(OBJS)\foldbardll_dummy.o: ../../src/foldbar/../../../src/msw/dummy.cpp
199 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
201 $(OBJS)\foldbardll_captionbar.o: ../../src/foldbar/captionbar.cpp
202 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
204 $(OBJS)\foldbardll_foldpanelbar.o: ../../src/foldbar/foldpanelbar.cpp
205 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
207 $(OBJS)\foldbardll_foldpanelitem.o: ../../src/foldbar/foldpanelitem.cpp
208 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
210 $(OBJS)\foldbarlib_dummy.o: ../../src/foldbar/../../../src/msw/dummy.cpp
211 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
213 $(OBJS)\foldbarlib_captionbar.o: ../../src/foldbar/captionbar.cpp
214 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
216 $(OBJS)\foldbarlib_foldpanelbar.o: ../../src/foldbar/foldpanelbar.cpp
217 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
219 $(OBJS)\foldbarlib_foldpanelitem.o: ../../src/foldbar/foldpanelitem.cpp
220 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<