Salome HOME
Merge branch 'bos/23995' into master
[tools/sat_salome.git] / products / compil_scripts / CAS_6.7.sh
1 #!/bin/bash
2
3 echo "###############################################"
4 echo "CASCADE" $VERSION
5 echo "###############################################"
6
7
8
9 echo
10 echo "*** build_configure"
11 ./build_configure
12 if [ $? -ne 0 ]
13 then
14     echo "ERROR on build_configure"
15     exit 1
16 fi
17
18 echo
19 echo "*** configure"
20 ./configure \
21     --without-tcl --without-tk --disable-draw \
22     --with-freetype=$FREETYPEDIR \
23     --enable-debug=no --enable-production=yes \
24     --with-gl2ps=$GL2PSDIR \
25     --with-freeimage=$FREEIMAGEDIR \
26     --prefix=$PRODUCT_INSTALL
27
28 if [ $? -ne 0 ]
29 then
30     echo "ERROR on configure"
31     exit 1
32 fi
33
34 echo
35 echo "*** make" $MAKE_OPTIONS
36 make $MAKE_OPTIONS
37 if [ $? -ne 0 ]
38 then
39     echo "ERROR on make"
40     exit 2
41 fi
42
43 echo
44 echo "*** make install"
45 make install
46 if [ $? -ne 0 ]
47 then
48     echo "ERROR on make install"
49     exit 3
50 fi
51
52 echo
53 echo "########## END"
54