tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: $(<) is used incorrectly in Makefile.kern.inc



On Mon, Aug 18, 2014 at 11:04:28PM +0300, Jarmo Jaakkola wrote:
 > The variable $(<) (.IMPSRC) is used in Makefile.kern.inc in
 > the NORMAL_C, NOPROF_C, and NORMAL_S macros.  These macros are then
 > used in _explicit_ rules instead of suffix transformation rules.
 > The variable is not supposed to be available, but as a side effect of
 > a bug (PR 49086, issue 8), it has been available.

That is not a bug. Extending $(.IMPSRC) to work for all rules, like
gmake has ~always done, was intentional a while back.

It may have been done wrong though.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index