]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/animate/makefile.vc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / animate / makefile.vc
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.vc>
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 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
20 SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 ANIMATEDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 $(__DEBUGINFO_1) \
24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).pdb \
25 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
26 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \
29 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_animatedll.pch" $(CPPFLAGS) $(CXXFLAGS)
31 ANIMATEDLL_OBJECTS = \
32 $(OBJS)\animatedll_dummy.obj \
33 $(OBJS)\animatedll_animate.obj
34 ANIMATELIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
35 $(__DEBUGINFO_1) \
36 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.pdb \
37 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
38 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
39 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
40 /I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
41 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatelib.pch" \
42 $(CPPFLAGS) $(CXXFLAGS)
43 ANIMATELIB_OBJECTS = \
44 $(OBJS)\animatelib_dummy.obj \
45 $(OBJS)\animatelib_animate.obj
46
47 ### Conditionally set variables: ###
48
49 !if "$(USE_GUI)" == "0"
50 PORTNAME = base
51 !endif
52 !if "$(USE_GUI)" == "1"
53 PORTNAME = msw
54 !endif
55 !if "$(OFFICIAL_BUILD)" == "0"
56 VENDORTAG = _$(VENDOR)
57 !endif
58 !if "$(OFFICIAL_BUILD)" == "1"
59 VENDORTAG =
60 !endif
61 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
62 WXDEBUGFLAG = d
63 !endif
64 !if "$(DEBUG_FLAG)" == "1"
65 WXDEBUGFLAG = d
66 !endif
67 !if "$(UNICODE)" == "1"
68 WXUNICODEFLAG = u
69 !endif
70 !if "$(WXUNIV)" == "1"
71 WXUNIVNAME = univ
72 !endif
73 !if "$(SHARED)" == "1"
74 WXDLLFLAG = dll
75 !endif
76 !if "$(SHARED)" == "0"
77 LIBTYPE_SUFFIX = lib
78 !endif
79 !if "$(SHARED)" == "1"
80 LIBTYPE_SUFFIX = dll
81 !endif
82 !if "$(MONOLITHIC)" == "0"
83 EXTRALIBS_FOR_BASE =
84 !endif
85 !if "$(MONOLITHIC)" == "1"
86 EXTRALIBS_FOR_BASE =
87 !endif
88 !if "$(SHARED)" == "1"
89 __animatedll___depname = \
90 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll
91 !endif
92 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
93 __DEBUGINFO_2 = /DEBUG
94 !endif
95 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
96 __DEBUGINFO_2 =
97 !endif
98 !if "$(DEBUG_INFO)" == "0"
99 __DEBUGINFO_2 =
100 !endif
101 !if "$(DEBUG_INFO)" == "1"
102 __DEBUGINFO_2 = /DEBUG
103 !endif
104 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
105 ____DEBUGRUNTIME_3_p =
106 !endif
107 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
108 ____DEBUGRUNTIME_3_p = /D_DEBUG
109 !endif
110 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
111 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
112 !endif
113 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
114 __DEBUGRUNTIME_4 =
115 !endif
116 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
117 __DEBUGRUNTIME_4 = d
118 !endif
119 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
120 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
121 !endif
122 !if "$(MONOLITHIC)" == "1"
123 __WXLIB_MONO_p = \
124 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
125 !endif
126 !if "$(USE_GUI)" == "1"
127 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
128 !endif
129 !if "$(USE_GUI)" == "1"
130 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
131 !endif
132 !if "$(USE_GUI)" == "1"
133 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
134 !endif
135 !if "$(MSLU)" == "1"
136 __UNICOWS_LIB_p = unicows.lib
137 !endif
138 !if "$(MONOLITHIC)" == "0"
139 __WXLIB_CORE_p = \
140 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
141 !endif
142 !if "$(MONOLITHIC)" == "0"
143 __WXLIB_BASE_p = \
144 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
145 !endif
146 !if "$(SHARED)" == "0"
147 __animatelib___depname = \
148 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
149 !endif
150 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
151 ____DEBUGRUNTIME_15_p =
152 !endif
153 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
154 ____DEBUGRUNTIME_15_p = /D_DEBUG
155 !endif
156 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
157 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
158 !endif
159 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
160 __DEBUGRUNTIME_16 =
161 !endif
162 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
163 __DEBUGRUNTIME_16 = d
164 !endif
165 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
166 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
167 !endif
168 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
169 __DEBUGINFO_1 = /Zi
170 !endif
171 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
172 __DEBUGINFO_1 =
173 !endif
174 !if "$(DEBUG_INFO)" == "0"
175 __DEBUGINFO_1 =
176 !endif
177 !if "$(DEBUG_INFO)" == "1"
178 __DEBUGINFO_1 = /Zi
179 !endif
180 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
181 ____DEBUGINFO = /D_DEBUG
182 !endif
183 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
184 ____DEBUGINFO =
185 !endif
186 !if "$(DEBUG_INFO)" == "0"
187 ____DEBUGINFO =
188 !endif
189 !if "$(DEBUG_INFO)" == "1"
190 ____DEBUGINFO = /D_DEBUG
191 !endif
192 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
193 __DEBUGINFO = d
194 !endif
195 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
196 __DEBUGINFO =
197 !endif
198 !if "$(DEBUG_INFO)" == "0"
199 __DEBUGINFO =
200 !endif
201 !if "$(DEBUG_INFO)" == "1"
202 __DEBUGINFO = d
203 !endif
204 !if "$(BUILD)" == "debug"
205 __OPTIMIZEFLAG = /Od
206 !endif
207 !if "$(BUILD)" == "release"
208 __OPTIMIZEFLAG = /O2
209 !endif
210 !if "$(RUNTIME_LIBS)" == "dynamic"
211 __RUNTIME_LIBS = D
212 !endif
213 !if "$(RUNTIME_LIBS)" == "static"
214 __RUNTIME_LIBS = T
215 !endif
216 !if "$(USE_EXCEPTIONS)" == "0"
217 __EXCEPTIONSFLAG =
218 !endif
219 !if "$(USE_EXCEPTIONS)" == "1"
220 __EXCEPTIONSFLAG = /GR
221 !endif
222 !if "$(USE_EXCEPTIONS)" == "0"
223 __EXCEPTIONSFLAG_0 =
224 !endif
225 !if "$(USE_EXCEPTIONS)" == "1"
226 __EXCEPTIONSFLAG_0 = /GX
227 !endif
228 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
229 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
230 !endif
231 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
232 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
233 !endif
234 !if "$(WXUNIV)" == "1"
235 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
236 !endif
237 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
238 __DEBUG_DEFINE_p = /D__WXDEBUG__
239 !endif
240 !if "$(DEBUG_FLAG)" == "1"
241 __DEBUG_DEFINE_p = /D__WXDEBUG__
242 !endif
243 !if "$(UNICODE)" == "1"
244 __UNICODE_DEFINE_p = /D_UNICODE
245 !endif
246
247
248 all: $(OBJS)
249 $(OBJS):
250 -if not exist $(OBJS) mkdir $(OBJS)
251
252 ### Targets: ###
253
254 all: $(__animatedll___depname) $(__animatelib___depname)
255
256 clean:
257 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
258 -if exist $(OBJS)\*.res del $(OBJS)\*.res
259 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
260 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll
261 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).ilk
262 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).pdb
263 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
264 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
265
266 !if "$(SHARED)" == "1"
267 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
268 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
269 $(ANIMATEDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
270 <<
271 !endif
272
273 !if "$(SHARED)" == "0"
274 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
275 if exist $@ del $@
276 lib /NOLOGO /OUT:$@ @<<
277 $(ANIMATELIB_OBJECTS)
278 <<
279 !endif
280
281 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $**
283
284 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $**
286
287 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $**
289
290 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $**
292