From 0fd44e2ddb359b00c8eb202e8d6da882efb0e294 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 21 Oct 2000 21:24:11 +0000 Subject: 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. --- Makefile.org | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Makefile.org') 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." -- cgit v1.2.3