diff options
author | Richard Levitte <levitte@openssl.org> | 2001-10-30 09:00:59 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-10-30 09:00:59 +0100 |
commit | a7b42009c43876f126790b3dc4260e3728695cc4 (patch) | |
tree | dd9105aee8ac45cdfe118a2b9e3b13ecd026ab7f /ssl | |
parent | Addapt VMS scripts to the newer disk layout system ODS-5, which allows more t... (diff) | |
download | openssl-a7b42009c43876f126790b3dc4260e3728695cc4.tar.xz openssl-a7b42009c43876f126790b3dc4260e3728695cc4.zip |
Change the shared library support so the shared libraries get built
sooner and the programs get built against the shared libraries.
This requires a bit more work. Things like -rpath and the possibility
to still link the programs statically should be included. Some
cleanup is also needed. This will be worked on.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/Makefile.ssl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ssl/Makefile.ssl b/ssl/Makefile.ssl index d643b4252f..2a3f8406d8 100644 --- a/ssl/Makefile.ssl +++ b/ssl/Makefile.ssl @@ -26,6 +26,7 @@ TEST=ssltest.c APPS= LIB=$(TOP)/libssl.a +SHARED_LIB= libssl$(SHLIB_EXT) LIBSRC= \ s2_meth.c s2_srvr.c s2_clnt.c s2_lib.c s2_enc.c s2_pkt.c \ s3_meth.c s3_srvr.c s3_clnt.c s3_lib.c s3_enc.c s3_pkt.c s3_both.c \ @@ -55,13 +56,18 @@ ALL= $(GENERAL) $(SRC) $(HEADER) top: (cd ..; $(MAKE) DIRS=$(DIR) all) -all: lib +all: lib shared lib: $(LIBOBJ) $(AR) $(LIB) $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. @touch lib +shared: + if [ -n "$(SHARED_LIBS)" ]; then \ + (cd ..; make $(SHARED_LIB)); \ + fi + files: $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |