Subject: Re: CVS commit: src/share/mk
To: David Laight <firstname.lastname@example.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
Date: 11/26/2006 14:48:26
> I can't see any assignments to .OBJDIR (which might have the effect of
> changing the current directory as well as setting the variable) in any
> of the bsd.xxx.mk files.
The rules in question are in bsd.obj.mk. Everything assigning
to __objdir. (I'm using the BUILDID feature.)
> .OBJDIR is usually set by make based on env vars before any makefiles are read.
Life would be easier if that was the case, but this has been in
the tree ~forever.
> In fact nothing in the tree matches '\.OBJDIR\>.*='
It is a target rule. Probably a documentation bug in make(1).