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 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 ANIMATEDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
22 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
24 -Wall -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \
25 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
26 ANIMATEDLL_OBJECTS = \
27 $(OBJS)\animatedll_dummy.o \
28 $(OBJS)\animatedll_animate.o
29 ANIMATELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
30 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
31 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
32 -Wall -I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
33 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
34 ANIMATELIB_OBJECTS = \
35 $(OBJS)\animatelib_dummy.o \
36 $(OBJS)\animatelib_animate.o
38 ### Conditionally set variables: ###
40 ifeq ($(GCC_VERSION),2.95)
41 GCCFLAGS = -fvtable-thunks
49 ifeq ($(OFFICIAL_BUILD),0)
50 VENDORTAG = _$(VENDOR)
52 ifeq ($(OFFICIAL_BUILD),1)
56 ifeq ($(DEBUG_FLAG),default)
60 ifeq ($(DEBUG_FLAG),1)
72 ifeq ($(MONOLITHIC),0)
75 ifeq ($(MONOLITHIC),1)
79 __animatedll___depname = \
80 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll
82 ifeq ($(MONOLITHIC),1)
84 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
87 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
90 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
93 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
96 __UNICOWS_LIB_p = -lunicows
98 ifeq ($(MONOLITHIC),0)
100 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
102 ifeq ($(MONOLITHIC),0)
104 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
107 __animatelib___depname = \
108 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a
110 ifeq ($(BUILD),debug)
111 ifeq ($(DEBUG_INFO),default)
115 ifeq ($(BUILD),release)
116 ifeq ($(DEBUG_INFO),default)
120 ifeq ($(DEBUG_INFO),0)
123 ifeq ($(DEBUG_INFO),1)
126 ifeq ($(BUILD),debug)
129 ifeq ($(BUILD),release)
132 ifeq ($(USE_EXCEPTIONS),0)
133 __EXCEPTIONSFLAG = -fno-rtti
135 ifeq ($(USE_EXCEPTIONS),1)
138 ifeq ($(USE_EXCEPTIONS),0)
139 __EXCEPTIONSFLAG_0 = -fno-exceptions
141 ifeq ($(USE_EXCEPTIONS),1)
145 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
147 ifeq ($(BUILD),debug)
148 ifeq ($(DEBUG_FLAG),default)
149 __DEBUG_DEFINE_p = -D__WXDEBUG__
152 ifeq ($(DEBUG_FLAG),1)
153 __DEBUG_DEFINE_p = -D__WXDEBUG__
156 __UNICODE_DEFINE_p = -D_UNICODE
159 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_lib$(CFG)
162 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_dll$(CFG)
168 -if not exist $(OBJS) mkdir $(OBJS)
172 all: $(__animatedll___depname) $(__animatelib___depname)
175 -if exist $(OBJS)\*.o del $(OBJS)\*.o
176 -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
177 -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
178 -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
181 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS)
182 $(CXX) -shared -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)
186 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a: $(ANIMATELIB_OBJECTS)
188 ar rcu $@ $(ANIMATELIB_OBJECTS)
192 $(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
193 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
195 $(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp
196 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
198 $(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
199 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
201 $(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp
202 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<