summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-11-04 00:08:59 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-11-04 08:20:38 +0100
commitfefe59d9280bc0b33fb9e1e89d0d664db8078542 (patch)
treef4ac4d7a9636875144028c9bc0b5a8117a4aa8ed /src
parent87e93574a5da99b5f36751a4219caacc4e81ea3c (diff)
Introduce EXIM_BUILD_SUFFIX for src/Makefile and testsuite
This enables parallel builds in a shared directory, if they have the same os-type and arch-type. Think about EXIM_BUILD_SUFFIX as 'name of your linux distro'
Diffstat (limited to 'src')
-rw-r--r--src/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index adda7ceb3..ccaca1c13 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -19,8 +19,14 @@ RM_COMMAND=/bin/rm
# provide an override for the OS type and architecture type; they still have
# to be used for the OS-specific files. To override them, you can set the
# shell variables OSTYPE and ARCHTYPE when running make.
-
-buildname=$${build:-`$(SHELL) scripts/os-type`-`$(SHELL) scripts/arch-type`}
+#
+# EXIM_BUILD_SUFFIX should be used to enable parallel builds on a file
+# system shared among different Linux distros (same os-type, same
+# arch-type). The ../test/runtest script is expected to honour the
+# EXIM_BUILD_SUFFIX when searching the Exim binary.
+# NOTE: EXIM_BUILD_SUFFIX is considered *experimental*.
+
+buildname=$${build:-`$(SHELL) scripts/os-type`-`$(SHELL) scripts/arch-type`}$${EXIM_BUILD_SUFFIX:+.$$EXIM_BUILD_SUFFIX}
# The default target checks for the existence of Local/Makefile, that the main
# makefile is built and up-to-date, and then it runs it.