svn-gvsig-desktop / tags / v1_9_Build_1237 / binaries / linux / build.xml @ 46386
History | View | Annotate | Download (15.8 KB)
1 | 13125 | jmvivo | <project name="binaries linux" default="main" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Reorganiza el directorio binaries/linux, para que pueda usarse directamente por gvSIG. |
||
4 | </description>
|
||
5 | 13295 | jmvivo | |
6 | 16295 | jmvivo | <available property="is3D" file="3D" /> |
7 | |||
8 | 13320 | jmvivo | <target name="init"> |
9 | <condition property="isLinux"> |
||
10 | <os family="unix"/> |
||
11 | </condition>
|
||
12 | </target>
|
||
13 | 13125 | jmvivo | <property name="targetDir" location="." /> |
14 | 13295 | jmvivo | |
15 | 23587 | bsanchez | <target name="main" depends="init, ecw, gdal, mrsid, crs, potrace, 3D, grass" /> |
16 | <target name="without-3D" depends="init, ecw, gdal, mrsid, crs, potrace" /> |
||
17 | 13295 | jmvivo | |
18 | 13125 | jmvivo | <target name="ecw"> |
19 | <copy todir="${targetDir}"> |
||
20 | 21315 | jmvivo | <fileset dir="raster/ecw" includes="libjecw.so.0.0.6, libNCScnet.so, libNCSEcwC.so, libNCSEcw.so, libNCSUtil.so" /> |
21 | 13125 | jmvivo | </copy>
|
22 | <!-- necesitamos borrar los links antes de crearlos, porque failonerror=false no
|
||
23 | funciona correctamente -->
|
||
24 | 21315 | jmvivo | |
25 | 13320 | jmvivo | <antcall target="makeLink"> |
26 | 21315 | jmvivo | <param name="ml.file" location="${targetDir}/libjecw.so.0.0.6"/> |
27 | <param name="ml.link" value="${targetDir}/libjecw.so"/> |
||
28 | 13320 | jmvivo | <param name="ml.failonerror" value="false"/> |
29 | </antcall>
|
||
30 | 13295 | jmvivo | |
31 | 13320 | jmvivo | <antcall target="makeLink"> |
32 | 21315 | jmvivo | <param name="ml.file" location="${targetDir}/libjecw.so.0.0.6"/> |
33 | <param name="ml.link" value="${targetDir}/libjecw.so.0"/> |
||
34 | 13320 | jmvivo | <param name="ml.failonerror" value="false"/> |
35 | </antcall>
|
||
36 | 13295 | jmvivo | |
37 | 13320 | jmvivo | <antcall target="makeLink"> |
38 | 21315 | jmvivo | <param name="ml.file" location="${targetDir}/libNCScnet.so"/> |
39 | <param name="ml.link" value="${targetDir}/libNCScnet.so.0"/> |
||
40 | 13320 | jmvivo | <param name="ml.failonerror" value="false"/> |
41 | </antcall>
|
||
42 | |||
43 | <antcall target="makeLink"> |
||
44 | 21315 | jmvivo | <param name="ml.file" location="${targetDir}/libNCScnet.so"/> |
45 | <param name="ml.link" value="${targetDir}/libNCSCnet.so"/> |
||
46 | 13320 | jmvivo | <param name="ml.failonerror" value="false"/> |
47 | </antcall>
|
||
48 | |||
49 | 15960 | jmvivo | <antcall target="makeLink"> |
50 | <param name="ml.file" location="${targetDir}/libNCScnet.so"/> |
||
51 | 21315 | jmvivo | <param name="ml.link" value="${targetDir}/libNCSCnet.so.0"/> |
52 | 15960 | jmvivo | <param name="ml.failonerror" value="false"/> |
53 | </antcall>
|
||
54 | |||
55 | 21315 | jmvivo | |
56 | 15960 | jmvivo | <antcall target="makeLink"> |
57 | <param name="ml.file" location="${targetDir}/libNCScnet.so"/> |
||
58 | <param name="ml.link" value="${targetDir}/libNCSCNet.so"/> |
||
59 | <param name="ml.failonerror" value="false"/> |
||
60 | </antcall>
|
||
61 | |||
62 | 21315 | jmvivo | <antcall target="makeLink"> |
63 | <param name="ml.file" location="${targetDir}/libNCScnet.so"/> |
||
64 | <param name="ml.link" value="${targetDir}/libNCSCNet.so.0"/> |
||
65 | <param name="ml.failonerror" value="false"/> |
||
66 | </antcall>
|
||
67 | |||
68 | <antcall target="makeLink"> |
||
69 | <param name="ml.file" location="${targetDir}/libNCSEcw.so"/> |
||
70 | <param name="ml.link" value="${targetDir}/libNCSEcw.so.0"/> |
||
71 | <param name="ml.failonerror" value="false"/> |
||
72 | </antcall>
|
||
73 | |||
74 | <antcall target="makeLink"> |
||
75 | <param name="ml.file" location="${targetDir}/libNCSEcwC.so"/> |
||
76 | <param name="ml.link" value="${targetDir}/libNCSEcwC.so.0"/> |
||
77 | <param name="ml.failonerror" value="false"/> |
||
78 | </antcall>
|
||
79 | |||
80 | <antcall target="makeLink"> |
||
81 | <param name="ml.file" location="${targetDir}/libNCSUtil.so"/> |
||
82 | <param name="ml.link" value="${targetDir}/libNCSUtil.so.0"/> |
||
83 | <param name="ml.failonerror" value="false"/> |
||
84 | </antcall>
|
||
85 | |||
86 | 13125 | jmvivo | </target>
|
87 | 13295 | jmvivo | |
88 | 13125 | jmvivo | <target name="gdal"> |
89 | <copy todir="${targetDir}"> |
||
90 | <fileset dir="raster/gdal" |
||
91 | 21315 | jmvivo | includes="lib*.so*"/> |
92 | 13125 | jmvivo | </copy>
|
93 | 13320 | jmvivo | <antcall target="makeLink"> |
94 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libcrypto.so.0.9.7"/> |
95 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libcrypto.so"/> |
96 | <param name="ml.failonerror" value="false"/> |
||
97 | </antcall>
|
||
98 | |||
99 | <antcall target="makeLink"> |
||
100 | 21315 | jmvivo | <param name="ml.file" location="${targetDir}/libcrypto.so.0.9.7"/> |
101 | <param name="ml.link" value="${targetDir}/libcrypto.so.0"/> |
||
102 | <param name="ml.failonerror" value="false"/> |
||
103 | </antcall>
|
||
104 | |||
105 | <antcall target="makeLink"> |
||
106 | 23708 | nbrodin | <param name="ml.file" location="${targetDir}/libgdal.so.1.12.2"/> |
107 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libgdal.so"/> |
108 | <param name="ml.failonerror" value="false"/> |
||
109 | </antcall>
|
||
110 | |||
111 | <antcall target="makeLink"> |
||
112 | 23708 | nbrodin | <param name="ml.file" location="${targetDir}/libgdal.so.1.12.2"/> |
113 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libgdal.so.1"/> |
114 | <param name="ml.failonerror" value="false"/> |
||
115 | </antcall>
|
||
116 | |||
117 | 16274 | jmvivo | |
118 | 13320 | jmvivo | <antcall target="makeLink"> |
119 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libjasper-1.701.so.1"/> |
120 | 16295 | jmvivo | <param name="ml.link" value="${targetDir}/libjasper-1.701.so"/> |
121 | 13320 | jmvivo | <param name="ml.failonerror" value="false"/> |
122 | </antcall>
|
||
123 | |||
124 | 16274 | jmvivo | <!--
|
125 | 13320 | jmvivo | <antcall target="makeLink">
|
126 | <param name="ml.file" location="libjasper-1.701.so.1.0.0"/>
|
||
127 | <param name="ml.link" value="${targetDir}/libjasper-1.701.so.1"/>
|
||
128 | <param name="ml.failonerror" value="false"/>
|
||
129 | </antcall>
|
||
130 | -->
|
||
131 | |||
132 | <antcall target="makeLink"> |
||
133 | 22555 | nbrodin | <param name="ml.file" location="${targetDir}/libjgdal.so.0.9.1"/> |
134 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libjgdal.so"/> |
135 | <param name="ml.failonerror" value="false"/> |
||
136 | </antcall>
|
||
137 | |||
138 | <antcall target="makeLink"> |
||
139 | 22555 | nbrodin | <param name="ml.file" location="${targetDir}/libjgdal.so.0.9.1"/> |
140 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libjgdal.so.0"/> |
141 | <param name="ml.failonerror" value="false"/> |
||
142 | </antcall>
|
||
143 | |||
144 | <antcall target="makeLink"> |
||
145 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libodbc.so.1"/> |
146 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libodbc.so"/> |
147 | <param name="ml.failonerror" value="false"/> |
||
148 | </antcall>
|
||
149 | |||
150 | <antcall target="makeLink"> |
||
151 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libpng.so.3"/> |
152 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libpng.so"/> |
153 | <param name="ml.failonerror" value="false"/> |
||
154 | </antcall>
|
||
155 | |||
156 | 25850 | nbrodin | <!--<antcall target="makeLink">
|
157 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libpq.so.3"/>
|
158 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libpq.so"/>
|
159 | <param name="ml.failonerror" value="false"/>
|
||
160 | 25850 | nbrodin | </antcall>-->
|
161 | |||
162 | <antcall target="makeLink"> |
||
163 | <param name="ml.file" location="${targetDir}/libpq.so.5.1"/> |
||
164 | <param name="ml.link" value="${targetDir}/libpq.so.5"/> |
||
165 | <param name="ml.failonerror" value="false"/> |
||
166 | 13320 | jmvivo | </antcall>
|
167 | |||
168 | <antcall target="makeLink"> |
||
169 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libssl.so.0.9.7"/> |
170 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libssl.so"/> |
171 | <param name="ml.failonerror" value="false"/> |
||
172 | </antcall>
|
||
173 | |||
174 | <antcall target="makeLink"> |
||
175 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libssl.so.0.9.7"/> |
176 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libssl.so.0"/> |
177 | <param name="ml.failonerror" value="false"/> |
||
178 | </antcall>
|
||
179 | |||
180 | 17630 | nbrodin | <antcall target="makeLink"> |
181 | 21315 | jmvivo | <param name="ml.file" location="${targetDir}/libcrypt.so.1"/> |
182 | <param name="ml.link" value="${targetDir}/libcrypt.so"/> |
||
183 | <param name="ml.failonerror" value="false"/> |
||
184 | </antcall>
|
||
185 | |||
186 | <antcall target="makeLink"> |
||
187 | <param name="ml.file" location="${targetDir}/libjpeg.so.62"/> |
||
188 | <param name="ml.link" value="${targetDir}/libjpeg.so"/> |
||
189 | <param name="ml.failonerror" value="false"/> |
||
190 | </antcall>
|
||
191 | |||
192 | <antcall target="makeLink"> |
||
193 | <param name="ml.file" location="${targetDir}/libm.so.6"/> |
||
194 | <param name="ml.link" value="${targetDir}/libm.so"/> |
||
195 | <param name="ml.failonerror" value="false"/> |
||
196 | </antcall>
|
||
197 | |||
198 | <antcall target="makeLink"> |
||
199 | <param name="ml.file" location="${targetDir}/libnsl.so.1"/> |
||
200 | <param name="ml.link" value="${targetDir}/libnsl.so"/> |
||
201 | <param name="ml.failonerror" value="false"/> |
||
202 | </antcall>
|
||
203 | |||
204 | <antcall target="makeLink"> |
||
205 | <param name="ml.file" location="${targetDir}/libodbc.so.1"/> |
||
206 | <param name="ml.link" value="${targetDir}/libodbc.so"/> |
||
207 | <param name="ml.failonerror" value="false"/> |
||
208 | </antcall>
|
||
209 | |||
210 | |||
211 | <antcall target="makeLink"> |
||
212 | <param name="ml.file" location="${targetDir}/libpng.so.3"/> |
||
213 | <param name="ml.link" value="${targetDir}/libpng.so"/> |
||
214 | <param name="ml.failonerror" value="false"/> |
||
215 | </antcall>
|
||
216 | |||
217 | 25850 | nbrodin | <!--<antcall target="makeLink">
|
218 | 21315 | jmvivo | <param name="ml.file" location="${targetDir}/libpq.so.3"/>
|
219 | <param name="ml.link" value="${targetDir}/libpq.so"/>
|
||
220 | <param name="ml.failonerror" value="false"/>
|
||
221 | 25850 | nbrodin | </antcall>-->
|
222 | 21315 | jmvivo | |
223 | <antcall target="makeLink"> |
||
224 | <param name="ml.file" location="${targetDir}/libz.so.1"/> |
||
225 | <param name="ml.link" value="${targetDir}/libz.so"/> |
||
226 | <param name="ml.failonerror" value="false"/> |
||
227 | </antcall>
|
||
228 | 23708 | nbrodin | <!--
|
229 | <antcall target="makeLink">
|
||
230 | <param name="ml.file" location="${targetDir}/libhdf5_hl.so.0.0.0"/>
|
||
231 | <param name="ml.link" value="${targetDir}/libhdf5_hl.so.0"/>
|
||
232 | <param name="ml.failonerror" value="false"/>
|
||
233 | </antcall>
|
||
234 | |||
235 | <antcall target="makeLink">
|
||
236 | <param name="ml.file" location="${targetDir}/libhdf5_hl.so.0.0.0"/>
|
||
237 | <param name="ml.link" value="${targetDir}/libhdf5_hl.so"/>
|
||
238 | <param name="ml.failonerror" value="false"/>
|
||
239 | </antcall>
|
||
240 | |||
241 | <antcall target="makeLink">
|
||
242 | <param name="ml.file" location="${targetDir}/libhdf5.so.0.0.0"/>
|
||
243 | <param name="ml.link" value="${targetDir}/libhdf5.so.0"/>
|
||
244 | <param name="ml.failonerror" value="false"/>
|
||
245 | </antcall>
|
||
246 | |||
247 | <antcall target="makeLink">
|
||
248 | <param name="ml.file" location="${targetDir}/libhdf5.so.0.0.0"/>
|
||
249 | <param name="ml.link" value="${targetDir}/libhdf5.so"/>
|
||
250 | <param name="ml.failonerror" value="false"/>
|
||
251 | </antcall>
|
||
252 | -->
|
||
253 | 13125 | jmvivo | </target>
|
254 | 13295 | jmvivo | |
255 | 13125 | jmvivo | <target name="mrsid"> |
256 | <copy todir="${targetDir}"> |
||
257 | <fileset dir="raster/mrsid" includes="libjmrsid.so.0.0.2" /> |
||
258 | </copy>
|
||
259 | 13320 | jmvivo | <antcall target="makeLink"> |
260 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libjmrsid.so.0.0.2"/> |
261 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libjmrsid.so"/> |
262 | <param name="ml.failonerror" value="false"/> |
||
263 | </antcall>
|
||
264 | |||
265 | <antcall target="makeLink"> |
||
266 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libjmrsid.so.0.0.2"/> |
267 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libjmrsid.so.0"/> |
268 | <param name="ml.failonerror" value="false"/> |
||
269 | </antcall>
|
||
270 | |||
271 | 13125 | jmvivo | </target>
|
272 | 23563 | nbrodin | |
273 | <target name="grass"> |
||
274 | <copy todir="${targetDir}"> |
||
275 | <fileset dir="raster/grass" includes="lib*.so*" /> |
||
276 | </copy>
|
||
277 | <antcall target="makeLink"> |
||
278 | <param name="ml.file" location="${targetDir}/libgrass_datetime.6.0.2.so"/> |
||
279 | <param name="ml.link" value="${targetDir}/libgrass_datetime.so"/> |
||
280 | <param name="ml.failonerror" value="false"/> |
||
281 | </antcall>
|
||
282 | 13125 | jmvivo | |
283 | 23563 | nbrodin | <antcall target="makeLink"> |
284 | <param name="ml.file" location="${targetDir}/libgrass_dbmibase.6.0.2.so"/> |
||
285 | <param name="ml.link" value="${targetDir}/libgrass_dbmibase.so"/> |
||
286 | <param name="ml.failonerror" value="false"/> |
||
287 | </antcall>
|
||
288 | |||
289 | <antcall target="makeLink"> |
||
290 | <param name="ml.file" location="${targetDir}/libgrass_dbmiclient.6.0.2.so"/> |
||
291 | <param name="ml.link" value="${targetDir}/libgrass_dbmiclient.so"/> |
||
292 | <param name="ml.failonerror" value="false"/> |
||
293 | </antcall>
|
||
294 | |||
295 | <antcall target="makeLink"> |
||
296 | <param name="ml.file" location="${targetDir}/libgrass_dgl.6.0.2.so"/> |
||
297 | <param name="ml.link" value="${targetDir}/libgrass_dgl.so"/> |
||
298 | <param name="ml.failonerror" value="false"/> |
||
299 | </antcall>
|
||
300 | |||
301 | <antcall target="makeLink"> |
||
302 | <param name="ml.file" location="${targetDir}/libgrass_dig2.6.0.2.so"/> |
||
303 | <param name="ml.link" value="${targetDir}/libgrass_dig2.so"/> |
||
304 | <param name="ml.failonerror" value="false"/> |
||
305 | </antcall>
|
||
306 | |||
307 | <antcall target="makeLink"> |
||
308 | <param name="ml.file" location="${targetDir}/libgrass_gis.6.0.2.so"/> |
||
309 | <param name="ml.link" value="${targetDir}/libgrass_gis.so"/> |
||
310 | <param name="ml.failonerror" value="false"/> |
||
311 | </antcall>
|
||
312 | |||
313 | <antcall target="makeLink"> |
||
314 | <param name="ml.file" location="${targetDir}/libgrass_gmath.6.0.2.so"/> |
||
315 | <param name="ml.link" value="${targetDir}/libgrass_gmath.so"/> |
||
316 | <param name="ml.failonerror" value="false"/> |
||
317 | </antcall>
|
||
318 | |||
319 | <antcall target="makeLink"> |
||
320 | <param name="ml.file" location="${targetDir}/libgrass_gproj.6.0.2.so"/> |
||
321 | <param name="ml.link" value="${targetDir}/libgrass_gproj.so"/> |
||
322 | <param name="ml.failonerror" value="false"/> |
||
323 | </antcall>
|
||
324 | |||
325 | <antcall target="makeLink"> |
||
326 | <param name="ml.file" location="${targetDir}/libgrass_I.6.0.2.so"/> |
||
327 | <param name="ml.link" value="${targetDir}/libgrass_I.so"/> |
||
328 | <param name="ml.failonerror" value="false"/> |
||
329 | </antcall>
|
||
330 | |||
331 | <antcall target="makeLink"> |
||
332 | <param name="ml.file" location="${targetDir}/libgrass_linkm.6.0.2.so"/> |
||
333 | <param name="ml.link" value="${targetDir}/libgrass_linkm.so"/> |
||
334 | <param name="ml.failonerror" value="false"/> |
||
335 | </antcall>
|
||
336 | |||
337 | <antcall target="makeLink"> |
||
338 | <param name="ml.file" location="${targetDir}/libgrass_rtree.6.0.2.so"/> |
||
339 | <param name="ml.link" value="${targetDir}/libgrass_rtree.so"/> |
||
340 | <param name="ml.failonerror" value="false"/> |
||
341 | </antcall>
|
||
342 | |||
343 | <antcall target="makeLink"> |
||
344 | <param name="ml.file" location="${targetDir}/libgrass_vask.6.0.2.so"/> |
||
345 | <param name="ml.link" value="${targetDir}/libgrass_vask.so"/> |
||
346 | <param name="ml.failonerror" value="false"/> |
||
347 | </antcall>
|
||
348 | |||
349 | <antcall target="makeLink"> |
||
350 | <param name="ml.file" location="${targetDir}/libgrass_vect.6.0.2.so"/> |
||
351 | <param name="ml.link" value="${targetDir}/libgrass_vect.so"/> |
||
352 | <param name="ml.failonerror" value="false"/> |
||
353 | </antcall>
|
||
354 | |||
355 | <!--<antcall target="makeLink">
|
||
356 | <param name="ml.file" location="${targetDir}/libproj.so.0.5.0"/>
|
||
357 | <param name="ml.link" value="${targetDir}/libproj.so"/>
|
||
358 | <param name="ml.failonerror" value="false"/>
|
||
359 | </antcall>-->
|
||
360 | </target>
|
||
361 | |||
362 | 23587 | bsanchez | <target name="potrace"> |
363 | <copy todir="${targetDir}"> |
||
364 | <fileset dir="raster/potrace" includes="lib*.so*"/> |
||
365 | </copy>
|
||
366 | |||
367 | <antcall target="makeLink"> |
||
368 | <param name="ml.file" location="${targetDir}/libpotrace.so.0.0.1"/> |
||
369 | <param name="ml.link" value="${targetDir}/libpotrace.so"/> |
||
370 | <param name="ml.failonerror" value="false"/> |
||
371 | </antcall>
|
||
372 | |||
373 | <antcall target="makeLink"> |
||
374 | <param name="ml.file" location="${targetDir}/libjpotrace.so.0.0.1"/> |
||
375 | <param name="ml.link" value="${targetDir}/libjpotrace.so"/> |
||
376 | <param name="ml.failonerror" value="false"/> |
||
377 | </antcall>
|
||
378 | |||
379 | <antcall target="makeLink"> |
||
380 | <param name="ml.file" location="${targetDir}/libpotrace.so.0.0.1"/> |
||
381 | <param name="ml.link" value="${targetDir}/libpotrace.so.0"/> |
||
382 | <param name="ml.failonerror" value="false"/> |
||
383 | </antcall>
|
||
384 | |||
385 | <antcall target="makeLink"> |
||
386 | <param name="ml.file" location="${targetDir}/libjpotrace.so.0.0.1"/> |
||
387 | <param name="ml.link" value="${targetDir}/libjpotrace.so.0"/> |
||
388 | <param name="ml.failonerror" value="false"/> |
||
389 | </antcall>
|
||
390 | </target>
|
||
391 | |||
392 | 13125 | jmvivo | <target name="crs"> |
393 | 16274 | jmvivo | <copy todir="${targetDir}"> |
394 | <fileset dir="crs" |
||
395 | includes="*.so.*,*.so"/> |
||
396 | </copy>
|
||
397 | |||
398 | |||
399 | 13320 | jmvivo | <antcall target="makeLink"> |
400 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libproj.so.0.5.0"/> |
401 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libproj.so"/> |
402 | <param name="ml.failonerror" value="false"/> |
||
403 | </antcall>
|
||
404 | |||
405 | <antcall target="makeLink"> |
||
406 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libproj.so.0.5.0"/> |
407 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libproj.so.0"/> |
408 | <param name="ml.failonerror" value="false"/> |
||
409 | </antcall>
|
||
410 | |||
411 | <antcall target="makeLink"> |
||
412 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libcrsjniproj.so.0.1.1"/> |
413 | 13320 | jmvivo | <param name="ml.link" value="${targetDir}/libcrsjniproj.so"/> |
414 | <param name="ml.failonerror" value="false"/> |
||
415 | </antcall>
|
||
416 | 15597 | jmvivo | <antcall target="makeLink"> |
417 | 16297 | jmvivo | <param name="ml.file" location="${targetDir}/libcrsjniproj.so.0.1.1"/> |
418 | 15597 | jmvivo | <param name="ml.link" value="${targetDir}/libcrsjniproj.so.0"/> |
419 | <param name="ml.failonerror" value="false"/> |
||
420 | </antcall>
|
||
421 | 13320 | jmvivo | |
422 | 13125 | jmvivo | </target>
|
423 | |||
424 | 13295 | jmvivo | |
425 | 13320 | jmvivo | |
426 | |||
427 | 16295 | jmvivo | <target name="makeLink" if="isLinux"> |
428 | 13320 | jmvivo | <!--<exec executable="ln" os="unix" failonerror="${ml.failonerror}">-->
|
429 | <exec executable="ln" failonerror="true"> |
||
430 | <arg value="-sf"/> |
||
431 | <arg value="${ml.file}"/> |
||
432 | <arg value="${ml.link}"/> |
||
433 | </exec>
|
||
434 | </target>
|
||
435 | |||
436 | 16510 | jmvivo | <target name="clean3D" if="is3D"> |
437 | <delete includeemptydirs="true"> |
||
438 | <fileset dir="${targetDir}" includes="osgPlugins**/**" /> |
||
439 | </delete>
|
||
440 | </target>
|
||
441 | |||
442 | <target name="clean" depends="clean3D"> |
||
443 | 13125 | jmvivo | <delete>
|
444 | <fileset
|
||
445 | dir="${targetDir}" |
||
446 | includes="*.so*"/> |
||
447 | </delete>
|
||
448 | </target>
|
||
449 | |||
450 | 16295 | jmvivo | |
451 | <target name="3D" if="is3D"> |
||
452 | <copy todir="${targetDir}"> |
||
453 | 16303 | jmvivo | <fileset dir="3D" includes="*.so*" /> |
454 | 16295 | jmvivo | </copy>
|
455 | 16456 | jmvivo | <copy todir="${targetDir}"> |
456 | <fileset dir="3D" includes="**/*.so*" /> |
||
457 | </copy>
|
||
458 | 16295 | jmvivo | |
459 | 16460 | jmvivo | <!--<property file="3D/links.properties" prefix="links3D"/>-->
|
460 | <exec executable="${basedir}/3D/install-3D.sh"> |
||
461 | 16510 | jmvivo | <arg value="${targetDir}"/> |
462 | 16460 | jmvivo | </exec>
|
463 | |||
464 | 17502 | jmvivo | <!-- cd $HOME/.depman/lib ; find . -type l -exec ls -l {} ';' | sed 's/.*[.][/]//g' | sed 's/\(.*\) -> \(.*\)$/ln -sf \2 \1/g' > ${3D}/install-3D.sh ; cat ${3D}/install-3D.sh.head ${3D}/install-3D.sh > ${3D}/install-3D.sh -->
|
465 | 16303 | jmvivo | |
466 | 16295 | jmvivo | </target>
|
467 | |||
468 | 13125 | jmvivo | </project> |