Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / openssl / shlib / solaris-sc4.sh
blobb0766b35f7cacde27f0a87eebbfb5cf42c21361b
1 #!/bin/sh
3 major="1"
5 slib=libssl
6 sh_slib=$slib.so.$major
8 clib=libcrypto
9 sh_clib=$clib.so.$major
11 echo collecting all object files for $clib.so
12 OBJS=
13 find . -name \*.o -print > allobjs
14 for obj in `ar t libcrypto.a`
16 OBJS="$OBJS `grep $obj allobjs`"
17 done
19 echo linking $clib.so
20 cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
22 rm -f $clib.so
23 ln -s $sh_clib $clib.so
25 echo collecting all object files for $slib.so
26 OBJS=
27 for obj in `ar t libssl.a`
29 OBJS="$OBJS `grep $obj allobjs`"
30 done
32 echo linking $slib.so
33 cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto
35 rm -f $slib.so
36 ln -s $sh_slib $slib.so
38 rm -f allobjs
40 mv libRSAglue.a libRSAglue.a.orig
41 mv libcrypto.a libcrypto.a.orig
42 mv libssl.a libssl.a.orig