summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-13 01:19:29 +0000
committerRichard Henderson <rth@redhat.com>2002-03-13 01:19:29 +0000
commitb76b4258d307fe0097abf9505491c8602e566f78 (patch)
treecaa2f535fd59ef51537681f8acf3b6d225ef3480 /Makefile.in
parentfa44132788ebcfdb011a94403be108faea60f782 (diff)
downloadgdb-b76b4258d307fe0097abf9505491c8602e566f78.tar.gz
* Makefile.in (NOTPARALLEL): New. Use it instead of explicit
.NOTPARALLEL tag. (do-check): Rename from check. (check): Allow parallel check.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index a9e539c9da6..bdb1d48f7b4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,10 +18,11 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# Tell GNU make 2.79 not to run the top level in parallel. This
+# Tell GNU make 3.79 not to run the top level in parallel. This
# prevents contention for $builddir/$target/config.cache, as well
# as minimizing scatter in file system caches.
-.NOTPARALLEL:
+NOTPARALLEL = .NOTPARALLEL
+$(NOTPARALLEL):
srcdir = .
@@ -1123,8 +1124,11 @@ clean-target-libgcc:
# Check target.
-.PHONY: check
-check: $(CHECK_MODULES) \
+.PHONY: check do-check
+check:
+ $(MAKE) do-check NOTPARALLEL=parallel-ok
+
+do-check: $(CHECK_MODULES) \
$(CHECK_TARGET_MODULES) \
$(CHECK_X11_MODULES) \
check-gcc