32 lines
828 B
Makefile
32 lines
828 B
Makefile
# $NetBSD: Makefile,v 1.43 2015/06/06 13:48:37 joerg Exp $
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/12/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # setgid
|
|
|
|
RUMPPRG=netstat
|
|
SRCS= atalk.c bpf.c fast_ipsec.c if.c inet.c inet6.c \
|
|
main.c mbuf.c mroute.c mroute6.c pfkey.c pfsync.c route.c \
|
|
unix.c vtw.c rtutil.c
|
|
BINGRP= kmem
|
|
BINMODE=2555
|
|
LDADD= -lutil -lkvm
|
|
DPADD= ${LIBUTIL} ${LIBKVM}
|
|
CPPFLAGS+= -DIPSEC -I${.CURDIR}
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/pf
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/route
|
|
|
|
.PATH: ${.CURDIR}/../../lib/libc/gen
|
|
.PATH: ${.CURDIR}/../../lib/libc/net
|
|
.PATH: ${.CURDIR}/../../sbin/route
|
|
CPPFLAGS+= -DRUMP_ACTION
|
|
RUMPSRCS+= sysctlbyname.c sysctlgetmibinfo.c sysctlnametomib.c
|
|
RUMPSRCS+= if_indextoname.c getifaddrs.c getnameinfo.c
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|