5d7aa1a613
Heavily based on similar code from Claudio Jeker (at OpenBSD). While here, fix inet/inet6 sysctl stuff commited previously to actually work, and some other nits to make netstat more sysctl friendly. One step closer to losing setgid kmem on this one...
22 lines
473 B
Makefile
22 lines
473 B
Makefile
# $NetBSD: Makefile,v 1.26 2006/05/28 16:51:40 elad Exp $
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/12/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= netstat
|
|
SRCS= atalk.c bpf.c fast_ipsec.c if.c inet.c inet6.c ipsec.c iso.c \
|
|
main.c mbuf.c mroute.c mroute6.c ns.c show.c route.c tp_astring.c \
|
|
unix.c
|
|
.PATH: ${NETBSDSRCDIR}/sys/netiso
|
|
BINGRP= kmem
|
|
BINMODE=2555
|
|
LDADD= -lkvm
|
|
DPADD= ${LIBKVM}
|
|
CPPFLAGS+= -DIPSEC
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|