diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-09-12 13:50:03 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-09-12 13:50:03 +0000 |
commit | ebcb507fbcf4a0b0d75592c0d3f5193a8d3b0799 (patch) | |
tree | dae1cb5db765f0ce5e819785e61cf55d24cb1ebe /src | |
parent | 1130bfb0c80bb04fa0873a075758a8abb84f607a (diff) |
Use RM_COMMAND everywhere during building.
Diffstat (limited to 'src')
-rw-r--r-- | src/ACKNOWLEDGMENTS | 5 | ||||
-rw-r--r-- | src/Makefile | 9 | ||||
-rw-r--r-- | src/OS/Makefile-Base | 12 | ||||
-rw-r--r-- | src/src/auths/Makefile | 6 | ||||
-rw-r--r-- | src/src/lookups/Makefile | 6 | ||||
-rw-r--r-- | src/src/routers/Makefile | 6 | ||||
-rw-r--r-- | src/src/transports/Makefile | 6 |
7 files changed, 26 insertions, 24 deletions
diff --git a/src/ACKNOWLEDGMENTS b/src/ACKNOWLEDGMENTS index 6800012e7..238b52d2a 100644 --- a/src/ACKNOWLEDGMENTS +++ b/src/ACKNOWLEDGMENTS @@ -1,4 +1,4 @@ -$Cambridge: exim/src/ACKNOWLEDGMENTS,v 1.33 2005/09/06 13:17:36 ph10 Exp $ +$Cambridge: exim/src/ACKNOWLEDGMENTS,v 1.34 2005/09/12 13:50:03 ph10 Exp $ EXIM ACKNOWLEDGEMENTS @@ -20,7 +20,7 @@ relatively small patches. Philip Hazel Lists created: 20 November 2002 -Last updated: 06 September 2005 +Last updated: 12 September 2005 THE OLD LIST @@ -152,6 +152,7 @@ Steve Haslam Lots of stuff, including HMAC computations Better error messages for BDB Sheldon Hearn Suggested patch for smtp_accept_max_nonmail_hosts +Bryan Henderson Patch to use RM_COMMAND everywhere during building Jakob Hirsch Patch for % operator Kjetil Torgrim Homme Patch for require_files problem on NFS file systems Tom Hughes Suggested patch for $n bug in pipe command from filter diff --git a/src/Makefile b/src/Makefile index 463955ccf..8702df9fb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ -# $Cambridge: exim/src/Makefile,v 1.2 2004/10/11 13:24:19 ph10 Exp $ +# $Cambridge: exim/src/Makefile,v 1.3 2005/09/12 13:50:03 ph10 Exp $ # Top-level makefile for Exim; handles creating a build directory with # appropriate links, and then creating and running the main makefile in that @@ -13,6 +13,7 @@ # or "make" must be called with a different SHELL= setting. SHELL=/bin/sh +RM_COMMAND=/bin/rm # If a build name has not been specified by running this make file via a # command of the form "make build=xxxx", then determine the name of the @@ -58,7 +59,7 @@ configure: build-directory # "configure", which doesn't force it). makefile: build-directory - @cd build-$(buildname); /bin/rm -f Makefile; \ + @cd build-$(buildname); $(RM_COMMAND) -f Makefile; \ build=$(build) $(SHELL) ../scripts/Configure-Makefile # Go to the build directory and do the business @@ -77,12 +78,12 @@ clean:; @echo ""; echo '*** "make clean" just removes all .o and .a files' @echo '*** Use "make makefile" to force a rebuild of the makefile' @echo "" cd build-$(buildname); \ - /bin/rm -f *.o lookups/*.o lookups/*.a auths/*.o auths/*.a \ + $(RM_COMMAND) -f *.o lookups/*.o lookups/*.a auths/*.o auths/*.a \ routers/*.o routers/*.a transports/*.o transports/*.a \ pcre/*.o pcre/*.a clean_exim:; cd build-$(buildname); \ - /bin/rm -f *.o lookups/*.o lookups/*.a auths/*.o auths/*.a \ + $(RM_COMMAND) -f *.o lookups/*.o lookups/*.a auths/*.o auths/*.a \ routers/*.o routers/*.a transports/*.o transports/*.a # End of top-level makefile diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base index ddfe23ae4..2b805d870 100644 --- a/src/OS/Makefile-Base +++ b/src/OS/Makefile-Base @@ -1,4 +1,4 @@ -# $Cambridge: exim/src/OS/Makefile-Base,v 1.7 2005/06/27 10:24:43 ph10 Exp $ +# $Cambridge: exim/src/OS/Makefile-Base,v 1.8 2005/09/12 13:50:03 ph10 Exp $ # This file is the basis of the main makefile for Exim and friends. The # makefile at the top level arranges to build the main makefile by calling @@ -655,7 +655,7 @@ $(MONBIN): $(HDRS) buildpcre: @(cd pcre; $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" \ FE="$(FE)" CFLAGS="$(CFLAGS) $(PCRE_CFLAGS)" \ - RANLIB="$(RANLIB)" HDRS="$(PHDRS)" \ + RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \ INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)") @if $(SHELL) $(SCRIPTS)/newer pcre/libpcre.a exim; then \ rm -f exim eximon.bin; fi @@ -665,7 +665,7 @@ buildpcre: buildlookups: @cd lookups; $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \ - FE="$(FE)" RANLIB="$(RANLIB)" HDRS="$(PHDRS)" \ + FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \ INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE) $(LOOKUP_INCLUDE)"; \ echo " " @@ -673,7 +673,7 @@ buildlookups: buildrouters: @cd routers; $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \ - FE="$(FE)" RANLIB="$(RANLIB)" HDRS="$(PHDRS)" \ + FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \ INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)"; \ echo " " @@ -681,7 +681,7 @@ buildrouters: buildtransports: @cd transports; $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \ - FE="$(FE)" RANLIB="$(RANLIB)" HDRS="$(PHDRS)" \ + FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \ INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)"; \ echo " " @@ -689,7 +689,7 @@ buildtransports: buildauths: @cd auths; $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \ - FE="$(FE)" RANLIB="$(RANLIB)" HDRS="$(PHDRS)" \ + FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \ INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)"; \ echo " " diff --git a/src/src/auths/Makefile b/src/src/auths/Makefile index f4a05648b..0d40d4527 100644 --- a/src/src/auths/Makefile +++ b/src/src/auths/Makefile @@ -1,4 +1,4 @@ -# $Cambridge: exim/src/src/auths/Makefile,v 1.2 2005/05/17 09:53:34 ph10 Exp $ +# $Cambridge: exim/src/src/auths/Makefile,v 1.3 2005/09/12 13:50:03 ph10 Exp $ # Make file for building a library containing all the available authorization # methods, and calling it auths.a. In addition, there are functions that are @@ -12,11 +12,11 @@ OBJ = b64encode.o b64decode.o call_pam.o call_pwcheck.o call_radius.o \ cram_md5.o cyrus_sasl.o plaintext.o pwcheck.o sha1.o auth-spa.o spa.o auths.a: $(OBJ) - @/bin/rm -f auths.a + @$(RM_COMMAND) -f auths.a @echo "$(AR) auths.a" $(FE)$(AR) auths.a $(OBJ) $(RANLIB) $@ - @/bin/rm -rf ../drtables.o + @$(RM_COMMAND) -rf ../drtables.o .SUFFIXES: .o .c .c.o:; @echo "$(CC) $*.c" diff --git a/src/src/lookups/Makefile b/src/src/lookups/Makefile index 709ab143a..59237263c 100644 --- a/src/src/lookups/Makefile +++ b/src/src/lookups/Makefile @@ -1,4 +1,4 @@ -# $Cambridge: exim/src/src/lookups/Makefile,v 1.4 2005/08/01 13:20:28 ph10 Exp $ +# $Cambridge: exim/src/src/lookups/Makefile,v 1.5 2005/09/12 13:50:03 ph10 Exp $ # Make file for building a library containing all the available lookups and # calling it lookups.a. This is called from the main make file, after cd'ing @@ -10,11 +10,11 @@ OBJ = cdb.o dbmdb.o dnsdb.o dsearch.o ibase.o ldap.o lsearch.o mysql.o nis.o \ lf_check_file.o lf_quote.o lookups.a: $(OBJ) - @/bin/rm -f lookups.a + @$(RM_COMMAND) -f lookups.a @echo "$(AR) lookups.a" @$(AR) lookups.a $(OBJ) $(RANLIB) $@ - @/bin/rm -rf ../drtables.o + @$(RM_COMMAND) -rf ../drtables.o .SUFFIXES: .o .c .c.o:; @echo "$(CC) $*.c" diff --git a/src/src/routers/Makefile b/src/src/routers/Makefile index 4895344db..637122b1d 100644 --- a/src/src/routers/Makefile +++ b/src/src/routers/Makefile @@ -1,4 +1,4 @@ -# $Cambridge: exim/src/src/routers/Makefile,v 1.2 2005/05/17 09:53:35 ph10 Exp $ +# $Cambridge: exim/src/src/routers/Makefile,v 1.3 2005/09/12 13:50:03 ph10 Exp $ # Make file for building a library containing all the available routers and # calling it routers.a. This is called from the main make file, after cd'ing @@ -14,11 +14,11 @@ OBJ = accept.o dnslookup.o ipliteral.o iplookup.o manualroute.o \ rf_set_ugid.o routers.a: $(OBJ) - @/bin/rm -f routers.a + @$(RM_COMMAND) -f routers.a @echo "$(AR) routers.a" @$(AR) routers.a $(OBJ) $(RANLIB) $@ - @/bin/rm -rf ../drtables.o + @$(RM_COMMAND) -rf ../drtables.o .SUFFIXES: .o .c .c.o:; @echo "$(CC) $*.c" diff --git a/src/src/transports/Makefile b/src/src/transports/Makefile index fdbf3e844..2cbeb7c50 100644 --- a/src/src/transports/Makefile +++ b/src/src/transports/Makefile @@ -1,4 +1,4 @@ -# $Cambridge: exim/src/src/transports/Makefile,v 1.2 2005/05/17 09:53:35 ph10 Exp $ +# $Cambridge: exim/src/src/transports/Makefile,v 1.3 2005/09/12 13:50:04 ph10 Exp $ # Make file for building a library containing all the available transports and # calling it transports.a. This is called from the main make file, after cd'ing @@ -7,11 +7,11 @@ OBJ = appendfile.o autoreply.o lmtp.o pipe.o smtp.o tf_maildir.o transports.a: $(OBJ) - @/bin/rm -f transports.a + @$(RM_COMMAND) -f transports.a @echo "$(AR) transports.a" @$(AR) transports.a $(OBJ) $(RANLIB) $@ - @/bin/rm -rf ../drtables.o + @$(RM_COMMAND) -rf ../drtables.o .SUFFIXES: .o .c .c.o:; @echo "$(CC) $*.c" |