Subject: Re: make: Dir_FindFile still broken
To: Christos Zoulas <christos@zoulas.com>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 11/13/2002 23:29:39
On Wed, 13 Nov 2002, Christos Zoulas wrote:

: The .ASIS is too much magic. I think we need to rethink and simplify the
: logic instead of making it more complicated.

Yes.  In fact, I'm wondering why we provide .DOTLAST logic *at all* (if it's
not the default).  There's way too many special cases out there.  However:

sjg:  Do note that NetBSD's own mkdep process removes leading paths to ".c"
files, specifically because we want .depend to contain filenames *before*
.PATH-transformation.  Perhaps your -MD-based .depend setup should mimic
this behavior so that it produces .depend entries in the format bsd.*.mk
expects, rather than however (gmake?) expects from gcc?  Or, on the other
hand, is there a reason you absolutely need .DOTLAST?

-- 
-- Todd Vierling <tv@pobox.com>