]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/animate/makefile.gcc
1.10.2 and less mbtowc and wctomb HAVE THE COOTIEScd .. (they are just stubs and...
[wxWidgets.git] / contrib / build / animate / makefile.gcc
... / ...
CommitLineData
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# =========================================================================
6
7include ../../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15WX_RELEASE_NODOT = 25
16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)2
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21ANIMATEDLL_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)
26ANIMATEDLL_OBJECTS = \
27 $(OBJS)\animatedll_dummy.o \
28 $(OBJS)\animatedll_animate.o
29ANIMATELIB_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)
34ANIMATELIB_OBJECTS = \
35 $(OBJS)\animatelib_dummy.o \
36 $(OBJS)\animatelib_animate.o
37
38### Conditionally set variables: ###
39
40ifeq ($(GCC_VERSION),2.95)
41GCCFLAGS = -fvtable-thunks
42endif
43ifeq ($(USE_GUI),0)
44PORTNAME = base
45endif
46ifeq ($(USE_GUI),1)
47PORTNAME = msw
48endif
49ifeq ($(OFFICIAL_BUILD),0)
50VENDORTAG = _$(VENDOR)
51endif
52ifeq ($(OFFICIAL_BUILD),1)
53VENDORTAG =
54endif
55ifeq ($(BUILD),debug)
56ifeq ($(DEBUG_FLAG),default)
57WXDEBUGFLAG = d
58endif
59endif
60ifeq ($(DEBUG_FLAG),1)
61WXDEBUGFLAG = d
62endif
63ifeq ($(UNICODE),1)
64WXUNICODEFLAG = u
65endif
66ifeq ($(WXUNIV),1)
67WXUNIVNAME = univ
68endif
69ifeq ($(SHARED),1)
70WXDLLFLAG = dll
71endif
72ifeq ($(SHARED),1)
73__animatedll___depname = \
74 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll
75endif
76ifeq ($(MONOLITHIC),1)
77__WXLIB_MONO_p = \
78 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
79endif
80ifeq ($(USE_GUI),1)
81__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
82endif
83ifeq ($(USE_GUI),1)
84__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
85endif
86ifeq ($(USE_GUI),1)
87__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
88endif
89ifeq ($(MSLU),1)
90__UNICOWS_LIB_p = -lunicows
91endif
92ifeq ($(MONOLITHIC),0)
93__WXLIB_CORE_p = \
94 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
95endif
96ifeq ($(MONOLITHIC),0)
97__WXLIB_BASE_p = \
98 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
99endif
100ifeq ($(SHARED),0)
101__animatelib___depname = \
102 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a
103endif
104ifeq ($(BUILD),debug)
105ifeq ($(DEBUG_INFO),default)
106__DEBUGINFO = -g
107endif
108endif
109ifeq ($(BUILD),release)
110ifeq ($(DEBUG_INFO),default)
111__DEBUGINFO =
112endif
113endif
114ifeq ($(DEBUG_INFO),0)
115__DEBUGINFO =
116endif
117ifeq ($(DEBUG_INFO),1)
118__DEBUGINFO = -g
119endif
120ifeq ($(BUILD),debug)
121__OPTIMIZEFLAG = -O0
122endif
123ifeq ($(BUILD),release)
124__OPTIMIZEFLAG = -O2
125endif
126ifeq ($(USE_EXCEPTIONS),0)
127__EXCEPTIONSFLAG = -fno-rtti
128endif
129ifeq ($(USE_EXCEPTIONS),1)
130__EXCEPTIONSFLAG =
131endif
132ifeq ($(USE_EXCEPTIONS),0)
133__EXCEPTIONSFLAG_0 = -fno-exceptions
134endif
135ifeq ($(USE_EXCEPTIONS),1)
136__EXCEPTIONSFLAG_0 =
137endif
138ifeq ($(WXUNIV),1)
139__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
140endif
141ifeq ($(BUILD),debug)
142ifeq ($(DEBUG_FLAG),default)
143__DEBUG_DEFINE_p = -D__WXDEBUG__
144endif
145endif
146ifeq ($(DEBUG_FLAG),1)
147__DEBUG_DEFINE_p = -D__WXDEBUG__
148endif
149ifeq ($(UNICODE),1)
150__UNICODE_DEFINE_p = -D_UNICODE
151endif
152ifeq ($(SHARED),0)
153LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_lib$(CFG)
154endif
155ifeq ($(SHARED),1)
156LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_dll$(CFG)
157endif
158
159
160all: $(OBJS)
161$(OBJS):
162 -if not exist $(OBJS) mkdir $(OBJS)
163
164### Targets: ###
165
166all: $(__animatedll___depname) $(__animatelib___depname)
167
168clean:
169 -if exist $(OBJS)\*.o del $(OBJS)\*.o
170 -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
171 -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
172 -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
173
174ifeq ($(SHARED),1)
175$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS)
176 $(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)$(WX_RELEASE_NODOT) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) -lwxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
177endif
178
179ifeq ($(SHARED),0)
180$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a: $(ANIMATELIB_OBJECTS)
181 if exist $@ del $@
182 ar rcu $@ $(ANIMATELIB_OBJECTS)
183 ranlib $@
184endif
185
186$(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
187 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
188
189$(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp
190 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
191
192$(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
193 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
194
195$(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp
196 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
197
198.PHONY: all clean