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