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