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