| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | shift |
| 3 | library=`basenamescip-shell system . . basename. $1 | sedscip-shell system . . sed. 's/\.so\..*$//'` |
| 4 | # |
| 5 | # For FreeBSD : Similar to Linux except the removal of |
| 6 | # -Wl,-soname,$library$sh_ext passed to gcc |
| 7 | #cc -no-cpp-precomp -dynamic -o $* |
| 8 | libtool -o $* |
| 9 | rmscip-shell system . . rm. -f $library.so |
| 10 | lnscip-shell system . . ln. -s $1 $library.so |