From 3ee32d79207845f976ee89830063a3faa689e566 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Wed, 16 Jan 2008 16:04:47 +0000 Subject: OS/400 update: New declarations in curl.h reported to curl.inc.in. Copyrights extended to 2008. SONAME handling introduced in build scripts. --- packages/OS400/initscript.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'packages/OS400/initscript.sh') diff --git a/packages/OS400/initscript.sh b/packages/OS400/initscript.sh index f32e8915b..b851e366b 100644 --- a/packages/OS400/initscript.sh +++ b/packages/OS400/initscript.sh @@ -20,6 +20,12 @@ TOPDIR=`dirname "${SCRIPTDIR}"` TOPDIR=`dirname "${TOPDIR}"` export SCRIPTDIR TOPDIR +# Extract the SONAME from the library makefile. + +SONAME=`sed -e '/^VERSION=/!d' -e 's/^.* \([0-9]*\):.*$/\1/' \ + < "${TOPDIR}/lib/Makefile.am"` +export SONAME + ################################################################################ # @@ -30,7 +36,7 @@ export SCRIPTDIR TOPDIR TARGETLIB='CURL' # Target OS/400 program library STATBNDDIR='CURL_A' # Static binding directory. DYNBNDDIR='CURL' # Dynamic binding directory. -SRVPGM='CURL' # Service program. +SRVPGM="CURL.${SONAME}" # Service program. TGTCCSID='500' # Target CCSID of objects DEBUG='*ALL' # Debug level OPTIMIZE='10' # Optimisation level -- cgit v1.2.3