Date: Wed, 7 Oct 2015 00:32:34 +0000 (UTC) From: "Simon J. Gerraty" <sjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288966 - head/share/mk Message-ID: <201510070032.t970WYvU099368@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sjg Date: Wed Oct 7 00:32:33 2015 New Revision: 288966 URL: https://svnweb.freebsd.org/changeset/base/288966 Log: To help bootstrap new local depends, if SRCS contains *.h for which there are targets, make buildfiles depend on them - so they get generated early. Modified: head/share/mk/local.autodep.mk Modified: head/share/mk/local.autodep.mk ============================================================================== --- head/share/mk/local.autodep.mk Wed Oct 7 00:28:24 2015 (r288965) +++ head/share/mk/local.autodep.mk Wed Oct 7 00:32:33 2015 (r288966) @@ -14,6 +14,12 @@ LDFLAGS+= ${LDFLAGS_LAST} CLEANFILES+= .depend +.for h in ${SRCS:M*.h} +.if target($h) +buildfiles: $h +.endif +.endfor + # handy for debugging .SUFFIXES: .S .c .cc .cpp .cpp-out
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510070032.t970WYvU099368>