svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin
Jilles Tjoelker
jilles at stack.nl
Thu Apr 24 18:19:14 UTC 2014
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.
--
Jilles Tjoelker
More information about the svn-src-all
mailing list