Subject: Re: CVS commit: src
To: Hubert Feyrer <hubert@feyrer.de>
From: Alan Ritter <ritter.alan@gmail.com>
List: source-changes
Date: 04/18/2006 12:57:52
On 4/18/06, Hubert Feyrer <hubert@feyrer.de> wrote:
> On Tue, 18 Apr 2006, Alan Ritter wrote:
> > I think so, in usr.sbin/ndiscvt/Makefile I do this:
> >
> > .if ${MACHINE}  =3D=3D "i386"
> > PROG=3D ndiscvt
> > .endif
> >
> > This looked like how it was done in the other Makefiles; hopefully
> > this is correct.
>
> I'd expect not to step into src/usr.sbin/ndiscvt at all (why bother?),
> but I won't claim to be an expert in that area.

Yes, it looks like there is some stuff that is left out this way, for
instance from usr.sbin/Makefile:

# IP Filter
.if (${MKIPFILTER} !=3D "no")
SUBDIR+=3Dipf
.endif

But it appears that all the machine-dependant stuff is done inside the
directory, for example usr.sbin/ipwctl contains:

.if ${MACHINE} =3D=3D "i386"
PROG=3D   ipwctl
.endif

Anyway, I was just trying to follow what everything else looked like.