Subject: Re: CVS commit: src/share/mk
To: David Laight <david@l8s.co.uk>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: source-changes
Date: 11/26/2006 14:48:26
david@l8s.co.uk said:
> 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).
best regards
Matthias