40587021a6
paths relative to ${.CURDIR} instead. Using BSDSRCDIR here means that it's impossible to compile these programs out of the source tree they're a part of, unless that sort tree happens to be the one at BSDSRCDIR.
15 lines
266 B
Makefile
15 lines
266 B
Makefile
# $NetBSD: Makefile,v 1.8 1999/06/21 01:19:37 cgd Exp $
|
|
# Build a smaller ifconfig (i.e. for boot media)
|
|
|
|
PROG= ifconfig
|
|
MKMAN= no
|
|
|
|
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
|
|
CPPFLAGS+= -DINET_ONLY -I${SRCDIR}
|
|
|
|
all: ${PROG}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SRCDIR}
|