aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-02-28 19:14:46 +0000
committerUlf Möller <ulf@openssl.org>2000-02-28 19:14:46 +0000
commita4709b3d88b5a8db2f5dd2b272bd82038fcf602a (patch)
tree2c996d1140fa61e61e110387a029613888f778b2 /Makefile.org
parent865874f2dde7a4e886bc625dd7ecd262b29baa8d (diff)
downloadopenssl-a4709b3d88b5a8db2f5dd2b272bd82038fcf602a.tar.gz
Shared library support for Solaris and HPUX
by Lutz Behnke and by Lutz Jaenicke. Hopefully we'll have a unified way of handling shared libraries when we move to autoconf...
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.org b/Makefile.org
index be6894426f..a216f40c02 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -385,4 +385,11 @@ install_docs:
> $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec); \
done
+shlib: all
+ if [ ! -d shlib_dir ] ; then mkdir shlib_dir ; else rm -f shlib_dir/* ; fi
+ cd shlib_dir ; ar -x ../libcrypto.a && $(CC) -shared ./*.o -Wl,-soname -Wl,libcrypto.so.0.9 \
+ -o ./libcrypto.so.0.9.4 && rm *.o
+ cd shlib_dir ; ar -x ../libssl.a && $(CC) -shared ./*.o -Wl,-soname -Wl,libssl.so.0.9 \
+ -o ./libssl.so.0.9.4 && rm *.o
+
# DO NOT DELETE THIS LINE -- make depend depends on it.