From: Theodore Tso Date: Fri, 26 May 1995 01:39:37 +0000 (+0000) Subject: Added shell script for creating shared libraries X-Git-Tag: krb5-1.0-beta6~1920 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c347bd0ed0a29d21e62a298b472b6c93983a874;p=krb5.git Added shell script for creating shared libraries git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5881 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/ChangeLog b/src/util/ChangeLog index 03e4ab832..9906a4a7c 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,7 @@ +Thu May 25 21:39:02 1995 Theodore Y. Ts'o (tytso@dcl) + + * makeshlib: Added shell script for creating shared libraries + Tue May 2 21:32:23 1995 Tom Yu (tlyu@dragons-lair) * Makefile.in: remove spurious whitespace from blank line diff --git a/src/util/makeshlib b/src/util/makeshlib new file mode 100644 index 000000000..1c7a06bd1 --- /dev/null +++ b/src/util/makeshlib @@ -0,0 +1,25 @@ +#!/bin/sh +# +# makeshlib: Make a shared library..... +# +# Usage: makeshlib +# + +host=$1 ; shift +CC=$1 ; shift +library=$1 ; shift + +case $host in +*-*-solaris*) + FILES=`for i + do + sed -e "s;^;$i/shared/;" -e "s; ; $i/shared/;g" $i/DONE + done` + + echo $CC -G -o $library $FILES + $CC -G -o $library $FILES + ;; +*) + echo "Host type $host not supported!" + exit 1 +esac