35 lines
871 B
Makefile
35 lines
871 B
Makefile
# $NetBSD: Makefile,v 1.38 2012/03/22 20:34:43 drochner 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 iso.c \
|
|
main.c mbuf.c mroute.c mroute6.c pfkey.c pfsync.c show.c route.c \
|
|
tp_astring.c unix.c vtw.c
|
|
.PATH: ${NETBSDSRCDIR}/sys/netiso
|
|
BINGRP= kmem
|
|
BINMODE=2555
|
|
LDADD= -lkvm
|
|
DPADD= ${LIBKVM}
|
|
CPPFLAGS+= -DIPSEC
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/pf
|
|
|
|
CWARNFLAGS.clang+= -Wno-format
|
|
COPTS.iso.c += -Wno-format-nonliteral
|
|
COPTS.show.c += -Wno-format-nonliteral
|
|
|
|
.PATH: ${.CURDIR}/../../lib/libc/gen
|
|
.PATH: ${.CURDIR}/../../lib/libc/net
|
|
CPPFLAGS+= -DRUMP_ACTION
|
|
RUMPSRCS+= sysctlbyname.c sysctlgetmibinfo.c sysctlnametomib.c
|
|
RUMPSRCS+= if_indextoname.c getifaddrs.c
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|