#!/bin/csh -f
# ld-so : based on version from Olly Stephens (os102@cl.cam.ac.uk) - 20/7/92

# First build the static version
echo creating static library $1...
ar cru $*

# Then change .a to .so.3.1
set argv[1]=$1:r.so.3.1         

# and build the shared version 
echo creating dynamic library $1...
/bin/ld -assert pure-text -o $*
