1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
16 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
17 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
18 -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \
20 ANIMATEDLL_OBJECTS = \
21 $(OBJS)\animatedll_dummy.o \
22 $(OBJS)\animatedll_animate.o
23 ANIMATELIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
24 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
26 -I..\..\src\animate\..\..\include $(CXXFLAGS)
27 ANIMATELIB_OBJECTS = \
28 $(OBJS)\animatelib_dummy.o \
29 $(OBJS)\animatelib_animate.o
31 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
33 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
35 ### Conditionally set variables: ###
37 ifeq ($(GCC_VERSION),2.95)
38 GCCFLAGS = -fvtable-thunks
41 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_lib$(CFG)
44 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_dll$(CFG)
52 ifeq ($(OFFICIAL_BUILD),0)
53 VENDORTAG = _$(VENDOR)
55 ifeq ($(OFFICIAL_BUILD),1)
59 ifeq ($(DEBUG_FLAG),default)
63 ifeq ($(DEBUG_FLAG),1)
76 ifeq ($(DEBUG_INFO),default)
80 ifeq ($(BUILD),release)
81 ifeq ($(DEBUG_INFO),default)
85 ifeq ($(DEBUG_INFO),0)
88 ifeq ($(DEBUG_INFO),1)
92 ifeq ($(DEBUG_FLAG),default)
93 __DEBUG_DEFINE_p = -D__WXDEBUG__
96 ifeq ($(DEBUG_FLAG),1)
97 __DEBUG_DEFINE_p = -D__WXDEBUG__
100 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
103 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
106 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
108 ifeq ($(BUILD),debug)
111 ifeq ($(BUILD),release)
115 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
118 __UNICOWS_LIB_p = -lunicows
120 ifeq ($(MONOLITHIC),0)
121 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
123 ifeq ($(MONOLITHIC),0)
125 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
127 ifeq ($(MONOLITHIC),1)
129 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
132 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
135 __animatedll___depname = \
136 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll
139 __animatelib___depname = \
140 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a
146 -if not exist $(OBJS) mkdir $(OBJS)
150 all: $(__animatedll___depname) $(__animatelib___depname)
152 $(OBJS)\animatedll_animate.o: ../../src/animate\animate.cpp
153 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
155 $(OBJS)\animatedll_dummy.o: ../../src/animate\..\..\..\src\msw\dummy.cpp
156 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
158 $(OBJS)\animatelib_animate.o: ../../src/animate\animate.cpp
159 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
161 $(OBJS)\animatelib_dummy.o: ../../src/animate\..\..\..\src\msw\dummy.cpp
162 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
165 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS)
166 $(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$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
170 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a: $(ANIMATELIB_OBJECTS)
172 ar rcu $@ $(ANIMATELIB_OBJECTS)
177 -if exist $(OBJS)\*.o del $(OBJS)\*.o
178 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll
179 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a
180 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a