|
1 <?xml version="1.0" encoding="iso-8859-1"?> |
|
2 <build xmlns="http://symbian.com/xml/build" |
|
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd"> |
|
5 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
6 <!-- This component and the accompanying materials are made available under the terms of the License |
|
7 "Eclipse Public License v1.0" which accompanies this distribution, |
|
8 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
9 <!-- Initial Contributors: |
|
10 Nokia Corporation - initial contribution. |
|
11 Contributors: |
|
12 --> |
|
13 <!-- The standard locations for widely used tools and resources. |
|
14 |
|
15 This is easier to maintain than defining the locations in each |
|
16 configuration that uses a tool or resource. |
|
17 --> |
|
18 <var host='linux.*' |
|
19 name="hostplatform.locations"> |
|
20 <set name='DOTEXE' |
|
21 value='' /> |
|
22 <set name='GCCPREFIX' |
|
23 value='/usr/bin/' /> |
|
24 <set name='GNUPREFIX' |
|
25 value='/bin/' /> |
|
26 <env default='linux-i386' |
|
27 name='HOSTPLATFORM_DIR' /> |
|
28 <env default='linux i386' |
|
29 name='HOSTPLATFORM' /> |
|
30 <env default='/usr/bin/cpp' |
|
31 name='SBS_GNUCPP' |
|
32 type='tool' /> |
|
33 <env default='/bin/date' |
|
34 name='SBS_GNUDATE' |
|
35 type='tool' /> |
|
36 <env default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/make' |
|
37 name='SBS_GNUMAKE38' |
|
38 type='tool' /> |
|
39 <env default='/bin/sed' |
|
40 name='SBS_GNUSED' |
|
41 type='tool' /> |
|
42 <env default='/bin/mkdir' |
|
43 name='SBS_GNUMKDIR' |
|
44 type='tool' /> |
|
45 <env default='/bin/cp' |
|
46 name='SBS_GNUCP' |
|
47 type='tool' /> |
|
48 <env default='/bin/cat' |
|
49 name='SBS_GNUCAT' |
|
50 type='tool' /> |
|
51 <env default='/usr/bin/tr' |
|
52 name='SBS_GNUTR' |
|
53 type='tool' /> |
|
54 <env default='/bin/rm' |
|
55 name='SBS_GNURM' |
|
56 type='tool' /> |
|
57 <env default='/bin/ln' |
|
58 name='SBS_GNULN' |
|
59 type='tool' /> |
|
60 <env default='/bin/rmdir' |
|
61 name='SBS_GNURMDIR' |
|
62 type='tool' /> |
|
63 <env default='/bin/chmod' |
|
64 name='SBS_GNUCHMOD' |
|
65 type='tool' /> |
|
66 <env default='/usr/bin/md5sum' |
|
67 name='SBS_GNUMD5SUM' |
|
68 type='tool' /> |
|
69 <env default='/bin/touch' |
|
70 name='SBS_GNUTOUCH' |
|
71 type='tool' /> |
|
72 <env default='/usr/bin/find' |
|
73 name='SBS_GNUFIND' |
|
74 type='tool' /> |
|
75 <env default='/bin/grep' |
|
76 name='SBS_GNUGREP' |
|
77 type='tool' /> |
|
78 <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/sh" |
|
79 name='SBS_SHELL' |
|
80 type='tool' /> |
|
81 <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/zip" |
|
82 name='SBS_ZIP' |
|
83 type='tool' /> |
|
84 <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/unzip" |
|
85 name='SBS_UNZIP' |
|
86 type='tool' /> |
|
87 <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp" |
|
88 name='SBS_BVCPP' |
|
89 type='tool' /> |
|
90 <env default='perl' |
|
91 name='SBS_PERL' |
|
92 type='tool' /> |
|
93 <env default='python' |
|
94 name='SBS_PYTHON' |
|
95 type='tool' /> |
|
96 </var> |
|
97 <var host='win.*' |
|
98 name="hostplatform.locations"> |
|
99 <set name='COREUTILSBINDIR' |
|
100 type='path' |
|
101 value='$(SBS_CYGWIN)/bin' /> |
|
102 <set name='DOTEXE' |
|
103 value='.exe' /> |
|
104 <set name='GNUPREFIX' |
|
105 value='$(COREUTILSBINDIR)/' /> |
|
106 <set name='GCCPREFIX' |
|
107 value='$(MINGWBINDIR)/' /> |
|
108 <set name='MINGWBINDIR' |
|
109 type='path' |
|
110 value='$(SBS_MINGW)/bin' /> |
|
111 <env default='win32' |
|
112 name='HOSTPLATFORM_DIR' /> |
|
113 <env default='win 32' |
|
114 name='HOSTPLATFORM' /> |
|
115 <env default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/cygwin' |
|
116 name='SBS_CYGWIN' |
|
117 type='path' /> |
|
118 <env default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/mingw' |
|
119 name='SBS_MINGW' |
|
120 type='path' /> |
|
121 <env default='$(MINGWBINDIR)/cpp.exe' |
|
122 name='SBS_GNUCPP' |
|
123 type='tool' /> |
|
124 <env default='$(COREUTILSBINDIR)/date.exe' |
|
125 name='SBS_GNUDATE' |
|
126 type='tool' /> |
|
127 <env default='$(MINGWBINDIR)/make.exe' |
|
128 name='SBS_GNUMAKE38' |
|
129 type='tool' /> |
|
130 <env default='$(COREUTILSBINDIR)/sed.exe' |
|
131 name='SBS_GNUSED' |
|
132 type='tool' /> |
|
133 <env default='$(COREUTILSBINDIR)/mkdir.exe' |
|
134 name='SBS_GNUMKDIR' |
|
135 type='tool' /> |
|
136 <env default='$(COREUTILSBINDIR)/cp.exe' |
|
137 name='SBS_GNUCP' |
|
138 type='tool' /> |
|
139 <env default='$(COREUTILSBINDIR)/cat.exe' |
|
140 name='SBS_GNUCAT' |
|
141 type='tool' /> |
|
142 <env default='$(COREUTILSBINDIR)/tr.exe' |
|
143 name='SBS_GNUTR' |
|
144 type='tool' /> |
|
145 <env default='$(COREUTILSBINDIR)/rm.exe' |
|
146 name='SBS_GNURM' |
|
147 type='tool' /> |
|
148 <env default='$(COREUTILSBINDIR)/ln.exe' |
|
149 name='SBS_GNULN' |
|
150 type='tool' /> |
|
151 <env default='$(COREUTILSBINDIR)/rmdir.exe' |
|
152 name='SBS_GNURMDIR' |
|
153 type='tool' /> |
|
154 <env default='$(COREUTILSBINDIR)/chmod.exe' |
|
155 name='SBS_GNUCHMOD' |
|
156 type='tool' /> |
|
157 <env default='$(COREUTILSBINDIR)/md5sum.exe' |
|
158 name='SBS_GNUMD5SUM' |
|
159 type='tool' /> |
|
160 <env default='$(COREUTILSBINDIR)/touch.exe' |
|
161 name='SBS_GNUTOUCH' |
|
162 type='tool' /> |
|
163 <env default='$(COREUTILSBINDIR)/find.exe' |
|
164 name='SBS_GNUFIND' |
|
165 type='tool' /> |
|
166 <env default='$(COREUTILSBINDIR)/grep.exe' |
|
167 name='SBS_GNUGREP' |
|
168 type='tool' /> |
|
169 <env default="$(COREUTILSBINDIR)/sh.exe" |
|
170 name='SBS_SHELL' |
|
171 type='tool' /> |
|
172 <env default="$(COREUTILSBINDIR)/zip.exe" |
|
173 name='SBS_ZIP' |
|
174 type='tool' /> |
|
175 <env default="$(COREUTILSBINDIR)/unzip.exe" |
|
176 name='SBS_UNZIP' |
|
177 type='tool' /> |
|
178 <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp.exe" |
|
179 name='SBS_BVCPP' |
|
180 type='tool' /> |
|
181 <env default='perl.exe' |
|
182 name='SBS_PERL' |
|
183 type='tool' /> |
|
184 <env default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/python252/python.exe' |
|
185 name='SBS_PYTHON' |
|
186 type='tool' /> |
|
187 </var> |
|
188 <var extends="hostplatform.locations" |
|
189 name="default.locations"> |
|
190 <env default='' |
|
191 name='EPOCROOT' |
|
192 type='path' /> |
|
193 <!-- Place where intermediate files are built --> |
|
194 <env default='$(EPOCROOT)/epoc32/build' |
|
195 name='SBS_BUILD_DIR' |
|
196 type='path' /> |
|
197 <set name='DATE' |
|
198 type='tool' |
|
199 value='$(SBS_GNUDATE)' /> |
|
200 <set name='GNUCPP' |
|
201 type='tool' |
|
202 value='$(SBS_GNUCPP)' |
|
203 versionCommand='$(GNUCPP) --version' |
|
204 versionResult='cpp(.exe)? .* [345]\..*' /> |
|
205 <set name='GNUCP' |
|
206 type='tool' |
|
207 value='$(SBS_GNUCP)' |
|
208 versionCommand='$(GNUCP) --version' |
|
209 versionResult='cp(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*' /> |
|
210 <set name='GNUCAT' |
|
211 type='tool' |
|
212 value='$(SBS_GNUCAT)' |
|
213 versionCommand='$(GNUCAT) --version' |
|
214 versionResult='cat(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*' /> |
|
215 <set name='GNUTR' |
|
216 type='tool' |
|
217 value='$(SBS_GNUTR)' |
|
218 versionCommand='$(GNUTR) --version' |
|
219 versionResult='tr(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*' /> |
|
220 <set name='GNUMAKE38' |
|
221 type='tool' |
|
222 value='$(SBS_GNUMAKE38)' |
|
223 versionCommand='$(GNUMAKE38) -v' |
|
224 versionResult='GNU Make 3.8[1-9]' /> |
|
225 <set name='GNUSED' |
|
226 type='tool' |
|
227 value='$(SBS_GNUSED)' |
|
228 versionCommand='$(GNUSED) --version' |
|
229 versionResult='GNU sed version [3-9].*' /> |
|
230 <set name='GNUMKDIR' |
|
231 type='tool' |
|
232 value='$(SBS_GNUMKDIR)' |
|
233 versionCommand='$(GNUMKDIR) --version' |
|
234 versionResult='.*' /> |
|
235 <set name='GNURM' |
|
236 type='tool' |
|
237 value='$(SBS_GNURM)' |
|
238 versionCommand='$(GNURM) --version' |
|
239 versionResult='rm.*coreutils.*' /> |
|
240 <set name='GNULN' |
|
241 type='tool' |
|
242 value='$(SBS_GNULN)' |
|
243 versionCommand='$(GNULN) --version' |
|
244 versionResult='ln.*coreutils.*' /> |
|
245 <set name='GNURMDIR' |
|
246 type='tool' |
|
247 value='$(SBS_GNURMDIR)' |
|
248 versionCommand='$(GNURMDIR) --version' |
|
249 versionResult='rmdir.*coreutils.*' /> |
|
250 <set name='GNUCHMOD' |
|
251 type='tool' |
|
252 value='$(SBS_GNUCHMOD)' |
|
253 versionCommand='$(GNUCHMOD) --version' |
|
254 versionResult='chmod.*coreutils.*' /> |
|
255 <set name='GNUMD5SUM' |
|
256 type='tool' |
|
257 value='$(SBS_GNUMD5SUM)' |
|
258 versionCommand='$(GNUMD5SUM) --version' |
|
259 versionResult='md5sum.*coreutils.*' /> |
|
260 <set name='GNUTOUCH' |
|
261 type='tool' |
|
262 value='$(SBS_GNUTOUCH)' |
|
263 versionCommand='$(GNUTOUCH) --version' |
|
264 versionResult='touch.*coreutils.*' /> |
|
265 <set name='GNUFIND' |
|
266 type='tool' |
|
267 value='$(SBS_GNUFIND)' |
|
268 versionCommand='$(GNUFIND) --version' |
|
269 versionResult='(GNU)?.*find.*(GNU)?.*' /> |
|
270 <set name='GNUGREP' |
|
271 type='tool' |
|
272 value='$(SBS_GNUGREP)' |
|
273 versionCommand='$(GNUGREP) --version' |
|
274 versionResult='(GNU)?.*grep.*(GNU)?.*' /> |
|
275 <set name='ZIP' |
|
276 type='tool' |
|
277 value="$(SBS_ZIP)" /> |
|
278 <set name='UNZIP' |
|
279 type='tool' |
|
280 value="$(SBS_UNZIP)" /> |
|
281 <set name='PERL' |
|
282 type='tool' |
|
283 value='$(SBS_PERL)' /> |
|
284 <set name='PYTHON' |
|
285 type='tool' |
|
286 value='$(SBS_PYTHON)' |
|
287 versionCommand='$(PYTHON) -V' |
|
288 versionResult='Python 2\.[456].*' /> |
|
289 <set name='DEFAULT_PLATFORMS' |
|
290 value='ARMV5 ARMV7 WINSCW' /> |
|
291 <set name='BASE_DEFAULT_PLATFORMS' |
|
292 value='ARMV5 ARMV7 WINSCW ARMV5SMP' /> |
|
293 <set name='BASE_USER_DEFAULT_PLATFORMS' |
|
294 value='ARMV5 ARMV7 WINSCW' /> |
|
295 <set name='BUILD_INCLUDE' |
|
296 value='' /> |
|
297 <set name='CREATEVMAP' |
|
298 type='tool' |
|
299 value='$(PYTHON) $(SBS_HOME)/bin/createvmap.py' /> |
|
300 <set name='CREATEVMAPCPP' |
|
301 type='tool' |
|
302 value='$(SBS_BVCPP)' /> |
|
303 <set name='FEATURELISTFILES' |
|
304 value='' /> |
|
305 <set name='FEATUREVARIANTNAME' |
|
306 value='' /> |
|
307 </var> |
|
308 </build> |