NetBSD/distrib/utils/x_netstat/Makefile
cgd 40587021a6 dependencies on BSDSRCDIR should be _removed_, not introduced. Use
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.
1999-06-21 01:19:36 +00:00

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}