From 7073e9e2a0fd9bff7c224dda0e85efb74a19141b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 26 Jan 2002 05:24:05 +0000 Subject: Update SCO5 targets. --- Makefile.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'Makefile.org') diff --git a/Makefile.org b/Makefile.org index ae0a874a8d..171635647c 100644 --- a/Makefile.org +++ b/Makefile.org @@ -348,6 +348,25 @@ do_solaris-shared: done; \ fi +# OpenServer 5 native compilers used +do_svr3-shared: + if ${DETECT_GNU_LD}; then \ + $(MAKE) do_gnu-shared; \ + else \ + libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ + ( PATH=/usr/ccs/bin:$$PATH ; export PATH; \ + find . -name "*.o" -print > allobjs ; \ + OBJS= ; export OBJS ; \ + for obj in `ar t lib$$i.a` ; do \ + OBJS="$${OBJS} `grep $$obj allobjs`" ; \ + done ; \ + set -x; ${CC} -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + $${OBJS} $$libs ${EX_LIBS} ) || exit 1; \ + libs="$$libs -l$$i"; \ + done; \ + fi + # UnixWare 7 and OpenUNIX 8 native compilers used do_svr5-shared: if ${DETECT_GNU_LD}; then \ -- cgit v1.2.3