summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-12-18 17:30:53 +0000
committerru <ru@FreeBSD.org>2004-12-18 17:30:53 +0000
commitb0de3be535f1444640ce9fcba86a8d0c06dd606a (patch)
treedef152c15a2393c547ad544b57985d04cdd570be /rescue
parentb131545097530b43cb33aecffeb0f13149cbbb85 (diff)
downloadFreeBSD-src-b0de3be535f1444640ce9fcba86a8d0c06dd606a.zip
FreeBSD-src-b0de3be535f1444640ce9fcba86a8d0c06dd606a.tar.gz
Add missing dependencies of $(OUTPUTS) on source makefiles.
Caught by: make -DNOCLEAN buildworld
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index a75edc2..5a66295 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -220,6 +220,11 @@ CLEANFILES+= $(CONF) *.o *.lo *.c *.mk *.cache *.a *.h
# except for those that get suppressed.
.for D in $(CRUNCH_SRCDIRS)
.for P in $(CRUNCH_PROGS_$(D))
+.ifdef CRUNCH_SRCDIR_${P}
+$(OUTPUTS): $(CRUNCH_SRCDIR_${P})/Makefile
+.else
+$(OUTPUTS): $(.CURDIR)/../../$(D)/$(P)/Makefile
+.endif
.ifndef CRUNCH_SUPPRESS_LINK_${P}
LINKS+= $(BINDIR)/$(PROG) $(BINDIR)/$(P)
.endif
@@ -262,7 +267,7 @@ $(CONF): Makefile
.ORDER: $(OUTPUTS) objs
$(OUTPUTS): $(CONF)
- MAKEFLAGS= MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m $(OUTMK) \
+ MAKEFLAGS= MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -fq -m $(OUTMK) \
-c $(OUTC) $(CONF)
$(PROG): $(OUTPUTS) objs
OpenPOWER on IntegriCloud