summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-10-21 21:24:11 +0000
committerRichard Levitte <levitte@openssl.org>2000-10-21 21:24:11 +0000
commit0fd44e2ddb359b00c8eb202e8d6da882efb0e294 (patch)
treee01b761179af07194548f6b760ff1f61655d7300 /Makefile.org
parent0a2221f9ad51b098a113e3bf8e33ee6ff2499e3b (diff)
Add what's needed to get shared libraries on HP-UX.
N.B.: This has not been tested at all, that's my next step.
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 557cc43043..1e6e5fce03 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -278,6 +278,24 @@ do_solaris-shared:
libs="$$libs -L. -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."