1 | #!/bin/sh -f |
---|
2 | |
---|
3 | # |
---|
4 | # File produced by the obuild tool version 1.0 |
---|
5 | # for the package osc_snovis with version v1r0. |
---|
6 | # |
---|
7 | |
---|
8 | #//////////////////////////////////////////////// |
---|
9 | # Usage : |
---|
10 | # UNIX> cd some_path/pack/version/obuild |
---|
11 | # ( UNIX> chmod a+x sh/build ) |
---|
12 | # UNIX> sh/build |
---|
13 | # |
---|
14 | #//////////////////////////////////////////////// |
---|
15 | |
---|
16 | obuild_verbose=no |
---|
17 | obuild_set_x=no |
---|
18 | |
---|
19 | obuild_args="" |
---|
20 | while test $# -ge 1 ; do |
---|
21 | case $1 in |
---|
22 | -h) |
---|
23 | echo "Usage :" |
---|
24 | echo " UNIX> sh/build [Options]" |
---|
25 | echo "Options :" |
---|
26 | echo " -v : verbose." |
---|
27 | echo " -x : execute with set -x." |
---|
28 | echo " -* : passed to packages build script." |
---|
29 | echo "" |
---|
30 | exit ;; |
---|
31 | -v) obuild_verbose=yes;obuild_args="${obuild_args} $1" ;; |
---|
32 | -x) obuild_set_x=yes;obuild_args="${obuild_args} $1" ;; |
---|
33 | *) obuild_args="${obuild_args} $1" ;; |
---|
34 | esac |
---|
35 | shift |
---|
36 | done |
---|
37 | |
---|
38 | if [ ${obuild_set_x} = yes ] ; then |
---|
39 | set -x |
---|
40 | fi |
---|
41 | |
---|
42 | if [ "${OBUILD_PLATFORM}" = "" ] ; then |
---|
43 | obuild_platform=`uname` |
---|
44 | else |
---|
45 | obuild_platform=${OBUILD_PLATFORM} |
---|
46 | fi |
---|
47 | |
---|
48 | if [ "${obuild_platform}" = "" ] ; then |
---|
49 | echo "obuild_platform variable not defined." |
---|
50 | exit |
---|
51 | fi |
---|
52 | |
---|
53 | if [ "${OBUILD_DIR_BIN}" = "" ] ; then |
---|
54 | obuild_dir_bin=${obuild_platform}_obuild |
---|
55 | else |
---|
56 | obuild_dir_bin=${OBUILD_DIR_BIN} |
---|
57 | fi |
---|
58 | |
---|
59 | if [ "${obuild_dir_bin}" = "" ] ; then |
---|
60 | echo "obuild_dir_bin variable not defined." |
---|
61 | exit |
---|
62 | fi |
---|
63 | |
---|
64 | obuild_pwd=`pwd` |
---|
65 | obuild_osc_snovis_path=`dirname "${obuild_pwd}"` |
---|
66 | unset obuild_pwd |
---|
67 | |
---|
68 | # Create the bin directory : |
---|
69 | /bin/mkdir -p "${obuild_osc_snovis_path}/${obuild_dir_bin}" |
---|
70 | |
---|
71 | obuild_pwd_osc_snovis_0=`pwd` |
---|
72 | |
---|
73 | if [ ! -e "${obuild_osc_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then |
---|
74 | if [ ! -e "${obuild_osc_snovis_path}/obuild/cpp/obuild_find.cpp" ] ; then |
---|
75 | echo "Program source obuild_find.cpp not found." |
---|
76 | exit |
---|
77 | fi |
---|
78 | if [ "${obuild_cxx_command}" = "" ] ; then |
---|
79 | if [ "${OBUILD_CXX}" != "" ] ; then |
---|
80 | obuild_find_compiler=${OBUILD_CXX} |
---|
81 | else |
---|
82 | obuild_find_compiler=c++ |
---|
83 | fi |
---|
84 | else |
---|
85 | obuild_find_compiler=${obuild_cxx_command} |
---|
86 | fi |
---|
87 | ${obuild_find_compiler} -o "${obuild_osc_snovis_path}/${obuild_dir_bin}/obuild_find" "${obuild_osc_snovis_path}/obuild/cpp/obuild_find.cpp" |
---|
88 | unset obuild_find_compiler |
---|
89 | if [ ! -e "${obuild_osc_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then |
---|
90 | echo "Program obuild_find not found." |
---|
91 | exit |
---|
92 | fi |
---|
93 | fi |
---|
94 | obuild_find_exe="${obuild_osc_snovis_path}/${obuild_dir_bin}/obuild_find" |
---|
95 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
96 | echo "Variable obuild_find_exe not defined." |
---|
97 | exit |
---|
98 | fi |
---|
99 | obuild_obuild_path=`"${obuild_find_exe}" obuild 'v1r0'` |
---|
100 | if [ "${obuild_obuild_path}" = "" ] ; then |
---|
101 | echo "Can't find obuild package." |
---|
102 | exit |
---|
103 | fi |
---|
104 | |
---|
105 | cd "${obuild_obuild_path}/obuild" |
---|
106 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
107 | echo "build obuild/v1r0 ..." |
---|
108 | ./sh/build ${obuild_args} |
---|
109 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
110 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
111 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
112 | echo "Variable obuild_find_exe not defined." |
---|
113 | exit |
---|
114 | fi |
---|
115 | obuild_foreign_path=`"${obuild_find_exe}" foreign 'v1r0'` |
---|
116 | if [ "${obuild_foreign_path}" = "" ] ; then |
---|
117 | echo "Can't find foreign package." |
---|
118 | exit |
---|
119 | fi |
---|
120 | |
---|
121 | cd "${obuild_foreign_path}/obuild" |
---|
122 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
123 | echo "build foreign/v1r0 ..." |
---|
124 | ./sh/build ${obuild_args} |
---|
125 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
126 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
127 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
128 | echo "Variable obuild_find_exe not defined." |
---|
129 | exit |
---|
130 | fi |
---|
131 | obuild_zlib_path=`"${obuild_find_exe}" zlib 'v1r114p3'` |
---|
132 | if [ "${obuild_zlib_path}" = "" ] ; then |
---|
133 | echo "Can't find zlib package." |
---|
134 | exit |
---|
135 | fi |
---|
136 | |
---|
137 | cd "${obuild_zlib_path}/obuild" |
---|
138 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
139 | echo "build zlib/v1r114p3 ..." |
---|
140 | ./sh/build ${obuild_args} |
---|
141 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
142 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
143 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
144 | echo "Variable obuild_find_exe not defined." |
---|
145 | exit |
---|
146 | fi |
---|
147 | obuild_expat_path=`"${obuild_find_exe}" expat 'v1r11p6'` |
---|
148 | if [ "${obuild_expat_path}" = "" ] ; then |
---|
149 | echo "Can't find expat package." |
---|
150 | exit |
---|
151 | fi |
---|
152 | |
---|
153 | cd "${obuild_expat_path}/obuild" |
---|
154 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
155 | echo "build expat/v1r11p6 ..." |
---|
156 | ./sh/build ${obuild_args} |
---|
157 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
158 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
159 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
160 | echo "Variable obuild_find_exe not defined." |
---|
161 | exit |
---|
162 | fi |
---|
163 | obuild_Slash_path=`"${obuild_find_exe}" Slash 'v1r0p0'` |
---|
164 | if [ "${obuild_Slash_path}" = "" ] ; then |
---|
165 | echo "Can't find Slash package." |
---|
166 | exit |
---|
167 | fi |
---|
168 | |
---|
169 | cd "${obuild_Slash_path}/obuild" |
---|
170 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
171 | echo "build Slash/v1r0p0 ..." |
---|
172 | ./sh/build ${obuild_args} |
---|
173 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
174 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
175 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
176 | echo "Variable obuild_find_exe not defined." |
---|
177 | exit |
---|
178 | fi |
---|
179 | obuild_Lib_path=`"${obuild_find_exe}" Lib 'v8r0'` |
---|
180 | if [ "${obuild_Lib_path}" = "" ] ; then |
---|
181 | echo "Can't find Lib package." |
---|
182 | exit |
---|
183 | fi |
---|
184 | |
---|
185 | cd "${obuild_Lib_path}/obuild" |
---|
186 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
187 | echo "build Lib/v8r0 ..." |
---|
188 | ./sh/build ${obuild_args} |
---|
189 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
190 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
191 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
192 | echo "Variable obuild_find_exe not defined." |
---|
193 | exit |
---|
194 | fi |
---|
195 | obuild_HCL_path=`"${obuild_find_exe}" HCL 'v7r0'` |
---|
196 | if [ "${obuild_HCL_path}" = "" ] ; then |
---|
197 | echo "Can't find HCL package." |
---|
198 | exit |
---|
199 | fi |
---|
200 | |
---|
201 | cd "${obuild_HCL_path}/obuild" |
---|
202 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
203 | echo "build HCL/v7r0 ..." |
---|
204 | ./sh/build ${obuild_args} |
---|
205 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
206 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
207 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
208 | echo "Variable obuild_find_exe not defined." |
---|
209 | exit |
---|
210 | fi |
---|
211 | obuild_Midnight_path=`"${obuild_find_exe}" Midnight 'v4r0p0'` |
---|
212 | if [ "${obuild_Midnight_path}" = "" ] ; then |
---|
213 | echo "Can't find Midnight package." |
---|
214 | exit |
---|
215 | fi |
---|
216 | |
---|
217 | cd "${obuild_Midnight_path}/obuild" |
---|
218 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
219 | echo "build Midnight/v4r0p0 ..." |
---|
220 | ./sh/build ${obuild_args} |
---|
221 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
222 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
223 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
224 | echo "Variable obuild_find_exe not defined." |
---|
225 | exit |
---|
226 | fi |
---|
227 | obuild_Minuit_path=`"${obuild_find_exe}" Minuit 'v1r140p4'` |
---|
228 | if [ "${obuild_Minuit_path}" = "" ] ; then |
---|
229 | echo "Can't find Minuit package." |
---|
230 | exit |
---|
231 | fi |
---|
232 | |
---|
233 | cd "${obuild_Minuit_path}/obuild" |
---|
234 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
235 | echo "build Minuit/v1r140p4 ..." |
---|
236 | ./sh/build ${obuild_args} |
---|
237 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
238 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
239 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
240 | echo "Variable obuild_find_exe not defined." |
---|
241 | exit |
---|
242 | fi |
---|
243 | obuild_Rio_path=`"${obuild_find_exe}" Rio 'v7r1'` |
---|
244 | if [ "${obuild_Rio_path}" = "" ] ; then |
---|
245 | echo "Can't find Rio package." |
---|
246 | exit |
---|
247 | fi |
---|
248 | |
---|
249 | cd "${obuild_Rio_path}/obuild" |
---|
250 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
251 | echo "build Rio/v7r1 ..." |
---|
252 | ./sh/build ${obuild_args} |
---|
253 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
254 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
255 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
256 | echo "Variable obuild_find_exe not defined." |
---|
257 | exit |
---|
258 | fi |
---|
259 | obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r165p2'` |
---|
260 | if [ "${obuild_HDF5_path}" = "" ] ; then |
---|
261 | echo "Can't find HDF5 package." |
---|
262 | exit |
---|
263 | fi |
---|
264 | |
---|
265 | cd "${obuild_HDF5_path}/obuild" |
---|
266 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
267 | echo "build HDF5/v1r165p2 ..." |
---|
268 | ./sh/build ${obuild_args} |
---|
269 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
270 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
271 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
272 | echo "Variable obuild_find_exe not defined." |
---|
273 | exit |
---|
274 | fi |
---|
275 | obuild_BatchLab_path=`"${obuild_find_exe}" BatchLab 'v1r0'` |
---|
276 | if [ "${obuild_BatchLab_path}" = "" ] ; then |
---|
277 | echo "Can't find BatchLab package." |
---|
278 | exit |
---|
279 | fi |
---|
280 | |
---|
281 | cd "${obuild_BatchLab_path}/obuild" |
---|
282 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
283 | echo "build BatchLab/v1r0 ..." |
---|
284 | ./sh/build ${obuild_args} |
---|
285 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
286 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
287 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
288 | echo "Variable obuild_find_exe not defined." |
---|
289 | exit |
---|
290 | fi |
---|
291 | obuild_UseAIDA_path=`"${obuild_find_exe}" UseAIDA 'v1r0p2'` |
---|
292 | if [ "${obuild_UseAIDA_path}" = "" ] ; then |
---|
293 | echo "Can't find UseAIDA package." |
---|
294 | exit |
---|
295 | fi |
---|
296 | |
---|
297 | cd "${obuild_UseAIDA_path}/obuild" |
---|
298 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
299 | echo "build UseAIDA/v1r0p2 ..." |
---|
300 | ./sh/build ${obuild_args} |
---|
301 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
302 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
303 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
304 | echo "Variable obuild_find_exe not defined." |
---|
305 | exit |
---|
306 | fi |
---|
307 | obuild_jpeg_path=`"${obuild_find_exe}" jpeg 'v1r62p1'` |
---|
308 | if [ "${obuild_jpeg_path}" = "" ] ; then |
---|
309 | echo "Can't find jpeg package." |
---|
310 | exit |
---|
311 | fi |
---|
312 | |
---|
313 | cd "${obuild_jpeg_path}/obuild" |
---|
314 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
315 | echo "build jpeg/v1r62p1 ..." |
---|
316 | ./sh/build ${obuild_args} |
---|
317 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
318 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
319 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
320 | echo "Variable obuild_find_exe not defined." |
---|
321 | exit |
---|
322 | fi |
---|
323 | obuild_dvi2bitmap_path=`"${obuild_find_exe}" dvi2bitmap 'v1r0132p1'` |
---|
324 | if [ "${obuild_dvi2bitmap_path}" = "" ] ; then |
---|
325 | echo "Can't find dvi2bitmap package." |
---|
326 | exit |
---|
327 | fi |
---|
328 | |
---|
329 | cd "${obuild_dvi2bitmap_path}/obuild" |
---|
330 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
331 | echo "build dvi2bitmap/v1r0132p1 ..." |
---|
332 | ./sh/build ${obuild_args} |
---|
333 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
334 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
335 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
336 | echo "Variable obuild_find_exe not defined." |
---|
337 | exit |
---|
338 | fi |
---|
339 | obuild_freetype2_path=`"${obuild_find_exe}" freetype2 'v1r219p0'` |
---|
340 | if [ "${obuild_freetype2_path}" = "" ] ; then |
---|
341 | echo "Can't find freetype2 package." |
---|
342 | exit |
---|
343 | fi |
---|
344 | |
---|
345 | cd "${obuild_freetype2_path}/obuild" |
---|
346 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
347 | echo "build freetype2/v1r219p0 ..." |
---|
348 | ./sh/build ${obuild_args} |
---|
349 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
350 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
351 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
352 | echo "Variable obuild_find_exe not defined." |
---|
353 | exit |
---|
354 | fi |
---|
355 | obuild_CoinGL_path=`"${obuild_find_exe}" CoinGL 'v1r244p0'` |
---|
356 | if [ "${obuild_CoinGL_path}" = "" ] ; then |
---|
357 | echo "Can't find CoinGL package." |
---|
358 | exit |
---|
359 | fi |
---|
360 | |
---|
361 | cd "${obuild_CoinGL_path}/obuild" |
---|
362 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
363 | echo "build CoinGL/v1r244p0 ..." |
---|
364 | ./sh/build ${obuild_args} |
---|
365 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
366 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
367 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
368 | echo "Variable obuild_find_exe not defined." |
---|
369 | exit |
---|
370 | fi |
---|
371 | obuild_CoinXt_path=`"${obuild_find_exe}" CoinXt 'v1r122p0'` |
---|
372 | if [ "${obuild_CoinXt_path}" = "" ] ; then |
---|
373 | echo "Can't find CoinXt package." |
---|
374 | exit |
---|
375 | fi |
---|
376 | |
---|
377 | cd "${obuild_CoinXt_path}/obuild" |
---|
378 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
379 | echo "build CoinXt/v1r122p0 ..." |
---|
380 | ./sh/build ${obuild_args} |
---|
381 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
382 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
383 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
384 | echo "Variable obuild_find_exe not defined." |
---|
385 | exit |
---|
386 | fi |
---|
387 | obuild_CoinWin_path=`"${obuild_find_exe}" CoinWin 'v1r50p4'` |
---|
388 | if [ "${obuild_CoinWin_path}" = "" ] ; then |
---|
389 | echo "Can't find CoinWin package." |
---|
390 | exit |
---|
391 | fi |
---|
392 | |
---|
393 | cd "${obuild_CoinWin_path}/obuild" |
---|
394 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
395 | echo "build CoinWin/v1r50p4 ..." |
---|
396 | ./sh/build ${obuild_args} |
---|
397 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
398 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
399 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
400 | echo "Variable obuild_find_exe not defined." |
---|
401 | exit |
---|
402 | fi |
---|
403 | obuild_CoinQt_path=`"${obuild_find_exe}" CoinQt 'v1r130p0'` |
---|
404 | if [ "${obuild_CoinQt_path}" = "" ] ; then |
---|
405 | echo "Can't find CoinQt package." |
---|
406 | exit |
---|
407 | fi |
---|
408 | |
---|
409 | cd "${obuild_CoinQt_path}/obuild" |
---|
410 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
411 | echo "build CoinQt/v1r130p0 ..." |
---|
412 | ./sh/build ${obuild_args} |
---|
413 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
414 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
415 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
416 | echo "Variable obuild_find_exe not defined." |
---|
417 | exit |
---|
418 | fi |
---|
419 | obuild_CoinPython_path=`"${obuild_find_exe}" CoinPython 'v1r0'` |
---|
420 | if [ "${obuild_CoinPython_path}" = "" ] ; then |
---|
421 | echo "Can't find CoinPython package." |
---|
422 | exit |
---|
423 | fi |
---|
424 | |
---|
425 | cd "${obuild_CoinPython_path}/obuild" |
---|
426 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
427 | echo "build CoinPython/v1r0 ..." |
---|
428 | ./sh/build ${obuild_args} |
---|
429 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
430 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
431 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
432 | echo "Variable obuild_find_exe not defined." |
---|
433 | exit |
---|
434 | fi |
---|
435 | obuild_HEPVis_path=`"${obuild_find_exe}" HEPVis 'v6r6p0'` |
---|
436 | if [ "${obuild_HEPVis_path}" = "" ] ; then |
---|
437 | echo "Can't find HEPVis package." |
---|
438 | exit |
---|
439 | fi |
---|
440 | |
---|
441 | cd "${obuild_HEPVis_path}/obuild" |
---|
442 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
443 | echo "build HEPVis/v6r6p0 ..." |
---|
444 | ./sh/build ${obuild_args} |
---|
445 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
446 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
447 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
448 | echo "Variable obuild_find_exe not defined." |
---|
449 | exit |
---|
450 | fi |
---|
451 | obuild_KUIP_path=`"${obuild_find_exe}" KUIP 'v1r950303p16'` |
---|
452 | if [ "${obuild_KUIP_path}" = "" ] ; then |
---|
453 | echo "Can't find KUIP package." |
---|
454 | exit |
---|
455 | fi |
---|
456 | |
---|
457 | cd "${obuild_KUIP_path}/obuild" |
---|
458 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
459 | echo "build KUIP/v1r950303p16 ..." |
---|
460 | ./sh/build ${obuild_args} |
---|
461 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
462 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
463 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
464 | echo "Variable obuild_find_exe not defined." |
---|
465 | exit |
---|
466 | fi |
---|
467 | obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r0'` |
---|
468 | if [ "${obuild_OnX_path}" = "" ] ; then |
---|
469 | echo "Can't find OnX package." |
---|
470 | exit |
---|
471 | fi |
---|
472 | |
---|
473 | cd "${obuild_OnX_path}/obuild" |
---|
474 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
475 | echo "build OnX/v17r0 ..." |
---|
476 | ./sh/build ${obuild_args} |
---|
477 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
478 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
479 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
480 | echo "Variable obuild_find_exe not defined." |
---|
481 | exit |
---|
482 | fi |
---|
483 | obuild_OnXLab_path=`"${obuild_find_exe}" OnXLab 'v1r0'` |
---|
484 | if [ "${obuild_OnXLab_path}" = "" ] ; then |
---|
485 | echo "Can't find OnXLab package." |
---|
486 | exit |
---|
487 | fi |
---|
488 | |
---|
489 | cd "${obuild_OnXLab_path}/obuild" |
---|
490 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
491 | echo "build OnXLab/v1r0 ..." |
---|
492 | ./sh/build ${obuild_args} |
---|
493 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
494 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
495 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
496 | echo "Variable obuild_find_exe not defined." |
---|
497 | exit |
---|
498 | fi |
---|
499 | obuild_VisAIDA_path=`"${obuild_find_exe}" VisAIDA 'v1r0'` |
---|
500 | if [ "${obuild_VisAIDA_path}" = "" ] ; then |
---|
501 | echo "Can't find VisAIDA package." |
---|
502 | exit |
---|
503 | fi |
---|
504 | |
---|
505 | cd "${obuild_VisAIDA_path}/obuild" |
---|
506 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
507 | echo "build VisAIDA/v1r0 ..." |
---|
508 | ./sh/build ${obuild_args} |
---|
509 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
510 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
511 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
512 | echo "Variable obuild_find_exe not defined." |
---|
513 | exit |
---|
514 | fi |
---|
515 | obuild_OpenPAW_path=`"${obuild_find_exe}" OpenPAW 'v3r0'` |
---|
516 | if [ "${obuild_OpenPAW_path}" = "" ] ; then |
---|
517 | echo "Can't find OpenPAW package." |
---|
518 | exit |
---|
519 | fi |
---|
520 | |
---|
521 | cd "${obuild_OpenPAW_path}/obuild" |
---|
522 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
523 | echo "build OpenPAW/v3r0 ..." |
---|
524 | ./sh/build ${obuild_args} |
---|
525 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
526 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
527 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
528 | echo "Variable obuild_find_exe not defined." |
---|
529 | exit |
---|
530 | fi |
---|
531 | obuild_G4Lab_path=`"${obuild_find_exe}" G4Lab 'v8r0p0'` |
---|
532 | if [ "${obuild_G4Lab_path}" = "" ] ; then |
---|
533 | echo "Can't find G4Lab package." |
---|
534 | exit |
---|
535 | fi |
---|
536 | |
---|
537 | cd "${obuild_G4Lab_path}/obuild" |
---|
538 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
539 | echo "build G4Lab/v8r0p0 ..." |
---|
540 | ./sh/build ${obuild_args} |
---|
541 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
542 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
543 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
544 | echo "Variable obuild_find_exe not defined." |
---|
545 | exit |
---|
546 | fi |
---|
547 | obuild_G4Simple_path=`"${obuild_find_exe}" G4Simple 'v2r0p0'` |
---|
548 | if [ "${obuild_G4Simple_path}" = "" ] ; then |
---|
549 | echo "Can't find G4Simple package." |
---|
550 | exit |
---|
551 | fi |
---|
552 | |
---|
553 | cd "${obuild_G4Simple_path}/obuild" |
---|
554 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
555 | echo "build G4Simple/v2r0p0 ..." |
---|
556 | ./sh/build ${obuild_args} |
---|
557 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
558 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
559 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
560 | echo "Variable obuild_find_exe not defined." |
---|
561 | exit |
---|
562 | fi |
---|
563 | obuild_G4Examples_path=`"${obuild_find_exe}" G4Examples 'v1r0'` |
---|
564 | if [ "${obuild_G4Examples_path}" = "" ] ; then |
---|
565 | echo "Can't find G4Examples package." |
---|
566 | exit |
---|
567 | fi |
---|
568 | |
---|
569 | cd "${obuild_G4Examples_path}/obuild" |
---|
570 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
571 | echo "build G4Examples/v1r0 ..." |
---|
572 | ./sh/build ${obuild_args} |
---|
573 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
574 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
575 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
576 | echo "Variable obuild_find_exe not defined." |
---|
577 | exit |
---|
578 | fi |
---|
579 | obuild_bhep_path=`"${obuild_find_exe}" bhep 'v1r4p2'` |
---|
580 | if [ "${obuild_bhep_path}" = "" ] ; then |
---|
581 | echo "Can't find bhep package." |
---|
582 | exit |
---|
583 | fi |
---|
584 | |
---|
585 | cd "${obuild_bhep_path}/obuild" |
---|
586 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
587 | echo "build bhep/v1r4p2 ..." |
---|
588 | ./sh/build ${obuild_args} |
---|
589 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
590 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
591 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
592 | echo "Variable obuild_find_exe not defined." |
---|
593 | exit |
---|
594 | fi |
---|
595 | obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` |
---|
596 | if [ "${obuild_snova_path}" = "" ] ; then |
---|
597 | echo "Can't find snova package." |
---|
598 | exit |
---|
599 | fi |
---|
600 | |
---|
601 | cd "${obuild_snova_path}/obuild" |
---|
602 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
603 | echo "build snova/v2r0p0 ..." |
---|
604 | ./sh/build ${obuild_args} |
---|
605 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
606 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
607 | if [ "${obuild_find_exe}" = "" ] ; then |
---|
608 | echo "Variable obuild_find_exe not defined." |
---|
609 | exit |
---|
610 | fi |
---|
611 | obuild_snovis_path=`"${obuild_find_exe}" snovis 'v1r1'` |
---|
612 | if [ "${obuild_snovis_path}" = "" ] ; then |
---|
613 | echo "Can't find snovis package." |
---|
614 | exit |
---|
615 | fi |
---|
616 | |
---|
617 | cd "${obuild_snovis_path}/obuild" |
---|
618 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
619 | echo "build snovis/v1r1 ..." |
---|
620 | ./sh/build ${obuild_args} |
---|
621 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
622 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
623 | |
---|
624 | cd "${obuild_pwd_osc_snovis_0}" |
---|
625 | unset obuild_pwd_osc_snovis_0 |
---|