summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-11-14 06:59:15 +0000
committerRichard Levitte <levitte@openssl.org>2001-11-14 06:59:15 +0000
commit888b8f32d7dd354ec2ea5f200ca8d71b04523c74 (patch)
tree053460b290c9c481be55e472384b1c59e98634b4 /Makefile.org
parent962c53c0cdbe0e18085c00967da9eaedac268e1b (diff)
Apply the following change from the main trunk:
2000-10-21 23:24 levitte * CHANGES (1.631), Configure (1.231), Makefile.org (1.104): Add what's needed to get shared libraries on HP-UX.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.org b/Makefile.org
index 173c1ab9b5..37717b96af 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -320,6 +320,24 @@ do_svr5-shared:
libs="$$libs -l$$i"; \
done
+# This assumes that GNU utilities are *not* used
+do_hpux-shared:
+ libs='${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
+ ( set -x; /usr/ccs/bin/ld -b -z -o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ +h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ -Fl lib$$i.a $$libs ${EX_LIBS} -lc ) || exit 1; \
+ libs="$$libs -L. -l$$i"; \
+ done
+
+# This assumes that GNU utilities are *not* used
+do_hpux64-shared:
+ libs='${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
+ ( set -x; /usr/ccs/bin/ld -b -z -o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ +h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ +forceload lib$$i.a $$libs ${EX_LIBS} -lc ) || exit 1; \
+ libs="$$libs -L. -l$$i"; \
+ done
+
Makefile.ssl: Makefile.org
@echo "Makefile.ssl is older than Makefile.org."
@echo "Reconfigure the source tree (via './config' or 'perl Configure'), please."