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 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 FOLDBARDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
22 -Wall -I..\..\src\foldbar\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FOLDBAR \
23 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
24 FOLDBARDLL_OBJECTS = \
25 $(OBJS)\foldbardll_dummy.o \
26 $(OBJS)\foldbardll_captionbar.o \
27 $(OBJS)\foldbardll_foldpanelbar.o \
28 $(OBJS)\foldbardll_foldpanelitem.o
29 FOLDBARLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
30 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
31 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
32 -Wall -I..\..\src\foldbar\..\..\include $(__EXCEPTIONSFLAG) \
33 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
34 FOLDBARLIB_OBJECTS = \
35 $(OBJS)\foldbarlib_dummy.o \
36 $(OBJS)\foldbarlib_captionbar.o \
37 $(OBJS)\foldbarlib_foldpanelbar.o \
38 $(OBJS)\foldbarlib_foldpanelitem.o
40 ### Conditionally set variables: ###
42 ifeq ($(GCC_VERSION),2.95)
43 GCCFLAGS = -fvtable-thunks
51 ifeq ($(OFFICIAL_BUILD),0)
52 VENDORTAG = _$(VENDOR)
54 ifeq ($(OFFICIAL_BUILD),1)
58 ifeq ($(DEBUG_FLAG),default)
62 ifeq ($(DEBUG_FLAG),1)
75 __foldbardll___depname = \
76 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_gcc$(VENDORTAG).dll
78 ifeq ($(MONOLITHIC),1)
80 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
83 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
86 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
89 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
92 __UNICOWS_LIB_p = -lunicows
94 ifeq ($(MONOLITHIC),0)
96 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
98 ifeq ($(MONOLITHIC),0)
99 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
102 __foldbarlib___depname = \
103 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.a
105 ifeq ($(BUILD),debug)
106 ifeq ($(DEBUG_INFO),default)
110 ifeq ($(BUILD),release)
111 ifeq ($(DEBUG_INFO),default)
115 ifeq ($(DEBUG_INFO),0)
118 ifeq ($(DEBUG_INFO),1)
121 ifeq ($(BUILD),debug)
124 ifeq ($(BUILD),release)
127 ifeq ($(USE_EXCEPTIONS),0)
128 __EXCEPTIONSFLAG = -fno-rtti
130 ifeq ($(USE_EXCEPTIONS),1)
133 ifeq ($(USE_EXCEPTIONS),0)
134 __EXCEPTIONSFLAG_0 = -fno-exceptions
136 ifeq ($(USE_EXCEPTIONS),1)
140 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
142 ifeq ($(BUILD),debug)
143 ifeq ($(DEBUG_FLAG),default)
144 __DEBUG_DEFINE_p = -D__WXDEBUG__
147 ifeq ($(DEBUG_FLAG),1)
148 __DEBUG_DEFINE_p = -D__WXDEBUG__
151 __UNICODE_DEFINE_p = -D_UNICODE
154 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\gcc_lib$(CFG)
157 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\gcc_dll$(CFG)
163 -if not exist $(OBJS) mkdir $(OBJS)
167 all: $(__foldbardll___depname) $(__foldbarlib___depname)
170 -if exist $(OBJS)\*.o del $(OBJS)\*.o
171 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_gcc$(VENDORTAG).dll
172 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.a
173 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.a
176 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_gcc$(VENDORTAG).dll: $(FOLDBARDLL_OBJECTS)
177 $(CXX) -shared -o $@ $(FOLDBARDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_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)
181 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.a: $(FOLDBARLIB_OBJECTS)
183 ar rcu $@ $(FOLDBARLIB_OBJECTS)
187 $(OBJS)\foldbardll_dummy.o: ../../src/foldbar/../../../src/msw/dummy.cpp
188 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
190 $(OBJS)\foldbardll_captionbar.o: ../../src/foldbar/captionbar.cpp
191 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
193 $(OBJS)\foldbardll_foldpanelbar.o: ../../src/foldbar/foldpanelbar.cpp
194 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
196 $(OBJS)\foldbardll_foldpanelitem.o: ../../src/foldbar/foldpanelitem.cpp
197 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
199 $(OBJS)\foldbarlib_dummy.o: ../../src/foldbar/../../../src/msw/dummy.cpp
200 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
202 $(OBJS)\foldbarlib_captionbar.o: ../../src/foldbar/captionbar.cpp
203 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
205 $(OBJS)\foldbarlib_foldpanelbar.o: ../../src/foldbar/foldpanelbar.cpp
206 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
208 $(OBJS)\foldbarlib_foldpanelitem.o: ../../src/foldbar/foldpanelitem.cpp
209 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<