7 sh_slib
=$slib.so.
$major.
$minor
10 sh_clib
=$clib.so.
$major.
$minor
12 FLAGS
="-O3 -DFILIO_H -fomit-frame-pointer -pthread"
18 echo collecting all object files
for $clib.so
20 find .
-name \
*.o
-print > allobjs
21 for obj
in `ar t libcrypto.a`
23 OBJS
="$OBJS `grep $obj allobjs`"
27 gcc
-G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
30 ln -s $sh_clib $clib.so
32 echo collecting all object files
for $slib.so
34 for obj
in `ar t libssl.a`
36 OBJS
="$OBJS `grep $obj allobjs`"
40 gcc
-G -o $sh_slib -h $sh_slib $OBJS -L.
-lcrypto
43 ln -s $sh_slib $slib.so
45 mv libRSAglue.a libRSAglue.a.orig
46 mv libcrypto.a libcrypto.a.orig
47 mv libssl.a libssl.a.orig