提交 32e75dd3 编写于 作者: L Lutz Jänicke

Add SCO5 shared library scripts.

Upate SVR5 scripts for the upcoming 0.9.7b.
Submitted by: Boyd Lynn Gerber <gerberb@zenez.com>
上级 abfc6a3a
#!/bin/sh
major="0"
minor="9.7b"
slib=libssl
sh_slib=$slib.so.$major.$minor
clib=libcrypto
sh_clib=$clib.so.$major.$minor
FLAGS="-O3 -fomit-frame-pointer"
SHFLAGS="-DPIC -fPIC"
touch $sh_clib
touch $sh_slib
echo collecting all object files for $clib.so
OBJS=
find . -name \*.o -print > allobjs
for obj in `ar t libcrypto.a`
do
OBJS="$OBJS `grep $obj allobjs`"
done
echo linking $clib.so
gcc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
rm -f $clib.so
ln -s $sh_clib $clib.so
echo collecting all object files for $slib.so
OBJS=
for obj in `ar t libssl.a`
do
OBJS="$OBJS `grep $obj allobjs`"
done
echo linking $slib.so
gcc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto
rm -f $slib.so
ln -s $sh_slib $slib.so
mv libRSAglue.a libRSAglue.a.orig
mv libcrypto.a libcrypto.a.orig
mv libssl.a libssl.a.orig
#!/bin/sh
major="0"
minor="9.7b"
slib=libssl
sh_slib=$slib.so.$major.$minor
clib=libcrypto
sh_clib=$clib.so.$major.$minor
# If you want them in /usr/local/lib then change INSTALLTOP to point there.
#INSTALLTOP=/usr/local/ssl/lib
INSTALLTOP=/usr/local/lib
cp -p $sh_clib $INSTALLTOP
cp -p $sh_slib $INSTALLTOP
PWD=`pwd`
cd $INSTALLTOP
rm -f $INSTALLTOP/$clib.so
ln -s $INSTALLTOP/$sh_clib $clib.so
rm -f $INSTALLTOP/$slib.so
ln -s $INSTALLTOP/$sh_slib $slib.so
cd $PWD
#!/bin/sh
major="0"
minor="9.7b"
slib=libssl
sh_slib=$slib.so.$major.$minor
clib=libcrypto
sh_clib=$clib.so.$major.$minor
FLAGS="-O -DFILIO_H -Kalloca"
SHFLAGS="-Kpic -DPIC"
touch $sh_clib
touch $sh_slib
echo collecting all object files for $clib.so
OBJS=
find . -name \*.o -print > allobjs
for obj in `ar t libcrypto.a`
do
OBJS="$OBJS `grep $obj allobjs`"
done
echo linking $clib.so
cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
rm -f $clib.so
ln -s $sh_clib $clib.so
echo collecting all object files for $slib.so
OBJS=
for obj in `ar t libssl.a`
do
OBJS="$OBJS `grep $obj allobjs`"
done
echo linking $slib.so
cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto
rm -f $slib.so
ln -s $sh_slib $slib.so
mv libRSAglue.a libRSAglue.a.orig
mv libcrypto.a libcrypto.a.orig
mv libssl.a libssl.a.orig
#!/usr/bin/sh
major="0"
minor="9.7"
minor="9.7b"
slib=libssl
sh_slib=$slib.so.$major.$minor
......
#!/usr/bin/sh
major="0"
minor="9.7"
minor="9.7b"
slib=libssl
sh_slib=$slib.so.$major.$minor
......@@ -25,4 +25,3 @@ rm -f $INSTALLTOP/$slib.so
ln -s $INSTALLTOP/$sh_slib $slib.so
cd $PWD
#!/usr/bin/sh
major="0"
minor="9.7"
minor="9.7b"
slib=libssl
sh_slib=$slib.so.$major.$minor
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册