[exim-cvs] Fix parallel make. Bug 1446

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Fix parallel make. Bug 1446
Gitweb: http://git.exim.org/exim.git/commitdiff/2247672183a05fed9ed58d900b96431a4eddb2a1
Commit:     2247672183a05fed9ed58d900b96431a4eddb2a1
Parent:     bb7b9411e1b4f95418bed7b35035186e261063a6
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Mar 1 17:02:43 2014 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Mar 1 17:02:43 2014 +0000


    Fix parallel make.  Bug 1446
    from work by Heiko Schlittermann
---
 src/OS/Makefile-Base |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)


diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base
index 1500e85..f0edbf1 100644
--- a/src/OS/Makefile-Base
+++ b/src/OS/Makefile-Base
@@ -106,8 +106,7 @@ allexim: config.h $(EXIM_MONITOR) exicyclog exinext exiwhat \
         transport-filter.pl convert4r3 convert4r4 \
         exim_checkaccess \
         exim_dbmbuild exim_dumpdb exim_fixdb exim_tidydb exim_lock \
-        buildlookups buildrouters buildtransports \
-        buildauths buildpdkim exim
+        exim



# Targets for special-purpose configuration header builders
@@ -649,7 +648,8 @@ $(MONBIN): $(HDRS)

# The lookups library.

-buildlookups lookups/lookups.a: config.h version.h
+buildlookups: lookups/lookups.a
+lookups/lookups.a: config.h version.h
      @cd lookups && $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \
        CFLAGS_DYNAMIC="$(CFLAGS_DYNAMIC)" HDRS="../version.h $(PHDRS)" \
        FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" \
@@ -658,7 +658,8 @@ buildlookups lookups/lookups.a: config.h version.h


# The routers library.

-buildrouters routers/routers.a: config.h
+buildrouters: routers/routers.a
+routers/routers.a: config.h
      @cd routers && $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \
        FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \
        INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)"
@@ -666,7 +667,8 @@ buildrouters routers/routers.a: config.h


# The transports library.

-buildtransports transports/transports.a: config.h
+buildtransports: transports/transports.a
+transports/transports.a: config.h
      @cd transports && $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \
        FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \
        INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)"
@@ -674,7 +676,8 @@ buildtransports transports/transports.a: config.h


# The library of authorization modules

-buildauths auths/auths.a: config.h
+buildauths: auths/auths.a
+auths/auths.a: config.h
      @cd auths && $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \
        FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \
        INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)"
@@ -682,7 +685,8 @@ buildauths auths/auths.a: config.h


# The PDKIM library

-buildpdkim pdkim/pdkim.a: config.h
+buildpdkim: pdkim/pdkim.a
+pdkim/pdkim.a: config.h
      @cd pdkim && $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \
        FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \
        INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)"