summaryrefslogtreecommitdiff
path: root/shlib/sun.sh
blob: a890bbd376537023e16bb08bdc780dd0fd36426e (plain)
1
2
3
4
5
6
7
8
FLAGS="-DTERMIO -O3 -DB_ENDIAN -fomit-frame-pointer -mv8 -Wall -Iinclude"
SHFLAGS="-DPIC -fpic"

gcc -c -Icrypto $SHFLAGS -fpic $FLAGS -o crypto.o crypto/crypto.c
ld -G -z text -o libcrypto.so crypto.o

gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c
ld -G -z text -o libssl.so ssl.o