summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-01-26 03:17:27 +0000
committerRichard Levitte <levitte@openssl.org>2002-01-26 03:17:27 +0000
commita3fffd648bd056feaa0568a7af738d8033c917a5 (patch)
tree45d1eecf46da1d4f7121a1c0cafe6edf04a232c8 /Makefile.org
parent2d57b73a502b40691805c2bc3853fdfaf7677612 (diff)
Add old patch from Robert Dahlem <Robert.Dahlem@ffm2.siemens.de> to
make it possible to produce shared libraries on ReliantUNIX.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.org b/Makefile.org
index 0427ce9647..ae0a874a8d 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -464,6 +464,20 @@ do_aix-shared:
libs="$$libs -l$$i"; \
done
+do_reliantunix-shared:
+ libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
+ tmpdir=/tmp/openssl.$$$$ ; rm -rf $$tmpdir ; \
+ ( set -x; \
+ ( Opwd=`pwd` ; mkdir $$tmpdir || exit 1; \
+ cd $$tmpdir || exit 1 ; ar x $$Opwd/lib$$i.a ; \
+ ${CC} -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} *.o \
+ ) || exit 1; \
+ cp $$tmpdir/lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} . ; \
+ ) || exit 1; \
+ rm -rf $$tmpdir ; \
+ libs="$$libs -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."