diff options
author | Richard Levitte <levitte@openssl.org> | 2015-06-10 01:34:26 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-06-10 02:01:49 +0200 |
commit | 177b5f9c82e1152d6ce20a83556db629697fff65 (patch) | |
tree | 0254e4ceda317208836e8a1695b72ca6eeb39228 /Makefile.org | |
parent | 121ee399c91789b34898e25eed67802e7a888277 (diff) |
Add and rearrange building of libraries
There's a need for a target that will build all of libcrypto, so let's
add 'build_libcrypto' that does this. For ortogonality, let's also
add 'build_libssl'. Have both also depend on 'libcrypto.pc' and
'libssl.pc' so those get built together with the libraries.
This makes 'all' depend on fewer things directly.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org index 9f72cdb41a..e9b49d9c8f 100644 --- a/Makefile.org +++ b/Makefile.org @@ -187,7 +187,7 @@ INSTALLDIRS= \ $(INSTALL_PREFIX)$(OPENSSLDIR)/certs \ $(INSTALL_PREFIX)$(OPENSSLDIR)/private -all: Makefile build_all openssl.pc libssl.pc libcrypto.pc +all: Makefile build_all # as we stick to -e, CLEARENV ensures that local variables in lower # Makefiles remain local and variable. $${VAR+VAR} is tribute to Korn @@ -272,7 +272,10 @@ sub_all: build_all build_all: build_libs build_apps build_tests build_tools -build_libs: build_crypto build_ssl build_engines +build_libs: build_libcrypto build_libssl openssl.pc + +build_libcrypto: build_crypto build_engines libcrypto.pc +build_libssl: build_ssl libssl.pc build_crypto: @dir=crypto; target=all; $(BUILD_ONE_CMD) |