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