diff options
authorBryan Drewery <bdrewery@FreeBSD.org>2015-12-03 22:39:42 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-12-03 22:39:42 +0000
commitd6b837de97ba66b548050706f4e51fd5014e612d (patch)
parent52c98bc2fd4ba03e9f0e68ce8ab5c32f868d8387 (diff)
Revert r288966 as it is redundant and not right.
bsd.prog.mk and bsd.lib.mk already make OBJS depend on headers when there is not .OBJDIR/.depend file, which is still true for the initial meta mode builds. If there was something to benefit the meta mode build here then it should be extended to the non-meta mode build as well. Some of the problems here were just DPSRCS being hooked up wrongly, fixed in r291330. The logic itself is flawed as 'buildfiles' is in a different part of the dependency tree than the objects and headers are, so the objects will still be built independent from 'buildfiles'. 'buildfiles' is not ordered in the build before objects. Sponsored by: EMC / Isilon Storage Division
Notes: svn path=/head/; revision=291725
1 files changed, 0 insertions, 6 deletions
diff --git a/share/mk/local.autodep.mk b/share/mk/local.autodep.mk
index 8ea5ca63d319..8223fec14bc0 100644
--- a/share/mk/local.autodep.mk
+++ b/share/mk/local.autodep.mk
@@ -14,12 +14,6 @@ LDFLAGS+= ${LDFLAGS_LAST}
CLEANFILES+= .depend
-.for h in ${SRCS:M*.h}
-.if target($h)
-buildfiles: $h
# handy for debugging
.SUFFIXES: .S .c .cc .cpp .cpp-out