]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
b17c1746 | 3 | # Bakefile 0.1.2 (http://bakefile.sourceforge.net) |
250700e4 RD |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | !include <../../../build/msw/config.vc> |
250700e4 RD |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
b17c1746 DE |
15 | OBJS = \ |
16 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
17 | SETUPHDIR = \ | |
18 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
9bfe7ad9 | 19 | ANIMATEDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \ |
b17c1746 | 20 | $(__DEBUGINFO) \ |
ec08d395 JS |
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 \ | |
3f55f5b8 | 25 | /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \ |
9bfe7ad9 VS |
26 | $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \ |
27 | /Fp"$(OBJS)\wxprec_animatedll.pch" $(CPPFLAGS) $(CXXFLAGS) | |
3f55f5b8 VS |
28 | ANIMATEDLL_OBJECTS = \ |
29 | $(OBJS)\animatedll_dummy.obj \ | |
30 | $(OBJS)\animatedll_animate.obj | |
9bfe7ad9 | 31 | ANIMATELIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \ |
b17c1746 | 32 | $(__DEBUGINFO) \ |
3f55f5b8 | 33 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.pdb \ |
a4ad36cd | 34 | $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
ec08d395 JS |
35 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ |
36 | /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \ | |
9bfe7ad9 VS |
37 | /I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \ |
38 | $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatelib.pch" \ | |
39 | $(CPPFLAGS) $(CXXFLAGS) | |
3f55f5b8 VS |
40 | ANIMATELIB_OBJECTS = \ |
41 | $(OBJS)\animatelib_dummy.obj \ | |
42 | $(OBJS)\animatelib_animate.obj | |
250700e4 RD |
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 | |
3f55f5b8 VS |
58 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
59 | WXDEBUGFLAG = d | |
60 | !endif | |
61 | !if "$(DEBUG_FLAG)" == "1" | |
250700e4 RD |
62 | WXDEBUGFLAG = d |
63 | !endif | |
250700e4 RD |
64 | !if "$(UNICODE)" == "1" |
65 | WXUNICODEFLAG = u | |
66 | !endif | |
67 | !if "$(WXUNIV)" == "1" | |
68 | WXUNIVNAME = univ | |
69 | !endif | |
b17c1746 DE |
70 | !if "$(SHARED)" == "1" |
71 | WXDLLFLAG = dll | |
250700e4 | 72 | !endif |
b17c1746 DE |
73 | !if "$(SHARED)" == "1" |
74 | __animatedll___depname = \ | |
75 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll | |
250700e4 | 76 | !endif |
3f55f5b8 VS |
77 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
78 | __DEBUGINFO_1 = /DEBUG | |
250700e4 | 79 | !endif |
3f55f5b8 VS |
80 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
81 | __DEBUGINFO_1 = | |
250700e4 | 82 | !endif |
3f55f5b8 VS |
83 | !if "$(DEBUG_INFO)" == "0" |
84 | __DEBUGINFO_1 = | |
85 | !endif | |
86 | !if "$(DEBUG_INFO)" == "1" | |
87 | __DEBUGINFO_1 = /DEBUG | |
88 | !endif | |
3f55f5b8 | 89 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
b17c1746 | 90 | ____DEBUGRUNTIME_2_p = |
3f55f5b8 VS |
91 | !endif |
92 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
b17c1746 | 93 | ____DEBUGRUNTIME_2_p = /D_DEBUG |
3f55f5b8 VS |
94 | !endif |
95 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
b17c1746 | 96 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO) |
3f55f5b8 VS |
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" | |
b17c1746 | 105 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_2) |
a4ad36cd | 106 | !endif |
b17c1746 DE |
107 | !if "$(MONOLITHIC)" == "1" |
108 | __WXLIB_MONO_p = \ | |
109 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
a4ad36cd | 110 | !endif |
b17c1746 DE |
111 | !if "$(USE_GUI)" == "1" |
112 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
a4ad36cd | 113 | !endif |
3f55f5b8 VS |
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 | |
b17c1746 DE |
120 | !if "$(MSLU)" == "1" |
121 | __UNICOWS_LIB_p = unicows.lib | |
3f55f5b8 | 122 | !endif |
b17c1746 DE |
123 | !if "$(MONOLITHIC)" == "0" |
124 | __WXLIB_CORE_p = \ | |
125 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
ec08d395 | 126 | !endif |
b17c1746 DE |
127 | !if "$(MONOLITHIC)" == "0" |
128 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
ec08d395 | 129 | !endif |
b17c1746 DE |
130 | !if "$(SHARED)" == "0" |
131 | __animatelib___depname = \ | |
132 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib | |
250700e4 | 133 | !endif |
b17c1746 DE |
134 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
135 | ____DEBUGRUNTIME_14_p = | |
250700e4 | 136 | !endif |
b17c1746 DE |
137 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
138 | ____DEBUGRUNTIME_14_p = /D_DEBUG | |
250700e4 | 139 | !endif |
b17c1746 DE |
140 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
141 | ____DEBUGRUNTIME_14_p = $(____DEBUGINFO) | |
250700e4 | 142 | !endif |
b17c1746 DE |
143 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
144 | __DEBUGRUNTIME_15 = | |
250700e4 | 145 | !endif |
b17c1746 DE |
146 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
147 | __DEBUGRUNTIME_15 = d | |
2265a2d5 | 148 | !endif |
b17c1746 DE |
149 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
150 | __DEBUGRUNTIME_15 = $(__DEBUGINFO_2) | |
250700e4 | 151 | !endif |
b17c1746 DE |
152 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
153 | __DEBUGINFO = /Zi | |
250700e4 | 154 | !endif |
b17c1746 DE |
155 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
156 | __DEBUGINFO = | |
250700e4 | 157 | !endif |
b17c1746 DE |
158 | !if "$(DEBUG_INFO)" == "0" |
159 | __DEBUGINFO = | |
160 | !endif | |
161 | !if "$(DEBUG_INFO)" == "1" | |
162 | __DEBUGINFO = /Zi | |
250700e4 | 163 | !endif |
3f55f5b8 VS |
164 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
165 | ____DEBUGINFO = /D_DEBUG | |
bdc408c4 | 166 | !endif |
3f55f5b8 | 167 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
e2d1c567 | 168 | ____DEBUGINFO = |
3f55f5b8 VS |
169 | !endif |
170 | !if "$(DEBUG_INFO)" == "0" | |
e2d1c567 | 171 | ____DEBUGINFO = |
3f55f5b8 VS |
172 | !endif |
173 | !if "$(DEBUG_INFO)" == "1" | |
174 | ____DEBUGINFO = /D_DEBUG | |
175 | !endif | |
b17c1746 DE |
176 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
177 | __DEBUGINFO_2 = d | |
3f55f5b8 | 178 | !endif |
b17c1746 DE |
179 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
180 | __DEBUGINFO_2 = | |
3f55f5b8 | 181 | !endif |
b17c1746 DE |
182 | !if "$(DEBUG_INFO)" == "0" |
183 | __DEBUGINFO_2 = | |
3f55f5b8 | 184 | !endif |
b17c1746 DE |
185 | !if "$(DEBUG_INFO)" == "1" |
186 | __DEBUGINFO_2 = d | |
3f55f5b8 | 187 | !endif |
b17c1746 DE |
188 | !if "$(BUILD)" == "debug" |
189 | __OPTIMIZEFLAG = /Od | |
3f55f5b8 | 190 | !endif |
b17c1746 DE |
191 | !if "$(BUILD)" == "release" |
192 | __OPTIMIZEFLAG = /O2 | |
bdc408c4 | 193 | !endif |
b17c1746 DE |
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 | |
250700e4 RD |
229 | !endif |
230 | !if "$(SHARED)" == "0" | |
b17c1746 DE |
231 | LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_lib$(CFG) |
232 | !endif | |
233 | !if "$(SHARED)" == "1" | |
234 | LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_dll$(CFG) | |
250700e4 RD |
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 | ||
b17c1746 DE |
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 | |
250700e4 RD |
254 | |
255 | !if "$(SHARED)" == "1" | |
ec08d395 | 256 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS) |
3f55f5b8 | 257 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<< |
ec08d395 | 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 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 |
250700e4 RD |
259 | << |
260 | !endif | |
261 | ||
262 | !if "$(SHARED)" == "0" | |
75a0a7b7 | 263 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS) |
250700e4 RD |
264 | if exist $@ del $@ |
265 | lib /NOLOGO /OUT:$@ @<< | |
3f55f5b8 | 266 | $(ANIMATELIB_OBJECTS) |
250700e4 RD |
267 | << |
268 | !endif | |
269 | ||
b17c1746 DE |
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) $** |