]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/animate/makefile.vc
Missed these in the char -> wxChar change.
[wxWidgets.git] / contrib / build / animate / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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 = 27
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
17 OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19 LIBDIRNAME = \
20 ..\..\src\animate\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21 SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 ANIMATEDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
24 $(__DEBUGINFO_1) \
25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
28 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
29 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\animate\..\..\..\include /W4 \
30 /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \
31 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
32 /Fp"$(OBJS)\wxprec_animatedll.pch" $(CPPFLAGS) $(CXXFLAGS)
33 ANIMATEDLL_OBJECTS = \
34 $(OBJS)\animatedll_dummy.obj \
35 $(OBJS)\animatedll_version.res \
36 $(OBJS)\animatedll_animate.obj
37 ANIMATELIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
38 $(__DEBUGINFO_1) \
39 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.pdb \
40 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
41 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
42 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\animate\..\..\..\include /W4 \
44 /I..\..\src\animate\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
45 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatelib.pch" $(CPPFLAGS) $(CXXFLAGS)
46 ANIMATELIB_OBJECTS = \
47 $(OBJS)\animatelib_dummy.obj \
48 $(OBJS)\animatelib_animate.obj
49
50 ### Conditionally set variables: ###
51
52 !if "$(USE_GUI)" == "0"
53 PORTNAME = base
54 !endif
55 !if "$(USE_GUI)" == "1"
56 PORTNAME = msw
57 !endif
58 !if "$(OFFICIAL_BUILD)" == "0"
59 VENDORTAG = _$(VENDOR)
60 !endif
61 !if "$(OFFICIAL_BUILD)" == "1"
62 VENDORTAG =
63 !endif
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65 WXDEBUGFLAG = d
66 !endif
67 !if "$(DEBUG_FLAG)" == "1"
68 WXDEBUGFLAG = d
69 !endif
70 !if "$(UNICODE)" == "1"
71 WXUNICODEFLAG = u
72 !endif
73 !if "$(WXUNIV)" == "1"
74 WXUNIVNAME = univ
75 !endif
76 !if "$(TARGET_CPU)" == "amd64"
77 DIR_SUFFIX_CPU = _amd64
78 !endif
79 !if "$(TARGET_CPU)" == "amd64"
80 DIR_SUFFIX_CPU = _amd64
81 !endif
82 !if "$(TARGET_CPU)" == "ia64"
83 DIR_SUFFIX_CPU = _ia64
84 !endif
85 !if "$(TARGET_CPU)" == "ia64"
86 DIR_SUFFIX_CPU = _ia64
87 !endif
88 !if "$(SHARED)" == "1"
89 WXDLLFLAG = dll
90 !endif
91 !if "$(SHARED)" == "0"
92 LIBTYPE_SUFFIX = lib
93 !endif
94 !if "$(SHARED)" == "1"
95 LIBTYPE_SUFFIX = dll
96 !endif
97 !if "$(TARGET_CPU)" == "amd64"
98 LINK_TARGET_CPU = /MACHINE:AMD64
99 !endif
100 !if "$(TARGET_CPU)" == "amd64"
101 LINK_TARGET_CPU = /MACHINE:AMD64
102 !endif
103 !if "$(TARGET_CPU)" == "ia64"
104 LINK_TARGET_CPU = /MACHINE:IA64
105 !endif
106 !if "$(TARGET_CPU)" == "ia64"
107 LINK_TARGET_CPU = /MACHINE:IA64
108 !endif
109 !if "$(MONOLITHIC)" == "0"
110 EXTRALIBS_FOR_BASE =
111 !endif
112 !if "$(MONOLITHIC)" == "1"
113 EXTRALIBS_FOR_BASE =
114 !endif
115 !if "$(SHARED)" == "1"
116 __animatedll___depname = \
117 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll
118 !endif
119 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
120 __DEBUGINFO_2 = /DEBUG
121 !endif
122 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
123 __DEBUGINFO_2 =
124 !endif
125 !if "$(DEBUG_INFO)" == "0"
126 __DEBUGINFO_2 =
127 !endif
128 !if "$(DEBUG_INFO)" == "1"
129 __DEBUGINFO_2 = /DEBUG
130 !endif
131 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
132 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
133 !endif
134 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
135 ____DEBUGRUNTIME_3_p_1 =
136 !endif
137 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
138 ____DEBUGRUNTIME_3_p_1 =
139 !endif
140 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
141 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
142 !endif
143 !if "$(RUNTIME_LIBS)" == "dynamic"
144 __RUNTIME_LIBS_9 = D
145 !endif
146 !if "$(RUNTIME_LIBS)" == "static"
147 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
148 !endif
149 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
150 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
151 !endif
152 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
153 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
154 !endif
155 !if "$(WXUNIV)" == "1"
156 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
157 !endif
158 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
159 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
160 !endif
161 !if "$(DEBUG_FLAG)" == "1"
162 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
163 !endif
164 !if "$(USE_EXCEPTIONS)" == "0"
165 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
166 !endif
167 !if "$(USE_RTTI)" == "0"
168 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
169 !endif
170 !if "$(USE_THREADS)" == "0"
171 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
172 !endif
173 !if "$(UNICODE)" == "1"
174 __UNICODE_DEFINE_p_1 = /d _UNICODE
175 !endif
176 !if "$(MSLU)" == "1"
177 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
178 !endif
179 !if "$(MONOLITHIC)" == "1"
180 __WXLIB_MONO_p = \
181 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
182 !endif
183 !if "$(USE_GUI)" == "1"
184 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
185 !endif
186 !if "$(USE_GUI)" == "1"
187 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
188 !endif
189 !if "$(USE_GUI)" == "1"
190 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
191 !endif
192 !if "$(MSLU)" == "1"
193 __UNICOWS_LIB_p = unicows.lib
194 !endif
195 !if "$(MONOLITHIC)" == "0"
196 __WXLIB_CORE_p = \
197 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
198 !endif
199 !if "$(MONOLITHIC)" == "0"
200 __WXLIB_BASE_p = \
201 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
202 !endif
203 !if "$(SHARED)" == "0"
204 __animatelib___depname = \
205 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
206 !endif
207 !if "$(RUNTIME_LIBS)" == "dynamic"
208 __RUNTIME_LIBS_22 = D
209 !endif
210 !if "$(RUNTIME_LIBS)" == "static"
211 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
212 !endif
213 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
214 __DEBUGINFO_1 = /Zi
215 !endif
216 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
217 __DEBUGINFO_1 =
218 !endif
219 !if "$(DEBUG_INFO)" == "0"
220 __DEBUGINFO_1 =
221 !endif
222 !if "$(DEBUG_INFO)" == "1"
223 __DEBUGINFO_1 = /Zi
224 !endif
225 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
226 ____DEBUGRUNTIME = /D_DEBUG
227 !endif
228 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
229 ____DEBUGRUNTIME =
230 !endif
231 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
232 ____DEBUGRUNTIME =
233 !endif
234 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
235 ____DEBUGRUNTIME = /D_DEBUG
236 !endif
237 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
238 __DEBUGRUNTIME = d
239 !endif
240 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
241 __DEBUGRUNTIME =
242 !endif
243 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
244 __DEBUGRUNTIME =
245 !endif
246 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
247 __DEBUGRUNTIME = d
248 !endif
249 !if "$(BUILD)" == "debug"
250 __OPTIMIZEFLAG = /Od
251 !endif
252 !if "$(BUILD)" == "release"
253 __OPTIMIZEFLAG = /O2
254 !endif
255 !if "$(USE_THREADS)" == "0"
256 __THREADSFLAG = L
257 !endif
258 !if "$(USE_THREADS)" == "1"
259 __THREADSFLAG = T
260 !endif
261 !if "$(USE_RTTI)" == "0"
262 __RTTIFLAG =
263 !endif
264 !if "$(USE_RTTI)" == "1"
265 __RTTIFLAG = /GR
266 !endif
267 !if "$(USE_EXCEPTIONS)" == "0"
268 __EXCEPTIONSFLAG =
269 !endif
270 !if "$(USE_EXCEPTIONS)" == "1"
271 __EXCEPTIONSFLAG = /EHsc
272 !endif
273 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
274 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
275 !endif
276 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
277 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
278 !endif
279 !if "$(WXUNIV)" == "1"
280 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
281 !endif
282 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
283 __DEBUG_DEFINE_p = /D__WXDEBUG__
284 !endif
285 !if "$(DEBUG_FLAG)" == "1"
286 __DEBUG_DEFINE_p = /D__WXDEBUG__
287 !endif
288 !if "$(USE_EXCEPTIONS)" == "0"
289 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
290 !endif
291 !if "$(USE_RTTI)" == "0"
292 __RTTI_DEFINE_p = /DwxNO_RTTI
293 !endif
294 !if "$(USE_THREADS)" == "0"
295 __THREAD_DEFINE_p = /DwxNO_THREADS
296 !endif
297 !if "$(UNICODE)" == "1"
298 __UNICODE_DEFINE_p = /D_UNICODE
299 !endif
300 !if "$(MSLU)" == "1"
301 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
302 !endif
303
304
305 all: $(OBJS)
306 $(OBJS):
307 -if not exist $(OBJS) mkdir $(OBJS)
308
309 ### Targets: ###
310
311 all: $(__animatedll___depname) $(__animatelib___depname)
312
313 clean:
314 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
315 -if exist $(OBJS)\*.res del $(OBJS)\*.res
316 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
317 -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
318 -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
319 -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
320 -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
321 -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
322
323 !if "$(SHARED)" == "1"
324 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_version.res
325 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
326 $(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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
327 <<
328 !endif
329
330 !if "$(SHARED)" == "0"
331 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
332 if exist $@ del $@
333 link /LIB /NOLOGO /OUT:$@ @<<
334 $(ANIMATELIB_OBJECTS)
335 <<
336 !endif
337
338 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\common\dummy.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $**
340
341 $(OBJS)\animatedll_version.res: ../../src/animate\..\..\..\src\msw\version.rc
342 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i $(SETUPHDIR) /i ..\..\src\animate\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG) $**
343
344 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $**
346
347 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\common\dummy.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $**
349
350 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $**
352