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 ANIMATEDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
22 -Wall -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \
23 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
24 ANIMATEDLL_OBJECTS = \
25 $(OBJS)\animatedll_dummy.o \
26 $(OBJS)\animatedll_animate.o
27 ANIMATELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
28 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
29 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
30 -Wall -I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
31 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
32 ANIMATELIB_OBJECTS = \
33 $(OBJS)\animatelib_dummy.o \
34 $(OBJS)\animatelib_animate.o
36 ### Conditionally set variables: ###
38 ifeq ($(GCC_VERSION),2.95)
39 GCCFLAGS = -fvtable-thunks
47 ifeq ($(OFFICIAL_BUILD),0)
48 VENDORTAG = _$(VENDOR)
50 ifeq ($(OFFICIAL_BUILD),1)
54 ifeq ($(DEBUG_FLAG),default)
58 ifeq ($(DEBUG_FLAG),1)
71 __animatedll___depname = \
72 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll
74 ifeq ($(MONOLITHIC),1)
76 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
79 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
82 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
85 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
88 __UNICOWS_LIB_p = -lunicows
90 ifeq ($(MONOLITHIC),0)
92 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
94 ifeq ($(MONOLITHIC),0)
95 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
98 __animatelib___depname = \
99 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a
101 ifeq ($(BUILD),debug)
102 ifeq ($(DEBUG_INFO),default)
106 ifeq ($(BUILD),release)
107 ifeq ($(DEBUG_INFO),default)
111 ifeq ($(DEBUG_INFO),0)
114 ifeq ($(DEBUG_INFO),1)
117 ifeq ($(BUILD),debug)
120 ifeq ($(BUILD),release)
123 ifeq ($(USE_EXCEPTIONS),0)
124 __EXCEPTIONSFLAG = -fno-rtti
126 ifeq ($(USE_EXCEPTIONS),1)
129 ifeq ($(USE_EXCEPTIONS),0)
130 __EXCEPTIONSFLAG_0 = -fno-exceptions
132 ifeq ($(USE_EXCEPTIONS),1)
136 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
138 ifeq ($(BUILD),debug)
139 ifeq ($(DEBUG_FLAG),default)
140 __DEBUG_DEFINE_p = -D__WXDEBUG__
143 ifeq ($(DEBUG_FLAG),1)
144 __DEBUG_DEFINE_p = -D__WXDEBUG__
147 __UNICODE_DEFINE_p = -D_UNICODE
150 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_lib$(CFG)
153 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_dll$(CFG)
159 -if not exist $(OBJS) mkdir $(OBJS)
163 all: $(__animatedll___depname) $(__animatelib___depname)
166 -if exist $(OBJS)\*.o del $(OBJS)\*.o
167 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll
168 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a
169 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a
172 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS)
173 $(CXX) -shared -o $@ $(ANIMATEDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.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)
177 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a: $(ANIMATELIB_OBJECTS)
179 ar rcu $@ $(ANIMATELIB_OBJECTS)
183 $(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
184 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
186 $(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp
187 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
189 $(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
190 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
192 $(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp
193 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<