summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-09-23 20:09:41 +0000
committerRoland McGrath <roland@gnu.org>1994-09-23 20:09:41 +0000
commitdc9d84fff4feb1488cea1ed39d36dcf140b013e3 (patch)
tree1282b339dee8c9331e56669db9e0ee10a5914b4f
parent73ba4c1912f98431786b786a902b94f088d424ba (diff)
Formerly Makefile.~37~
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bef98ec6..2088e2ff 100644
--- a/Makefile
+++ b/Makefile
@@ -27,11 +27,14 @@ prog-subdirs = auth boot exec fstests init.trim mkbootfs \
other-subdirs = hurd doc init tmpfs dev ext2fs
subdirs = $(lib-subdirs) $(prog-subdirs) $(other-subdirs)
subdirs-nodist = ext2fs libnetserv
-
+working-prog-subdirs := $(filter-out \
+ $(patsubst %/,%,\
+ $(dir $(wildcard $(prog-subdirs:=/BROKEN)))),\
+ $(prog-subdirs))
DIST_FILES = COPYING Makeconf Maketools README NEWS missing \
gcc-specs tasks INSTALL
-all: $(addsuffix -all,$(prog-subdirs))
+all: $(addsuffix -all,$(working-prog-subdirs))
%-all:
$(MAKE) -C $* all
@@ -62,6 +65,6 @@ clean: $(addsuffix -clean,$(lib-subdirs)) $(addsuffix -clean,$(prog-subdirs))
relink: $(addsuffix -relink,$(prog-subdirs))
-install: $(addsuffix -install,$(prog-subdirs))
+install: $(addsuffix -install,$(working-prog-subdirs))
TAGS: $(addsuffix -TAGS,$(prog-subdirs) $(lib-subdirs))