]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
cf9b63b3 | 3 | # Bakefile 0.2.0 (http://bakefile.sourceforge.net) |
250700e4 RD |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
9bfe7ad9 VS |
7 | .autodepend |
8 | ||
250700e4 | 9 | !ifndef BCCDIR |
9bfe7ad9 VS |
10 | !ifndef MAKEDIR |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
12 | !endif | |
250700e4 RD |
13 | BCCDIR = $(MAKEDIR)\.. |
14 | !endif | |
15 | ||
fd9f42b6 | 16 | !include ../../../build/msw/config.bcc |
250700e4 RD |
17 | |
18 | # ------------------------------------------------------------------------- | |
19 | # Do not modify the rest of this file! | |
20 | # ------------------------------------------------------------------------- | |
21 | ||
250700e4 RD |
22 | ### Variables: ### |
23 | ||
4cbcfb73 VZ |
24 | WX_RELEASE_NODOT = 27 |
25 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0 | |
b17c1746 DE |
26 | OBJS = \ |
27 | bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
b14abf14 | 28 | LIBDIRNAME = ..\..\src\animate\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG) |
b17c1746 DE |
29 | SETUPHDIR = \ |
30 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
9bfe7ad9 | 31 | ANIMATEDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
8c9f8f91 JS |
32 | $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
33 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
2113bc77 | 34 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
cf9b63b3 | 35 | -I$(SETUPHDIR) -I..\..\src\animate\..\..\..\include \ |
9bfe7ad9 VS |
36 | -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE -Hu \ |
37 | -H=$(OBJS)\wxprec_animatedll.csm $(CPPFLAGS) $(CXXFLAGS) | |
3f55f5b8 VS |
38 | ANIMATEDLL_OBJECTS = \ |
39 | $(OBJS)\animatedll_dummy.obj \ | |
40 | $(OBJS)\animatedll_animate.obj | |
9bfe7ad9 | 41 | ANIMATELIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
8c9f8f91 JS |
42 | $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
43 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
2113bc77 | 44 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
cf9b63b3 | 45 | -I$(SETUPHDIR) -I..\..\src\animate\..\..\..\include \ |
9bfe7ad9 VS |
46 | -I..\..\src\animate\..\..\include -Hu -H=$(OBJS)\wxprec_animatelib.csm \ |
47 | $(CPPFLAGS) $(CXXFLAGS) | |
3f55f5b8 VS |
48 | ANIMATELIB_OBJECTS = \ |
49 | $(OBJS)\animatelib_dummy.obj \ | |
50 | $(OBJS)\animatelib_animate.obj | |
250700e4 RD |
51 | |
52 | ### Conditionally set variables: ### | |
53 | ||
54 | !if "$(USE_GUI)" == "0" | |
55 | PORTNAME = base | |
56 | !endif | |
57 | !if "$(USE_GUI)" == "1" | |
58 | PORTNAME = msw | |
59 | !endif | |
60 | !if "$(OFFICIAL_BUILD)" == "0" | |
61 | VENDORTAG = _$(VENDOR) | |
62 | !endif | |
63 | !if "$(OFFICIAL_BUILD)" == "1" | |
64 | VENDORTAG = | |
65 | !endif | |
3f55f5b8 VS |
66 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
67 | WXDEBUGFLAG = d | |
68 | !endif | |
69 | !if "$(DEBUG_FLAG)" == "1" | |
250700e4 RD |
70 | WXDEBUGFLAG = d |
71 | !endif | |
250700e4 RD |
72 | !if "$(UNICODE)" == "1" |
73 | WXUNICODEFLAG = u | |
74 | !endif | |
75 | !if "$(WXUNIV)" == "1" | |
76 | WXUNIVNAME = univ | |
77 | !endif | |
b17c1746 DE |
78 | !if "$(SHARED)" == "1" |
79 | WXDLLFLAG = dll | |
250700e4 | 80 | !endif |
b14abf14 JS |
81 | !if "$(SHARED)" == "0" |
82 | LIBTYPE_SUFFIX = lib | |
83 | !endif | |
84 | !if "$(SHARED)" == "1" | |
85 | LIBTYPE_SUFFIX = dll | |
86 | !endif | |
dd65d8c8 RN |
87 | !if "$(MONOLITHIC)" == "0" |
88 | EXTRALIBS_FOR_BASE = | |
89 | !endif | |
90 | !if "$(MONOLITHIC)" == "1" | |
91 | EXTRALIBS_FOR_BASE = | |
92 | !endif | |
b17c1746 DE |
93 | !if "$(SHARED)" == "1" |
94 | __animatedll___depname = \ | |
4cbcfb73 | 95 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll |
250700e4 | 96 | !endif |
8c9f8f91 JS |
97 | !if "$(USE_THREADS)" == "0" |
98 | __THREADSFLAG_6 = | |
99 | !endif | |
100 | !if "$(USE_THREADS)" == "1" | |
101 | __THREADSFLAG_6 = mt | |
102 | !endif | |
b17c1746 | 103 | !if "$(RUNTIME_LIBS)" == "dynamic" |
8c9f8f91 | 104 | __RUNTIME_LIBS_9 = i |
3f55f5b8 | 105 | !endif |
b17c1746 | 106 | !if "$(RUNTIME_LIBS)" == "static" |
8c9f8f91 JS |
107 | __RUNTIME_LIBS_9 = |
108 | !endif | |
109 | !if "$(WXUNIV)" == "1" | |
110 | __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__ | |
111 | !endif | |
112 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
113 | __DEBUG_DEFINE_p_1 = -d__WXDEBUG__ | |
114 | !endif | |
115 | !if "$(DEBUG_FLAG)" == "1" | |
116 | __DEBUG_DEFINE_p_1 = -d__WXDEBUG__ | |
117 | !endif | |
118 | !if "$(USE_EXCEPTIONS)" == "0" | |
119 | __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS | |
120 | !endif | |
121 | !if "$(USE_RTTI)" == "0" | |
122 | __RTTI_DEFINE_p_1 = -dwxNO_RTTI | |
123 | !endif | |
124 | !if "$(USE_THREADS)" == "0" | |
125 | __THREAD_DEFINE_p_1 = -dwxNO_THREADS | |
126 | !endif | |
127 | !if "$(UNICODE)" == "1" | |
128 | __UNICODE_DEFINE_p_1 = -d_UNICODE | |
3f55f5b8 | 129 | !endif |
2113bc77 MW |
130 | !if "$(MSLU)" == "1" |
131 | __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1 | |
132 | !endif | |
b17c1746 DE |
133 | !if "$(MONOLITHIC)" == "1" |
134 | __WXLIB_MONO_p = \ | |
c33fae85 | 135 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
250700e4 | 136 | !endif |
b17c1746 | 137 | !if "$(USE_GUI)" == "1" |
9c2d002b | 138 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
3f55f5b8 VS |
139 | !endif |
140 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 141 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
3f55f5b8 VS |
142 | !endif |
143 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 144 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
3f55f5b8 | 145 | !endif |
b17c1746 DE |
146 | !if "$(MSLU)" == "1" |
147 | __UNICOWS_LIB_p = unicows.lib | |
148 | !endif | |
149 | !if "$(MONOLITHIC)" == "0" | |
150 | __WXLIB_CORE_p = \ | |
c33fae85 | 151 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
b17c1746 DE |
152 | !endif |
153 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
154 | __WXLIB_BASE_p = \ |
155 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
b17c1746 DE |
156 | !endif |
157 | !if "$(SHARED)" == "0" | |
158 | __animatelib___depname = \ | |
c33fae85 | 159 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib |
b17c1746 DE |
160 | !endif |
161 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
162 | __DEBUGINFO = -v | |
163 | !endif | |
164 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
165 | __DEBUGINFO = -v- | |
166 | !endif | |
167 | !if "$(DEBUG_INFO)" == "0" | |
168 | __DEBUGINFO = -v- | |
169 | !endif | |
170 | !if "$(DEBUG_INFO)" == "1" | |
171 | __DEBUGINFO = -v | |
3f55f5b8 | 172 | !endif |
250700e4 RD |
173 | !if "$(BUILD)" == "debug" |
174 | __OPTIMIZEFLAG = -Od | |
175 | !endif | |
176 | !if "$(BUILD)" == "release" | |
177 | __OPTIMIZEFLAG = -O2 | |
178 | !endif | |
8c9f8f91 JS |
179 | !if "$(USE_THREADS)" == "0" |
180 | __THREADSFLAG = | |
181 | !endif | |
182 | !if "$(USE_THREADS)" == "1" | |
183 | __THREADSFLAG = -tWM | |
184 | !endif | |
250700e4 RD |
185 | !if "$(RUNTIME_LIBS)" == "dynamic" |
186 | __RUNTIME_LIBS = -tWR | |
187 | !endif | |
188 | !if "$(RUNTIME_LIBS)" == "static" | |
189 | __RUNTIME_LIBS = | |
190 | !endif | |
b17c1746 DE |
191 | !if "$(WXUNIV)" == "1" |
192 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
250700e4 | 193 | !endif |
b17c1746 DE |
194 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
195 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
196 | !endif | |
197 | !if "$(DEBUG_FLAG)" == "1" | |
198 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
250700e4 | 199 | !endif |
8c9f8f91 JS |
200 | !if "$(USE_EXCEPTIONS)" == "0" |
201 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
202 | !endif | |
203 | !if "$(USE_RTTI)" == "0" | |
204 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
205 | !endif | |
206 | !if "$(USE_THREADS)" == "0" | |
207 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
208 | !endif | |
250700e4 | 209 | !if "$(UNICODE)" == "1" |
ec08d395 | 210 | __UNICODE_DEFINE_p = -D_UNICODE |
250700e4 | 211 | !endif |
2113bc77 MW |
212 | !if "$(MSLU)" == "1" |
213 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
214 | !endif | |
250700e4 RD |
215 | |
216 | ||
217 | all: $(OBJS) | |
218 | $(OBJS): | |
219 | -if not exist $(OBJS) mkdir $(OBJS) | |
220 | ||
221 | ### Targets: ### | |
222 | ||
223 | all: $(__animatedll___depname) $(__animatelib___depname) | |
224 | ||
b17c1746 DE |
225 | clean: |
226 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
227 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 228 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm |
4cbcfb73 VZ |
229 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll |
230 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).tds | |
231 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilc | |
232 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ild | |
233 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilf | |
234 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ils | |
c33fae85 RN |
235 | -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 |
236 | -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 | |
250700e4 RD |
237 | |
238 | !if "$(SHARED)" == "1" | |
4cbcfb73 | 239 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_version.res |
9bfe7ad9 | 240 | ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&| |
66b9f7f7 | 241 | c0d32.obj $(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) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\animatedll_version.res |
250700e4 | 242 | | |
c33fae85 | 243 | implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate $@ |
250700e4 RD |
244 | !endif |
245 | ||
246 | !if "$(SHARED)" == "0" | |
c33fae85 | 247 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS) |
250700e4 | 248 | if exist $@ del $@ |
9bfe7ad9 | 249 | tlib /a /p4096 $@ @&&| |
3f55f5b8 | 250 | $(ANIMATELIB_OBJECTS) |
250700e4 RD |
251 | | |
252 | !endif | |
253 | ||
66b9f7f7 | 254 | $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\common\dummy.cpp |
b17c1746 DE |
255 | $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) -H $** |
256 | ||
102d46f3 | 257 | $(OBJS)\animatedll_version.res: ../../src/animate\..\..\..\src\msw\version.rc |
cf9b63b3 | 258 | brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i..\..\src\animate\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG) $** |
8c9f8f91 | 259 | |
b17c1746 DE |
260 | $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp |
261 | $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) $** | |
262 | ||
66b9f7f7 | 263 | $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\common\dummy.cpp |
b17c1746 DE |
264 | $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) -H $** |
265 | ||
266 | $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp | |
267 | $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) $** | |
b14abf14 | 268 |