version 1.11, 2001/01/19 18:45:32
|
version 1.14, 2003/07/01 17:57:08
|
Line 31 then
|
Line 31 then
|
exit 1 |
exit 1 |
fi |
fi |
fi |
fi |
make -f Makefile clean |
if test -f Makefile |
|
then |
|
make -f Makefile clean |
|
fi |
mkdir capaFunctions |
mkdir capaFunctions |
path=`pwd` |
path=`pwd` |
cd $CAPADIR/pProj |
cd $CAPADIR/pProj |
Line 39 make ARCH=LONCAPA libcapa
|
Line 42 make ARCH=LONCAPA libcapa
|
cd $path |
cd $path |
cp $CAPADIR/pProj/LONCAPA/*.o capaFunctions |
cp $CAPADIR/pProj/LONCAPA/*.o capaFunctions |
swig -perl5 capa.i |
swig -perl5 capa.i |
|
dist=`perl ../../build/distprobe` |
|
if [[ $dist == "redhat8" || $dist == "redhat9" ]] |
|
then |
|
cat capa_wrap.c | perl -pe '$_=~s-SWIGEXPORT\(void,boot_capa\)\(CV\* cv\)\;-SWIGEXPORT\(void,boot_capa\)\(pTHX_ CV\* cv\)\;-;' > capa_wrap.c.new |
|
mv capa_wrap.c.new capa_wrap.c |
|
fi |
cp Makefile.PL Makefile.pl |
cp Makefile.PL Makefile.pl |
perl Makefile.PL |
perl Makefile.PL |
make -f Makefile |
make -f Makefile |