diff options
author | Richard Levitte <levitte@openssl.org> | 2002-01-26 06:24:05 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-01-26 06:24:05 +0100 |
commit | 7073e9e2a0fd9bff7c224dda0e85efb74a19141b (patch) | |
tree | 86ae4aeda6648554dd84c31a617a615b46ec50b2 /Makefile.org | |
parent | Apply a small patch from Dan Lanz <lanz@zolera.com> to get shared (diff) | |
download | openssl-7073e9e2a0fd9bff7c224dda0e85efb74a19141b.tar.xz openssl-7073e9e2a0fd9bff7c224dda0e85efb74a19141b.zip |
Update SCO5 targets.
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 19 |
1 files changed, 19 insertions, 0 deletions
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 \ |