From: Lutz Jänicke Date: Wed, 3 Dec 2003 16:29:41 +0000 (+0000) Subject: Restructure make targets to allow parallel make. X-Git-Tag: BEN_FIPS_TEST_5~13^2~21 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=919f8bcd21c1d69a734f56b5ac2e2a576a0ed5f2;p=oweals%2Fopenssl.git Restructure make targets to allow parallel make. Submitted by: Witold Filipczyk PR: #513 --- diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl index a81b367ccf..037e72d09f 100644 --- a/crypto/Makefile.ssl +++ b/crypto/Makefile.ssl @@ -52,7 +52,7 @@ ALL= $(GENERAL) $(SRC) $(HEADER) top: @(cd ..; $(MAKE) DIRS=$(DIR) all) -all: buildinf.h lib subdirs shared +all: shared buildinf.h: ../Makefile.ssl ( echo "#ifndef MK1MF_BUILD"; \ @@ -98,7 +98,7 @@ lib: $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. @touch lib -shared: +shared: buildinf.h lib subdirs if [ -n "$(SHARED_LIBS)" ]; then \ (cd ..; $(MAKE) $(SHARED_LIB)); \ fi diff --git a/ssl/Makefile.ssl b/ssl/Makefile.ssl index c1e34b2410..39b958f55c 100644 --- a/ssl/Makefile.ssl +++ b/ssl/Makefile.ssl @@ -55,14 +55,14 @@ ALL= $(GENERAL) $(SRC) $(HEADER) top: (cd ..; $(MAKE) DIRS=$(DIR) all) -all: lib shared +all: shared lib: $(LIBOBJ) $(AR) $(LIB) $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. @touch lib -shared: +shared: lib if [ -n "$(SHARED_LIBS)" ]; then \ (cd ..; $(MAKE) $(SHARED_LIB)); \ fi