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\animate\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 ANIMATEDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
23 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) -W -Wall \
27 -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \
28 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
30 ANIMATEDLL_OBJECTS = \
31 $(OBJS)\animatedll_dummy.o \
32 $(OBJS)\animatedll_version_rc.o \
33 $(OBJS)\animatedll_animate.o
34 ANIMATELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
35 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
36 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
37 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
38 -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) -W -Wall \
39 -I..\..\src\animate\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
40 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
41 ANIMATELIB_OBJECTS = \
42 $(OBJS)\animatelib_dummy.o \
43 $(OBJS)\animatelib_animate.o
45 ### Conditionally set variables: ###
47 ifeq ($(GCC_VERSION),2.95)
48 GCCFLAGS = -fvtable-thunks
56 ifeq ($(OFFICIAL_BUILD),0)
57 VENDORTAG = _$(VENDOR)
59 ifeq ($(OFFICIAL_BUILD),1)
63 ifeq ($(DEBUG_FLAG),default)
67 ifeq ($(DEBUG_FLAG),1)
85 ifeq ($(MONOLITHIC),0)
88 ifeq ($(MONOLITHIC),1)
92 __animatedll___depname = \
93 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll
96 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
99 ifeq ($(DEBUG_FLAG),default)
100 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
103 ifeq ($(DEBUG_FLAG),1)
104 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
106 ifeq ($(USE_EXCEPTIONS),0)
107 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
110 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
112 ifeq ($(USE_THREADS),0)
113 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
116 __UNICODE_DEFINE_p_1 = --define _UNICODE
118 ifeq ($(MONOLITHIC),1)
120 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
123 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
126 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
129 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
132 __UNICOWS_LIB_p = -lunicows
134 ifeq ($(MONOLITHIC),0)
136 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
138 ifeq ($(MONOLITHIC),0)
140 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
143 __animatelib___depname = \
144 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a
146 ifeq ($(BUILD),debug)
147 ifeq ($(DEBUG_INFO),default)
151 ifeq ($(BUILD),release)
152 ifeq ($(DEBUG_INFO),default)
156 ifeq ($(DEBUG_INFO),0)
159 ifeq ($(DEBUG_INFO),1)
162 ifeq ($(BUILD),debug)
165 ifeq ($(BUILD),release)
168 ifeq ($(USE_THREADS),0)
171 ifeq ($(USE_THREADS),1)
172 __THREADSFLAG = -mthreads
175 __RTTIFLAG = -fno-rtti
180 ifeq ($(USE_EXCEPTIONS),0)
181 __EXCEPTIONSFLAG = -fno-exceptions
183 ifeq ($(USE_EXCEPTIONS),1)
187 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
189 ifeq ($(BUILD),debug)
190 ifeq ($(DEBUG_FLAG),default)
191 __DEBUG_DEFINE_p = -D__WXDEBUG__
194 ifeq ($(DEBUG_FLAG),1)
195 __DEBUG_DEFINE_p = -D__WXDEBUG__
197 ifeq ($(USE_EXCEPTIONS),0)
198 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
201 __RTTI_DEFINE_p = -DwxNO_RTTI
203 ifeq ($(USE_THREADS),0)
204 __THREAD_DEFINE_p = -DwxNO_THREADS
207 __UNICODE_DEFINE_p = -D_UNICODE
213 -if not exist $(OBJS) mkdir $(OBJS)
217 all: $(__animatedll___depname) $(__animatelib___depname)
220 -if exist $(OBJS)\*.o del $(OBJS)\*.o
221 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll
222 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a
223 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a
226 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_version_rc.o
227 $(CXX) -shared -fPIC -o $@ $(ANIMATEDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.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)
231 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a: $(ANIMATELIB_OBJECTS)
233 ar rcu $@ $(ANIMATELIB_OBJECTS)
237 $(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
238 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
240 $(OBJS)\animatedll_version_rc.o: ../../src/animate/../../../src/msw/version.rc
241 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/animate/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG)
243 $(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp
244 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
246 $(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
247 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
249 $(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp
250 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<