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