Subject: Re: CVS commit: basesrc
To: None <itojun@netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: source-changes
Date: 11/21/1999 11:59:33
   XXX
   if you do "make obj", you have to reference:
   	bind/named/obj/pathnames.h

This breaks if you set OBJMACHINE (which I do since I share a single
source tree across multiple architectures).  The way to do this is to
use a

	NAMEDOBJ != cd ${.CURDIR}/../named; make print-objdir

(!= assigns the output of a command to the variable.)  and then do a:

	CPPFLAGS += -I${NAMEDOBJ}

See my recent change to src/distrib/alpha/Makefile for another example
of this.

					- Bill