]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/animate/makefile.gcc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / animate / makefile.gcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7include ../../../build/msw/config.gcc
250700e4
RD
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
c33fae85 15WX_RELEASE_NODOT = 25
b14abf14 16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
b17c1746
DE
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 19LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 22ANIMATEDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
3f55f5b8 23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7 24 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
b14abf14
JS
25 -W -Wall -I..\..\src\animate\..\..\include -DWXUSINGDLL \
26 -DWXMAKINGDLL_ANIMATE $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
27 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
28ANIMATEDLL_OBJECTS = \
29 $(OBJS)\animatedll_dummy.o \
30 $(OBJS)\animatedll_animate.o
9bfe7ad9 31ANIMATELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
3f55f5b8 32 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7 33 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
b14abf14
JS
34 -W -Wall -I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
35 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
36ANIMATELIB_OBJECTS = \
37 $(OBJS)\animatelib_dummy.o \
38 $(OBJS)\animatelib_animate.o
250700e4
RD
39
40### Conditionally set variables: ###
41
42ifeq ($(GCC_VERSION),2.95)
43GCCFLAGS = -fvtable-thunks
44endif
45ifeq ($(USE_GUI),0)
46PORTNAME = base
47endif
48ifeq ($(USE_GUI),1)
49PORTNAME = msw
50endif
51ifeq ($(OFFICIAL_BUILD),0)
52VENDORTAG = _$(VENDOR)
53endif
54ifeq ($(OFFICIAL_BUILD),1)
55VENDORTAG =
56endif
57ifeq ($(BUILD),debug)
3f55f5b8
VS
58ifeq ($(DEBUG_FLAG),default)
59WXDEBUGFLAG = d
60endif
61endif
62ifeq ($(DEBUG_FLAG),1)
250700e4
RD
63WXDEBUGFLAG = d
64endif
250700e4
RD
65ifeq ($(UNICODE),1)
66WXUNICODEFLAG = u
67endif
68ifeq ($(WXUNIV),1)
69WXUNIVNAME = univ
70endif
b17c1746
DE
71ifeq ($(SHARED),1)
72WXDLLFLAG = dll
73endif
b14abf14
JS
74ifeq ($(SHARED),0)
75LIBTYPE_SUFFIX = lib
76endif
77ifeq ($(SHARED),1)
78LIBTYPE_SUFFIX = dll
79endif
dd65d8c8
RN
80ifeq ($(MONOLITHIC),0)
81EXTRALIBS_FOR_BASE =
82endif
83ifeq ($(MONOLITHIC),1)
84EXTRALIBS_FOR_BASE =
85endif
b17c1746
DE
86ifeq ($(SHARED),1)
87__animatedll___depname = \
c33fae85 88 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll
b17c1746
DE
89endif
90ifeq ($(MONOLITHIC),1)
91__WXLIB_MONO_p = \
c33fae85 92 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
93endif
94ifeq ($(USE_GUI),1)
9c2d002b 95__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
b17c1746
DE
96endif
97ifeq ($(USE_GUI),1)
9c2d002b 98__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
b17c1746
DE
99endif
100ifeq ($(USE_GUI),1)
9c2d002b 101__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
b17c1746
DE
102endif
103ifeq ($(MSLU),1)
104__UNICOWS_LIB_p = -lunicows
105endif
106ifeq ($(MONOLITHIC),0)
107__WXLIB_CORE_p = \
c33fae85 108 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
b17c1746
DE
109endif
110ifeq ($(MONOLITHIC),0)
c33fae85
RN
111__WXLIB_BASE_p = \
112 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
113endif
114ifeq ($(SHARED),0)
115__animatelib___depname = \
c33fae85 116 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a
b17c1746 117endif
250700e4 118ifeq ($(BUILD),debug)
3f55f5b8
VS
119ifeq ($(DEBUG_INFO),default)
120__DEBUGINFO = -g
121endif
250700e4
RD
122endif
123ifeq ($(BUILD),release)
3f55f5b8
VS
124ifeq ($(DEBUG_INFO),default)
125__DEBUGINFO =
126endif
127endif
128ifeq ($(DEBUG_INFO),0)
129__DEBUGINFO =
130endif
131ifeq ($(DEBUG_INFO),1)
132__DEBUGINFO = -g
250700e4
RD
133endif
134ifeq ($(BUILD),debug)
b17c1746 135__OPTIMIZEFLAG = -O0
3f55f5b8 136endif
b17c1746
DE
137ifeq ($(BUILD),release)
138__OPTIMIZEFLAG = -O2
250700e4 139endif
a4ad36cd
VS
140ifeq ($(USE_EXCEPTIONS),0)
141__EXCEPTIONSFLAG = -fno-rtti
142endif
143ifeq ($(USE_EXCEPTIONS),1)
144__EXCEPTIONSFLAG =
145endif
146ifeq ($(USE_EXCEPTIONS),0)
147__EXCEPTIONSFLAG_0 = -fno-exceptions
148endif
149ifeq ($(USE_EXCEPTIONS),1)
150__EXCEPTIONSFLAG_0 =
151endif
b17c1746
DE
152ifeq ($(WXUNIV),1)
153__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
3f55f5b8 154endif
250700e4 155ifeq ($(BUILD),debug)
b17c1746
DE
156ifeq ($(DEBUG_FLAG),default)
157__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4 158endif
b17c1746
DE
159endif
160ifeq ($(DEBUG_FLAG),1)
161__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4
RD
162endif
163ifeq ($(UNICODE),1)
ec08d395 164__UNICODE_DEFINE_p = -D_UNICODE
250700e4 165endif
250700e4
RD
166
167
168all: $(OBJS)
169$(OBJS):
170 -if not exist $(OBJS) mkdir $(OBJS)
171
172### Targets: ###
173
174all: $(__animatedll___depname) $(__animatelib___depname)
175
b17c1746
DE
176clean:
177 -if exist $(OBJS)\*.o del $(OBJS)\*.o
c33fae85
RN
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
250700e4
RD
181
182ifeq ($(SHARED),1)
c33fae85 183$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS)
b14abf14 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)
250700e4
RD
185endif
186
187ifeq ($(SHARED),0)
c33fae85 188$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.a: $(ANIMATELIB_OBJECTS)
250700e4 189 if exist $@ del $@
3f55f5b8 190 ar rcu $@ $(ANIMATELIB_OBJECTS)
250700e4
RD
191 ranlib $@
192endif
193
b17c1746
DE
194$(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
195 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
196
197$(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp
198 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
199
200$(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
201 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
202
203$(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp
204 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
250700e4
RD
205
206.PHONY: all clean
b14abf14 207