2 # Comm : I'm swigging in the rain
6 bibli=`basename $bibli`
14 if ( [ $os != Linux ] ) then
20 for a in a a a a a a a a a a a a a a a a a a a a a a a
23 echo " -- Je swigge ..."
24 swig -python -c++ -o $wrap_src -module ${module} ${module}.i
26 echo " -- Je compile ..."
27 g++ $opt_pic -I/usr/include/python2.6 -c $wrap_src
28 echo " -- Je linke ..."
29 g++ -fPIC -shared $wrapped.o -L. -l$bibli -lpython2.6 -o ${shared}