source: snovis/trunk/obuild/sh/build_app_prog_snova @ 101

Last change on this file since 101 was 101, checked in by barrand, 16 years ago
  • Property svn:executable set to *
File size: 18.4 KB
Line 
1#!/bin/sh -f
2
3#
4# File produced by the obuild tool version 1.0
5# for the package snovis with version v1r1.
6#
7
8#////////////////////////////////////////////////
9# Usage :
10#   UNIX> cd some_path/pack/version/obuild
11# ( UNIX> chmod a+x sh/build_prog_snova )
12#   UNIX> sh/build_prog_snova
13#
14#////////////////////////////////////////////////
15
16obuild_verbose=no
17obuild_debug=no
18obuild_optimize=yes
19obuild_do_not_compile=no
20obuild_dir_bin_o_cleanup=yes
21
22obuild_set_x=no
23while test $# -ge 1 ; do
24  case $1 in
25    -h) 
26        echo "Options :"
27        echo "  -v : verbose."
28        echo "  -d : build in debug mode."
29        echo "  -g : build in debug mode."
30        echo "  -x : execute script with set -x."
31        echo "  -l : link only, do not (re)compile."
32        echo "  -k : do not remove result of compilations (.o, .obj)."
33        echo ""
34        exit ;;
35    -v) obuild_verbose=yes ;;
36    -x) obuild_set_x=yes ;;
37    -d) obuild_debug=yes ;;
38    -g) obuild_debug=yes ;;
39    -l) obuild_do_not_compile=yes ;;
40    -k) obuild_dir_bin_o_cleanup=no ;;
41    *) echo "unknown option : $1";exit ;;
42  esac
43  shift
44done
45
46if [ ${obuild_set_x} = yes ] ; then
47  set -x
48fi
49
50if [ ${obuild_debug} = yes ] ; then
51  obuild_optimize=no
52fi
53
54if [  "${OBUILD_PLATFORM}" = "" ] ; then
55  obuild_platform=`uname`
56else
57  obuild_platform=${OBUILD_PLATFORM}
58fi
59
60if [ "${obuild_platform}" = "" ] ; then
61  echo "obuild_platform variable not defined."
62  exit
63fi
64
65if [  "${OBUILD_DIR_BIN}" = "" ] ; then
66  obuild_dir_bin=${obuild_platform}_obuild
67else
68  obuild_dir_bin=${OBUILD_DIR_BIN}
69fi
70
71if [ "${obuild_dir_bin}" = "" ] ; then
72  echo "obuild_dir_bin variable not defined."
73  exit
74fi
75
76obuild_pwd=`pwd`
77obuild_snovis_path=`dirname "${obuild_pwd}"`
78unset obuild_pwd
79
80# Create the bin directory :
81/bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}"
82
83if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_platform" ] ; then
84  if [ ! -e "${obuild_snovis_path}/obuild/cpp/obuild_platform.cpp" ] ; then
85    echo "Program source obuild_platform.cpp not found."
86    exit
87  fi
88  if [ "${obuild_cxx_command}" = "" ] ; then 
89    if [  "${OBUILD_CXX}" != "" ] ; then
90      obuild_platform_compiler=${OBUILD_CXX}
91    else
92      obuild_platform_compiler=c++
93    fi
94  else
95    obuild_platform_compiler=${obuild_cxx_command} 
96  fi
97  ${obuild_platform_compiler} -o "${obuild_snovis_path}/${obuild_dir_bin}/obuild_platform" "${obuild_snovis_path}/obuild/cpp/obuild_platform.cpp"
98  unset obuild_platform_compiler
99  if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_platform" ] ; then
100    echo "Program obuild_platform not found."
101    exit
102  fi
103fi
104obuild_platform_exe="${obuild_snovis_path}/${obuild_dir_bin}/obuild_platform"
105if [ "${obuild_platform_exe}" = "" ] ; then
106  echo "Variable obuild_platform_exe not defined."
107  exit
108fi
109obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
110if [ ${obuild_platform_result} = yes ] ; then
111bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p2"
112fi
113unset obuild_platform_result
114if [ "${obuild_platform_exe}" = "" ] ; then
115  echo "Variable obuild_platform_exe not defined."
116  exit
117fi
118obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
119if [ ${obuild_platform_result} = yes ] ; then
120bhep_platform="Darwin"
121fi
122unset obuild_platform_result
123if [ "${obuild_platform_exe}" = "" ] ; then
124  echo "Variable obuild_platform_exe not defined."
125  exit
126fi
127obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
128if [ ${obuild_platform_result} = yes ] ; then
129snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"
130fi
131unset obuild_platform_result
132if [ "${obuild_platform_exe}" = "" ] ; then
133  echo "Variable obuild_platform_exe not defined."
134  exit
135fi
136obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
137if [ ${obuild_platform_result} = yes ] ; then
138snova_platform="Darwin"
139fi
140unset obuild_platform_result
141if [ "${obuild_platform_exe}" = "" ] ; then
142  echo "Variable obuild_platform_exe not defined."
143  exit
144fi
145obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
146if [ ${obuild_platform_result} = yes ] ; then
147CLHEP_home="/usr/local/CLHEP/2.0.3.1"
148fi
149unset obuild_platform_result
150if [ "${obuild_platform_exe}" = "" ] ; then
151  echo "Variable obuild_platform_exe not defined."
152  exit
153fi
154obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
155if [ ${obuild_platform_result} = yes ] ; then
156Geant4_home="/usr/local/geant4/8.2"
157fi
158unset obuild_platform_result
159if [ "${obuild_platform_exe}" = "" ] ; then
160  echo "Variable obuild_platform_exe not defined."
161  exit
162fi
163obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
164if [ ${obuild_platform_result} = yes ] ; then
165obuild_cxx_command="c++"
166fi
167unset obuild_platform_result
168if [ "${obuild_platform_exe}" = "" ] ; then
169  echo "Variable obuild_platform_exe not defined."
170  exit
171fi
172obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Linux'`
173if [ ${obuild_platform_result} = yes ] ; then
174obuild_cxx_command="c++"
175fi
176unset obuild_platform_result
177if [ "${obuild_platform_exe}" = "" ] ; then
178  echo "Variable obuild_platform_exe not defined."
179  exit
180fi
181obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'OSF1'`
182if [ ${obuild_platform_result} = yes ] ; then
183obuild_cxx_command="cxx"
184fi
185unset obuild_platform_result
186if [ "${obuild_platform_exe}" = "" ] ; then
187  echo "Variable obuild_platform_exe not defined."
188  exit
189fi
190obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Windows_NT'`
191if [ ${obuild_platform_result} = yes ] ; then
192obuild_cxx_command="cl.exe"
193fi
194unset obuild_platform_result
195if [ "${obuild_cxx_command}" = "" ] ; then
196  echo "Variable obuild_cxx_command not defined."
197  exit
198fi
199
200if [ "${obuild_platform_exe}" = "" ] ; then
201  echo "Variable obuild_platform_exe not defined."
202  exit
203fi
204obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
205if [ ${obuild_platform_result} = yes ] ; then
206obuild_cxx_optimize="-O"
207fi
208unset obuild_platform_result
209if [ "${obuild_platform_exe}" = "" ] ; then
210  echo "Variable obuild_platform_exe not defined."
211  exit
212fi
213obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Linux'`
214if [ ${obuild_platform_result} = yes ] ; then
215obuild_cxx_optimize="-O"
216fi
217unset obuild_platform_result
218if [ "${obuild_platform_exe}" = "" ] ; then
219  echo "Variable obuild_platform_exe not defined."
220  exit
221fi
222obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'OSF1'`
223if [ ${obuild_platform_result} = yes ] ; then
224obuild_cxx_optimize="-O"
225fi
226unset obuild_platform_result
227if [ "${obuild_platform_exe}" = "" ] ; then
228  echo "Variable obuild_platform_exe not defined."
229  exit
230fi
231obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Windows_NT'`
232if [ ${obuild_platform_result} = yes ] ; then
233obuild_cxx_optimize="/O2"
234fi
235unset obuild_platform_result
236
237if [ "${obuild_platform_exe}" = "" ] ; then
238  echo "Variable obuild_platform_exe not defined."
239  exit
240fi
241obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
242if [ ${obuild_platform_result} = yes ] ; then
243obuild_cxx_debug="-g"
244fi
245unset obuild_platform_result
246if [ "${obuild_platform_exe}" = "" ] ; then
247  echo "Variable obuild_platform_exe not defined."
248  exit
249fi
250obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Linux'`
251if [ ${obuild_platform_result} = yes ] ; then
252obuild_cxx_debug="-g"
253fi
254unset obuild_platform_result
255if [ "${obuild_platform_exe}" = "" ] ; then
256  echo "Variable obuild_platform_exe not defined."
257  exit
258fi
259obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'OSF1'`
260if [ ${obuild_platform_result} = yes ] ; then
261obuild_cxx_debug="-g"
262fi
263unset obuild_platform_result
264if [ "${obuild_platform_exe}" = "" ] ; then
265  echo "Variable obuild_platform_exe not defined."
266  exit
267fi
268obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Windows_NT'`
269if [ ${obuild_platform_result} = yes ] ; then
270obuild_cxx_debug="/ZI /Od"
271fi
272unset obuild_platform_result
273
274if [ "${obuild_platform_exe}" = "" ] ; then
275  echo "Variable obuild_platform_exe not defined."
276  exit
277fi
278obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Linux'`
279if [ ${obuild_platform_result} = yes ] ; then
280obuild_cxx_options="-fPIC"
281fi
282unset obuild_platform_result
283if [ "${obuild_platform_exe}" = "" ] ; then
284  echo "Variable obuild_platform_exe not defined."
285  exit
286fi
287obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Windows_NT'`
288if [ ${obuild_platform_result} = yes ] ; then
289obuild_cxx_options="/nologo /DWIN32 /MD /GX /GR /W3"
290fi
291unset obuild_platform_result
292
293if [ ${obuild_debug} = yes ] ; then
294  obuild_cxx_debug_local=${obuild_cxx_debug}
295else
296  obuild_cxx_debug_local=
297fi
298
299if [ ${obuild_optimize} = yes ] ; then
300  obuild_cxx_optimize_local=${obuild_cxx_optimize}
301else
302  obuild_cxx_optimize_local=
303fi
304
305if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then
306  if [ ! -e "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp" ] ; then
307    echo "Program source obuild_find.cpp not found."
308    exit
309  fi
310  if [ "${obuild_cxx_command}" = "" ] ; then
311    if [  "${OBUILD_CXX}" != "" ] ; then
312      obuild_find_compiler=${OBUILD_CXX}
313    else
314      obuild_find_compiler=c++
315    fi
316  else
317    obuild_find_compiler=${obuild_cxx_command}
318  fi
319  ${obuild_find_compiler} -o "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp"
320  unset obuild_find_compiler
321  if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then
322    echo "Program obuild_find not found."
323    exit
324  fi
325fi
326obuild_find_exe="${obuild_snovis_path}/${obuild_dir_bin}/obuild_find"
327if [ "${obuild_find_exe}" = "" ] ; then
328  echo "Variable obuild_find_exe not defined."
329  exit
330fi
331obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r*'`
332if [ "${obuild_HDF5_path}" = "" ] ; then
333  echo "Can't find HDF5 package."
334  exit
335fi
336if [ "${obuild_find_exe}" = "" ] ; then
337  echo "Variable obuild_find_exe not defined."
338  exit
339fi
340obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r*'`
341if [ "${obuild_HDF5_path}" = "" ] ; then
342  echo "Can't find HDF5 package."
343  exit
344fi
345if [ "${obuild_find_exe}" = "" ] ; then
346  echo "Variable obuild_find_exe not defined."
347  exit
348fi
349obuild_zlib_path=`"${obuild_find_exe}" zlib 'v1r*'`
350if [ "${obuild_zlib_path}" = "" ] ; then
351  echo "Can't find zlib package."
352  exit
353fi
354
355if [ "${obuild_platform_exe}" = "" ] ; then
356  echo "Variable obuild_platform_exe not defined."
357  exit
358fi
359obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
360if [ ${obuild_platform_result} = yes ] ; then
361obuild_cxx_includes="-I${snova_home}"
362fi
363unset obuild_platform_result
364if [ "${obuild_platform_exe}" = "" ] ; then
365  echo "Variable obuild_platform_exe not defined."
366  exit
367fi
368obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
369if [ ${obuild_platform_result} = yes ] ; then
370obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/GeomUtils/include"
371fi
372unset obuild_platform_result
373if [ "${obuild_platform_exe}" = "" ] ; then
374  echo "Variable obuild_platform_exe not defined."
375  exit
376fi
377obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
378if [ ${obuild_platform_result} = yes ] ; then
379obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/SNgeom2/include"
380fi
381unset obuild_platform_result
382if [ "${obuild_platform_exe}" = "" ] ; then
383  echo "Variable obuild_platform_exe not defined."
384  exit
385fi
386obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
387if [ ${obuild_platform_result} = yes ] ; then
388obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/SNvertex/include"
389fi
390unset obuild_platform_result
391if [ "${obuild_platform_exe}" = "" ] ; then
392  echo "Variable obuild_platform_exe not defined."
393  exit
394fi
395obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
396if [ ${obuild_platform_result} = yes ] ; then
397obuild_cxx_includes="${obuild_cxx_includes} -I${bhep_home}"
398fi
399unset obuild_platform_result
400if [ "${obuild_platform_exe}" = "" ] ; then
401  echo "Variable obuild_platform_exe not defined."
402  exit
403fi
404obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
405if [ ${obuild_platform_result} = yes ] ; then
406obuild_cxx_includes="${obuild_cxx_includes} -I${CLHEP_home}/include"
407fi
408unset obuild_platform_result
409if [ "${obuild_platform_exe}" = "" ] ; then
410  echo "Variable obuild_platform_exe not defined."
411  exit
412fi
413obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
414if [ ${obuild_platform_result} = yes ] ; then
415obuild_cxx_includes="${obuild_cxx_includes} -I${Geant4_home}/include"
416fi
417unset obuild_platform_result
418obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_HDF5_path}/include\""
419
420if [ ${obuild_dir_bin_o_cleanup} = yes ] ; then
421  /bin/rm -R -f "${obuild_snovis_path}/${obuild_dir_bin}/app_prog_snova"
422fi
423
424/bin/mkdir -p "${obuild_snovis_path}/${obuild_dir_bin}/app_prog_snova"
425
426# Compile prog_snova files :
427if [ ${obuild_do_not_compile} = no ] ; then
428
429if [ ${obuild_verbose} = yes ] ; then set -x;fi
430cd "${obuild_snovis_path}/${obuild_dir_bin}"
431 eval ${obuild_cxx_command} -c ${obuild_cxx_debug_local} ${obuild_cxx_optimize_local} ${obuild_cxx_options} ${obuild_cxx_macros} ${obuild_cxx_includes} -o ./app_prog_snova/prog_snova2.o \"../applications/prog_snova2.cxx\"
432obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
433cd "${obuild_snovis_path}/obuild"
434
435if [ ${obuild_verbose} = yes ] ; then set +x;fi
436
437fi #do_not_compile
438
439if [ "${obuild_platform_exe}" = "" ] ; then
440  echo "Variable obuild_platform_exe not defined."
441  exit
442fi
443obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
444if [ ${obuild_platform_result} = yes ] ; then
445obuild_cxx_linker_command="c++"
446fi
447unset obuild_platform_result
448if [ "${obuild_platform_exe}" = "" ] ; then
449  echo "Variable obuild_platform_exe not defined."
450  exit
451fi
452obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Linux'`
453if [ ${obuild_platform_result} = yes ] ; then
454obuild_cxx_linker_command="c++"
455fi
456unset obuild_platform_result
457if [ "${obuild_platform_exe}" = "" ] ; then
458  echo "Variable obuild_platform_exe not defined."
459  exit
460fi
461obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'OSF1'`
462if [ ${obuild_platform_result} = yes ] ; then
463obuild_cxx_linker_command="cxx"
464fi
465unset obuild_platform_result
466if [ "${obuild_platform_exe}" = "" ] ; then
467  echo "Variable obuild_platform_exe not defined."
468  exit
469fi
470obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Windows_NT'`
471if [ ${obuild_platform_result} = yes ] ; then
472obuild_cxx_linker_command="link.exe"
473fi
474unset obuild_platform_result
475if [ "${obuild_cxx_linker_command}" = "" ] ; then
476  echo "Variable obuild_cxx_linker_command not defined."
477  exit
478fi
479
480if [ "${obuild_platform_exe}" = "" ] ; then
481  echo "Variable obuild_platform_exe not defined."
482  exit
483fi
484obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
485if [ ${obuild_platform_result} = yes ] ; then
486obuild_cxx_linker_debug="-g"
487fi
488unset obuild_platform_result
489if [ "${obuild_platform_exe}" = "" ] ; then
490  echo "Variable obuild_platform_exe not defined."
491  exit
492fi
493obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Linux'`
494if [ ${obuild_platform_result} = yes ] ; then
495obuild_cxx_linker_debug="-g"
496fi
497unset obuild_platform_result
498if [ "${obuild_platform_exe}" = "" ] ; then
499  echo "Variable obuild_platform_exe not defined."
500  exit
501fi
502obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'OSF1'`
503if [ ${obuild_platform_result} = yes ] ; then
504obuild_cxx_linker_debug="-g"
505fi
506unset obuild_platform_result
507if [ "${obuild_platform_exe}" = "" ] ; then
508  echo "Variable obuild_platform_exe not defined."
509  exit
510fi
511obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Windows_NT'`
512if [ ${obuild_platform_result} = yes ] ; then
513obuild_cxx_linker_debug="/DEBUG"
514fi
515unset obuild_platform_result
516
517if [ "${obuild_platform_exe}" = "" ] ; then
518  echo "Variable obuild_platform_exe not defined."
519  exit
520fi
521obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Windows_NT'`
522if [ ${obuild_platform_result} = yes ] ; then
523obuild_cxx_linker_options="/nologo"
524fi
525unset obuild_platform_result
526
527if [ ${obuild_debug} = yes ] ; then
528  obuild_cxx_linker_debug_local=${obuild_cxx_linker_debug}
529else
530  obuild_cxx_linker_debug_local=
531fi
532
533if [ ${obuild_optimize} = yes ] ; then
534  obuild_cxx_linker_optimize_local=${obuild_cxx_linker_optimize}
535else
536  obuild_cxx_linker_optimize_local=
537fi
538obuild_linked_libraries="-L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils"
539obuild_linked_libraries="${obuild_linked_libraries} -L${bhep_home}/Darwin -lbhep"
540obuild_linked_libraries="${obuild_linked_libraries} -L${Geant4_home}/lib -lG4interfaces"
541if [ "${obuild_platform_exe}" = "" ] ; then
542  echo "Variable obuild_platform_exe not defined."
543  exit
544fi
545obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
546if [ ${obuild_platform_result} = yes ] ; then
547obuild_linked_libraries="${obuild_linked_libraries} -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global"
548fi
549unset obuild_platform_result
550if [ "${obuild_platform_exe}" = "" ] ; then
551  echo "Variable obuild_platform_exe not defined."
552  exit
553fi
554obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
555if [ ${obuild_platform_result} = yes ] ; then
556obuild_linked_libraries="${obuild_linked_libraries} -L${CLHEP_home}/lib -lCLHEP"
557fi
558unset obuild_platform_result
559obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_HDF5_path}/${obuild_dir_bin}\""
560obuild_linked_libraries="${obuild_linked_libraries}  -losc_HDF5"
561obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_zlib_path}/${obuild_dir_bin}\""
562obuild_linked_libraries="${obuild_linked_libraries}  -losc_z"
563
564# Link prog_snova :
565cd "${obuild_snovis_path}/${obuild_dir_bin}"
566obuild_objs=`find ./app_prog_snova -name '*.o' -print`
567/bin/rm -f ./prog_snova
568if [ ${obuild_verbose} = yes ] ; then set -x;fi
569 eval ${obuild_cxx_linker_command} ${obuild_cxx_linker_debug_local} ${obuild_cxx_linker_optimize_local} ${obuild_cxx_linker_options} -o \"${obuild_snovis_path}/${obuild_dir_bin}/prog_snova\" ${obuild_objs} ${obuild_linked_paths} ${obuild_linked_libraries}
570obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
571if [ ${obuild_verbose} = yes ] ; then set +x;fi
572cd "${obuild_snovis_path}/obuild"
573
574# Some cleanup :
575if [ ${obuild_dir_bin_o_cleanup} = yes ] ; then
576  /bin/rm -R -f "${obuild_snovis_path}/${obuild_dir_bin}/app_prog_snova"
577fi
578/bin/rm -f "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find"
579
Note: See TracBrowser for help on using the repository browser.