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\animate\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 ANIMATEDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
25 -W -Wall -I..\..\src\animate\..\..\include -DWXUSINGDLL \
26 -DWXMAKINGDLL_ANIMATE $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
27 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
28 ANIMATEDLL_OBJECTS = \
29 $(OBJS)\animatedll_dummy.o \
30 $(OBJS)\animatedll_animate.o
31 ANIMATELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
32 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
34 -W -Wall -I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
35 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
36 ANIMATELIB_OBJECTS = \
37 $(OBJS)\animatelib_dummy.o \
38 $(OBJS)\animatelib_animate.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)
80 ifeq ($(MONOLITHIC),0)
83 ifeq ($(MONOLITHIC),1)
87 __animatedll___depname = \
88 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll
90 ifeq ($(MONOLITHIC),1)
92 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
95 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
98 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
101 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
104 __UNICOWS_LIB_p = -lunicows
106 ifeq ($(MONOLITHIC),0)
108 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
110 ifeq ($(MONOLITHIC),0)
112 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
115 __animatelib___depname = \
116 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a
118 ifeq ($(BUILD),debug)
119 ifeq ($(DEBUG_INFO),default)
123 ifeq ($(BUILD),release)
124 ifeq ($(DEBUG_INFO),default)
128 ifeq ($(DEBUG_INFO),0)
131 ifeq ($(DEBUG_INFO),1)
134 ifeq ($(BUILD),debug)
137 ifeq ($(BUILD),release)
140 ifeq ($(USE_EXCEPTIONS),0)
141 __EXCEPTIONSFLAG = -fno-rtti
143 ifeq ($(USE_EXCEPTIONS),1)
146 ifeq ($(USE_EXCEPTIONS),0)
147 __EXCEPTIONSFLAG_0 = -fno-exceptions
149 ifeq ($(USE_EXCEPTIONS),1)
153 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
155 ifeq ($(BUILD),debug)
156 ifeq ($(DEBUG_FLAG),default)
157 __DEBUG_DEFINE_p = -D__WXDEBUG__
160 ifeq ($(DEBUG_FLAG),1)
161 __DEBUG_DEFINE_p = -D__WXDEBUG__
164 __UNICODE_DEFINE_p = -D_UNICODE
170 -if not exist $(OBJS) mkdir $(OBJS)
174 all: $(__animatedll___depname) $(__animatelib___depname)
177 -if exist $(OBJS)\*.o del $(OBJS)\*.o
178 -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
179 -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
180 -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
183 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS)
184 $(CXX) -shared -fPIC -o $@ $(ANIMATEDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -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)
188 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a: $(ANIMATELIB_OBJECTS)
190 ar rcu $@ $(ANIMATELIB_OBJECTS)
194 $(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
195 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
197 $(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp
198 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
200 $(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
201 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
203 $(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp
204 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<