]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
f509d00d | 3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) |
250700e4 RD |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
7 | !include <../../../build/config.vc> | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
3f55f5b8 VS |
15 | ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \ |
16 | /DWIN32 $(__DEBUGINFO_2) \ | |
17 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb \ | |
18 | $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
19 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
20 | /I..\..\src\animate\..\..\..\include /I$(LIBDIRNAME) \ | |
21 | /I..\..\src\animate\..\..\..\src\tiff \ | |
22 | /I..\..\src\animate\..\..\..\src\jpeg \ | |
23 | /I..\..\src\animate\..\..\..\src\png \ | |
24 | /I..\..\src\animate\..\..\..\src\zlib \ | |
25 | /I..\..\src\animate\..\..\..\src\regex \ | |
26 | /I..\..\src\animate\..\..\..\src\expat\lib \ | |
27 | /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \ | |
28 | $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatedll.pch" | |
29 | ANIMATEDLL_OBJECTS = \ | |
30 | $(OBJS)\animatedll_dummy.obj \ | |
31 | $(OBJS)\animatedll_animate.obj | |
32 | ANIMATELIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \ | |
33 | /DWIN32 $(__DEBUGINFO_2) \ | |
34 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.pdb \ | |
35 | $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
36 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
37 | /I..\..\src\animate\..\..\..\include /I$(LIBDIRNAME) \ | |
38 | /I..\..\src\animate\..\..\..\src\tiff \ | |
39 | /I..\..\src\animate\..\..\..\src\jpeg \ | |
40 | /I..\..\src\animate\..\..\..\src\png \ | |
41 | /I..\..\src\animate\..\..\..\src\zlib \ | |
42 | /I..\..\src\animate\..\..\..\src\regex \ | |
43 | /I..\..\src\animate\..\..\..\src\expat\lib \ | |
44 | /I..\..\src\animate\..\..\include $(CXXFLAGS) /Yu"wx/wxprec.h" \ | |
45 | /Fp"$(OBJS)\wxprec_animatelib.pch" | |
46 | ANIMATELIB_OBJECTS = \ | |
47 | $(OBJS)\animatelib_dummy.obj \ | |
48 | $(OBJS)\animatelib_animate.obj | |
49 | LIBDIRNAME = \ | |
50 | ..\..\src\animate\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
51 | OBJS = \ | |
52 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
250700e4 RD |
53 | |
54 | ### Conditionally set variables: ### | |
55 | ||
56 | !if "$(USE_GUI)" == "0" | |
57 | PORTNAME = base | |
58 | !endif | |
59 | !if "$(USE_GUI)" == "1" | |
60 | PORTNAME = msw | |
61 | !endif | |
62 | !if "$(OFFICIAL_BUILD)" == "0" | |
63 | VENDORTAG = _$(VENDOR) | |
64 | !endif | |
65 | !if "$(OFFICIAL_BUILD)" == "1" | |
66 | VENDORTAG = | |
67 | !endif | |
3f55f5b8 VS |
68 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
69 | WXDEBUGFLAG = d | |
70 | !endif | |
71 | !if "$(DEBUG_FLAG)" == "1" | |
250700e4 RD |
72 | WXDEBUGFLAG = d |
73 | !endif | |
74 | !if "$(SHARED)" == "1" | |
75 | WXDLLFLAG = dll | |
76 | !endif | |
77 | !if "$(UNICODE)" == "1" | |
78 | WXUNICODEFLAG = u | |
79 | !endif | |
80 | !if "$(WXUNIV)" == "1" | |
81 | WXUNIVNAME = univ | |
82 | !endif | |
3f55f5b8 VS |
83 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
84 | __DEBUGINFO = d | |
250700e4 | 85 | !endif |
3f55f5b8 VS |
86 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
87 | __DEBUGINFO = | |
250700e4 | 88 | !endif |
3f55f5b8 VS |
89 | !if "$(DEBUG_INFO)" == "0" |
90 | __DEBUGINFO = | |
250700e4 | 91 | !endif |
3f55f5b8 VS |
92 | !if "$(DEBUG_INFO)" == "1" |
93 | __DEBUGINFO = d | |
250700e4 | 94 | !endif |
3f55f5b8 VS |
95 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
96 | __DEBUGINFO_1 = /DEBUG | |
250700e4 | 97 | !endif |
3f55f5b8 VS |
98 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
99 | __DEBUGINFO_1 = | |
250700e4 | 100 | !endif |
3f55f5b8 VS |
101 | !if "$(DEBUG_INFO)" == "0" |
102 | __DEBUGINFO_1 = | |
103 | !endif | |
104 | !if "$(DEBUG_INFO)" == "1" | |
105 | __DEBUGINFO_1 = /DEBUG | |
106 | !endif | |
107 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
108 | __DEBUGINFO_2 = /Zi | |
109 | !endif | |
110 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
111 | __DEBUGINFO_2 = | |
112 | !endif | |
113 | !if "$(DEBUG_INFO)" == "0" | |
114 | __DEBUGINFO_2 = | |
115 | !endif | |
116 | !if "$(DEBUG_INFO)" == "1" | |
117 | __DEBUGINFO_2 = /Zi | |
118 | !endif | |
119 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
120 | __DEBUGRUNTIME_12 = | |
121 | !endif | |
122 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
123 | __DEBUGRUNTIME_12 = d | |
124 | !endif | |
125 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
126 | __DEBUGRUNTIME_12 = $(__DEBUGINFO) | |
127 | !endif | |
128 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
129 | __DEBUGRUNTIME_3 = | |
130 | !endif | |
131 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
132 | __DEBUGRUNTIME_3 = d | |
133 | !endif | |
134 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
135 | __DEBUGRUNTIME_3 = $(__DEBUGINFO) | |
136 | !endif | |
137 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
250700e4 RD |
138 | __DEBUG_DEFINE_p = /D__WXDEBUG__ |
139 | !endif | |
3f55f5b8 VS |
140 | !if "$(DEBUG_FLAG)" == "1" |
141 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
142 | !endif | |
143 | !if "$(USE_GUI)" == "1" | |
144 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
145 | !endif | |
146 | !if "$(USE_GUI)" == "1" | |
147 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
148 | !endif | |
149 | !if "$(USE_GUI)" == "1" | |
150 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
151 | !endif | |
250700e4 RD |
152 | !if "$(BUILD)" == "debug" |
153 | __OPTIMIZEFLAG = /Od | |
154 | !endif | |
155 | !if "$(BUILD)" == "release" | |
156 | __OPTIMIZEFLAG = /O2 | |
157 | !endif | |
158 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
159 | __RUNTIME_LIBS = D | |
160 | !endif | |
161 | !if "$(RUNTIME_LIBS)" == "static" | |
f509d00d | 162 | __RUNTIME_LIBS = T |
250700e4 RD |
163 | !endif |
164 | !if "$(UNICODE)" == "1" | |
165 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1 | |
166 | !endif | |
167 | !if "$(MONOLITHIC)" == "0" | |
168 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
169 | !endif | |
170 | !if "$(MONOLITHIC)" == "0" | |
3f55f5b8 VS |
171 | __WXLIB_CORE_p = \ |
172 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
250700e4 RD |
173 | !endif |
174 | !if "$(MONOLITHIC)" == "1" | |
3f55f5b8 VS |
175 | __WXLIB_MONO_p = \ |
176 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
250700e4 RD |
177 | !endif |
178 | !if "$(WXUNIV)" == "1" | |
179 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
180 | !endif | |
3f55f5b8 VS |
181 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
182 | ____DEBUGINFO = /D_DEBUG | |
bdc408c4 | 183 | !endif |
3f55f5b8 | 184 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
e2d1c567 | 185 | ____DEBUGINFO = |
3f55f5b8 VS |
186 | !endif |
187 | !if "$(DEBUG_INFO)" == "0" | |
e2d1c567 | 188 | ____DEBUGINFO = |
3f55f5b8 VS |
189 | !endif |
190 | !if "$(DEBUG_INFO)" == "1" | |
191 | ____DEBUGINFO = /D_DEBUG | |
192 | !endif | |
193 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
e2d1c567 | 194 | ____DEBUGRUNTIME_11_p = |
3f55f5b8 VS |
195 | !endif |
196 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
197 | ____DEBUGRUNTIME_11_p = /D_DEBUG | |
198 | !endif | |
199 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
200 | ____DEBUGRUNTIME_11_p = $(____DEBUGINFO) | |
201 | !endif | |
202 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
e2d1c567 | 203 | ____DEBUGRUNTIME_2_p = |
3f55f5b8 VS |
204 | !endif |
205 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
206 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
207 | !endif | |
208 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
209 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO) | |
bdc408c4 | 210 | !endif |
250700e4 | 211 | !if "$(SHARED)" == "1" |
3f55f5b8 VS |
212 | __animatedll___depname = \ |
213 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll | |
250700e4 RD |
214 | !endif |
215 | !if "$(SHARED)" == "0" | |
3f55f5b8 VS |
216 | __animatelib___depname = \ |
217 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib | |
250700e4 RD |
218 | !endif |
219 | ||
220 | ||
221 | all: $(OBJS) | |
222 | $(OBJS): | |
223 | -if not exist $(OBJS) mkdir $(OBJS) | |
224 | ||
225 | ### Targets: ### | |
226 | ||
227 | all: $(__animatedll___depname) $(__animatelib___depname) | |
228 | ||
229 | $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp | |
230 | $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $** | |
231 | ||
232 | $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp | |
233 | $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
234 | ||
235 | $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp | |
236 | $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $** | |
237 | ||
238 | $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp | |
239 | $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
240 | ||
241 | !if "$(SHARED)" == "1" | |
3f55f5b8 VS |
242 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_dummy.obj |
243 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<< | |
244 | $(ANIMATEDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib | |
250700e4 RD |
245 | << |
246 | !endif | |
247 | ||
248 | !if "$(SHARED)" == "0" | |
3f55f5b8 | 249 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(ANIMATELIB_OBJECTS) $(OBJS)\animatelib_dummy.obj |
250700e4 RD |
250 | if exist $@ del $@ |
251 | lib /NOLOGO /OUT:$@ @<< | |
3f55f5b8 | 252 | $(ANIMATELIB_OBJECTS) |
250700e4 RD |
253 | << |
254 | !endif | |
255 | ||
256 | clean: | |
257 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
258 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
3f55f5b8 VS |
259 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll |
260 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib | |
261 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib |