Restructure make targets to allow parallel make.
authorLutz Jänicke <jaenicke@openssl.org>
Wed, 3 Dec 2003 16:29:41 +0000 (16:29 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Wed, 3 Dec 2003 16:29:41 +0000 (16:29 +0000)
Submitted by: Witold Filipczyk <witekfl@poczta.gazeta.pl>

PR: #513

crypto/Makefile.ssl
ssl/Makefile.ssl

index a81b367ccfb97d217b00a3d0748282ff0efb712d..037e72d09f551b66b710b4833303cbeb7df2408c 100644 (file)
@@ -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
index c1e34b2410454159ad703a333e5293ac4cf79de6..39b958f55ce2d944cea145cf00441159fb126a11 100644 (file)
@@ -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