Subject: AFLAGS not being used in bsd.dep.mk
To: None <tech-toolchain@netbsd.org>
From: Simon Burge <simonb@telstra.com.au>
List: tech-toolchain
Date: 02/24/1999 00:25:35
"make depend" on the pmax is bombing out because <sys/cdefs.h>
ends up getting included in a .S file.  <sys/cdefs.h> is getting
included because the depend target isn't using AFLAGS, which
contains -D_LOCORE.  So a compile still works, but a "make depend"
doesn't.

What's the right way to fix this?  The depend target uses CFLAGS,
CPPFLAGS and AINC - I'm guessing it should use AFLAGS instead of
CFLAGS...

Simon.