6 sh_slib
=$slib.so.
$major
9 sh_clib
=$clib.so.
$major
11 echo collecting all object files
for $clib.so
13 find .
-name \
*.o
-print > allobjs
14 for obj
in `ar t libcrypto.a`
16 OBJS
="$OBJS `grep $obj allobjs`"
20 cc
-G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
23 ln -s $sh_clib $clib.so
25 echo collecting all object files
for $slib.so
27 for obj
in `ar t libssl.a`
29 OBJS
="$OBJS `grep $obj allobjs`"
33 cc
-G -o $sh_slib -h $sh_slib $OBJS -L.
-lcrypto
36 ln -s $sh_slib $slib.so
40 mv libRSAglue.a libRSAglue.a.orig
41 mv libcrypto.a libcrypto.a.orig
42 mv libssl.a libssl.a.orig