svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

Ian Lepore ian at FreeBSD.org
Thu Apr 24 18:24:50 UTC 2014


On Thu, 2014-04-24 at 20:19 +0200, Jilles Tjoelker wrote:
> On Thu, Apr 24, 2014 at 12:14:06PM -0600, Ian Lepore wrote:
> > On Thu, 2014-04-24 at 11:17 -0600, Justin T. Gibbs wrote:
> > > Why wouldn’t we fix these with explicit subdir dependencies (e.g:
> > > subdira: subdirb)?  I’m pretty sure I had this working with a hacked
> > > up bsd.subdir.mk at a previous job, but my memory is hazy.
> 
> > I couldn't think of a way to do that, because the directory itself isn't
> > the dependency.  That is, whether one directory has a newer/older
> > timestamp than the other isn't a function of the build process.  The
> > fact that someone else mentioned inserting .WAIT into the list is
> > something I took as a confirmation that the regular dependency mechanism
> > wouldn't work (so maybe I didn't think about it hard enough).
> 
> You can add dependencies between the targets generated by bsd.subdir.mk:
> ${target}_subdir_${subdir}. This will probably be more verbose in the
> individual Makefiles than .WAIT, though.
> 

What I was hoping is that we would eventually sprinkle 3 or 4 or 5
strategic .WAITs throughout the source tree and it would all be good.
Maybe that's too optimistic.

-- Ian




More information about the svn-src-head mailing list