1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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 # -------------------------------------------------------------------------
15 CPPDEPS = -MT$@ -MF$@.d -MD
17 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
19 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 ANIMATEDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
24 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
27 -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) -W -Wall \
28 -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \
29 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
31 ANIMATEDLL_OBJECTS = \
32 $(OBJS)\animatedll_dummy.o \
33 $(OBJS)\animatedll_version_rc.o \
34 $(OBJS)\animatedll_animate.o
35 ANIMATELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
36 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
37 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
38 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
39 -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) -W -Wall \
40 -I..\..\src\animate\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
41 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
42 ANIMATELIB_OBJECTS = \
43 $(OBJS)\animatelib_dummy.o \
44 $(OBJS)\animatelib_animate.o
46 ### Conditionally set variables: ###
48 ifeq ($(GCC_VERSION),2.95)
49 GCCFLAGS = -fvtable-thunks
57 ifeq ($(OFFICIAL_BUILD),0)
58 VENDORTAG = _$(VENDOR)
60 ifeq ($(OFFICIAL_BUILD),1)
64 ifeq ($(DEBUG_FLAG),default)
68 ifeq ($(DEBUG_FLAG),1)
86 ifeq ($(MONOLITHIC),0)
89 ifeq ($(MONOLITHIC),1)
93 __animatedll___depname = \
94 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll
97 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
100 ifeq ($(DEBUG_FLAG),default)
101 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
104 ifeq ($(DEBUG_FLAG),1)
105 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
107 ifeq ($(USE_EXCEPTIONS),0)
108 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
111 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
113 ifeq ($(USE_THREADS),0)
114 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
117 __UNICODE_DEFINE_p_1 = --define _UNICODE
120 __MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
122 ifeq ($(MONOLITHIC),1)
124 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
127 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
130 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
133 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
136 __UNICOWS_LIB_p = -lunicows
138 ifeq ($(MONOLITHIC),0)
140 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
142 ifeq ($(MONOLITHIC),0)
144 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
147 __animatelib___depname = \
148 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a
150 ifeq ($(BUILD),debug)
151 ifeq ($(DEBUG_INFO),default)
155 ifeq ($(BUILD),release)
156 ifeq ($(DEBUG_INFO),default)
160 ifeq ($(DEBUG_INFO),0)
163 ifeq ($(DEBUG_INFO),1)
166 ifeq ($(BUILD),debug)
169 ifeq ($(BUILD),release)
172 ifeq ($(USE_THREADS),0)
175 ifeq ($(USE_THREADS),1)
176 __THREADSFLAG = -mthreads
179 __RTTIFLAG = -fno-rtti
184 ifeq ($(USE_EXCEPTIONS),0)
185 __EXCEPTIONSFLAG = -fno-exceptions
187 ifeq ($(USE_EXCEPTIONS),1)
191 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
193 ifeq ($(BUILD),debug)
194 ifeq ($(DEBUG_FLAG),default)
195 __DEBUG_DEFINE_p = -D__WXDEBUG__
198 ifeq ($(DEBUG_FLAG),1)
199 __DEBUG_DEFINE_p = -D__WXDEBUG__
201 ifeq ($(USE_EXCEPTIONS),0)
202 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
205 __RTTI_DEFINE_p = -DwxNO_RTTI
207 ifeq ($(USE_THREADS),0)
208 __THREAD_DEFINE_p = -DwxNO_THREADS
211 __UNICODE_DEFINE_p = -D_UNICODE
214 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
220 -if not exist $(OBJS) mkdir $(OBJS)
224 all: $(__animatedll___depname) $(__animatelib___depname)
227 -if exist $(OBJS)\*.o del $(OBJS)\*.o
228 -if exist $(OBJS)\*.d del $(OBJS)\*.d
229 -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
230 -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
231 -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
234 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_version_rc.o
235 $(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)
239 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a: $(ANIMATELIB_OBJECTS)
241 ar rcu $@ $(ANIMATELIB_OBJECTS)
245 $(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
246 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $(CPPDEPS) $<
248 $(OBJS)\animatedll_version_rc.o: ../../src/animate/../../../src/msw/version.rc
249 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) $(__MSLU_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)
251 $(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp
252 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $(CPPDEPS) $<
254 $(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
255 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $(CPPDEPS) $<
257 $(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp
258 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $(CPPDEPS) $<
263 # Dependencies tracking: