Salome HOME
initial commit : transfert of salome configuration files from internal git base
[tools/sat_salome.git] / products / compil_scripts / omniORBpy.sh
1 #!/bin/bash
2
3 echo "##########################################################################"
4 echo "omniORBpy" $VERSION
5 echo "##########################################################################"
6
7 echo
8 echo "*** configure"
9 $SOURCE_DIR/configure --prefix=${OMNIORB_ROOT_DIR}
10 if [ $? -ne 0 ]
11 then
12     echo "ERROR on configure"
13     exit 1
14 fi
15
16 echo
17 echo "*** make" $MAKE_OPTIONS
18 make $MAKE_OPTIONS
19 if [ $? -ne 0 ]
20 then
21     echo "ERROR on make"
22     exit 2
23 fi
24
25 echo
26 echo "*** make install"
27 make install
28 if [ $? -ne 0 ]
29 then
30     echo "ERROR on make install"
31     exit 3
32 fi
33
34 mkdir -p $PRODUCT_INSTALL
35 echo "omniORBpy is installed into omni dir ${OMNIORB_ROOT_DIR}" > $PRODUCT_INSTALL/README
36
37 echo
38 echo "########## END"
39