aboutsummaryrefslogtreecommitdiff
path: root/packages/OS400/make-lib.sh
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2008-01-16 16:04:47 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2008-01-16 16:04:47 +0000
commit3ee32d79207845f976ee89830063a3faa689e566 (patch)
tree0c338f517a694cbcda0882696e74b900481197ca /packages/OS400/make-lib.sh
parentb3de497d8316647d988e97703f975e0acd40cacd (diff)
OS/400 update:
New declarations in curl.h reported to curl.inc.in. Copyrights extended to 2008. SONAME handling introduced in build scripts.
Diffstat (limited to 'packages/OS400/make-lib.sh')
-rw-r--r--packages/OS400/make-lib.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/OS400/make-lib.sh b/packages/OS400/make-lib.sh
index d2a7a050f..cd1db3ed3 100644
--- a/packages/OS400/make-lib.sh
+++ b/packages/OS400/make-lib.sh
@@ -28,7 +28,7 @@ fi
echo '#pragma comment(user, "libcurl version '"${LIBCURL_VERSION}"'")' > os400.c
echo '#pragma comment(date)' >> os400.c
-echo '#pragma comment(copyright, "Copyright (C) 1998-2007 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
+echo '#pragma comment(copyright, "Copyright (C) 1998-2008 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
make_module OS400 os400.c
LINK= # No need to rebuild service program yet.
MODULES=
@@ -113,12 +113,13 @@ EXPORTS=`grep '^CURL_EXTERN[ ]' \
BSF="${LIBIFSNAME}/TOOLS.FILE/BNDSRC.MBR"
-if action_needed "${BSF}"
+if action_needed "${BSF}" Makefile.am
then LINK=YES
fi
if [ "${LINK}" ]
-then echo " STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('LIBCURL')" > "${BSF}"
+then echo " STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('LIBCURL_${SONAME}')" \
+ > "${BSF}"
for EXPORT in ${EXPORTS}
do echo ' EXPORT SYMBOL("'"${EXPORT}"'")' >> "${BSF}"
done