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.
19 lines
310 B
Makefile
19 lines
310 B
Makefile
# $NetBSD: Makefile,v 1.5 1999/06/21 01:19:37 cgd Exp $
|
|
|
|
PROG= netstat
|
|
SRCS= if.c inet.c main.c mbuf.c route.c
|
|
|
|
SRCDIR= ${.CURDIR}/../../../usr.bin/netstat
|
|
CPPFLAGS+= -DSMALL -I${SRCDIR}
|
|
LDADD= -lkvm
|
|
DPADD= ${LIBKVM}
|
|
MKMAN= no
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
|
|
all: ${PROG}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SRCDIR}
|