Date: Tue, 6 Oct 2015 17:46:06 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: "Simon J. Gerraty" <sjg@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r288966 - head/share/mk Message-ID: <56146B4E.5040401@FreeBSD.org> In-Reply-To: <201510070032.t970WYvU099368@repo.freebsd.org> References: <201510070032.t970WYvU099368@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0AQRMloXhuWgsaT2opsPpw5bdJLLqsmNo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/6/2015 5:32 PM, Simon J. Gerraty wrote: > Author: sjg > Date: Wed Oct 7 00:32:33 2015 > New Revision: 288966 > URL: https://svnweb.freebsd.org/changeset/base/288966 >=20 > 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. >=20 > Modified: > head/share/mk/local.autodep.mk >=20 > Modified: head/share/mk/local.autodep.mk > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- 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+=3D ${LDFLAGS_LAST} > =20 > CLEANFILES+=3D .depend > =20 > +.for h in ${SRCS:M*.h} I think we can use DPSRCS as well for this. > +.if target($h) > +buildfiles: $h > +.endif > +.endfor > + > # handy for debugging > .SUFFIXES: .S .c .cc .cpp .cpp-out > =20 >=20 --=20 Regards, Bryan Drewery --0AQRMloXhuWgsaT2opsPpw5bdJLLqsmNo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWFGtPAAoJEDXXcbtuRpfPHQQIALbw8Gv47P87/+2HOKk225Q4 ++QegGzHvA+G8QHJlsKjNgmv7Af+IUvWX/Yn2ak8h7/M0MJeGV5t9MbWflTP95p6 5n8g3n4LAi+A7E/Q+gEblfll2qcP2W37I/7JM5j5m6uqVyCnNHudPok3Mb6oUs4D 60JWhprYWQzWZUtav8CzqT9FXPYLrsyq+fI3HepgIT9qqFLRO3PEYKSH+sMpMTQE TJygC8FeQIiKtk0TraiEcmjrn3I1rUt7faK62JiiiQWCsxp/3ro7IoJz9Qhs/MxV IOY01kR+56jJF5uzBShwdYsdznEsK2XpFUYJOv/dHk7ak7FY298UESEtzG6KHPc= =RaIq -----END PGP SIGNATURE----- --0AQRMloXhuWgsaT2opsPpw5bdJLLqsmNo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56146B4E.5040401>