[project @ 2002-03-11 10:55:11 by simonmar]
authorsimonmar <unknown>
Mon, 11 Mar 2002 10:55:11 +0000 (10:55 +0000)
committersimonmar <unknown>
Mon, 11 Mar 2002 10:55:11 +0000 (10:55 +0000)
Re-instate ifeq "$(way)" "" around the rule for recursively descending
into SUBDIRS that I removed a while back.  This will fix a bug in
nofib whereby if NoFibWays is set to anything then we do O(n^2)
traversals of the tree, but it also means you can't sit at the top of
the tree and say 'make way=p' to just build profiling libraries (which
was the reason I made the change in the first place).  We'll have to
find another way to do this.

mk/target.mk

index 1e9a4d4..620b51a 100644 (file)
@@ -1100,6 +1100,7 @@ endif
 # the --no-print-directory flag which is passed to recursive
 # invocations of make.
 #
+ifeq "$(way)" ""
 ifneq "$(SUBDIRS)" ""
 
 # we override the 'boot', 'all' and 'install' targets in the top
@@ -1146,6 +1147,7 @@ $(ALL_TARGET) docs runtests $(BOOT_TARGET) TAGS clean distclean mostlyclean main
        @echo "------------------------------------------------------------------------"
 
 endif
+endif
 
 #
 # Selectively building subdirectories.