980b33f224
with FAST_IPSEC rather than the KAME IPSEC stack. Note that the output of "netstat -s -p ipsec" differs depending on which stack is compiled into the kernel since they each keep different stats. This delta also adds the "esp", "ah", and "ipcomp" protocol stats, which are also available when the kernel is compiled with the FAST_IPSEC stack (e.g. "netstat -s -p esp"). Submitted by: Matt Titus <titus at nttmcl dot com> MFC after: 3 days
30 lines
534 B
Makefile
30 lines
534 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/12/93
|
|
# $FreeBSD$
|
|
|
|
PROG= netstat
|
|
SRCS= if.c inet.c inet6.c main.c mbuf.c mcast.c mroute.c route.c \
|
|
unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c
|
|
|
|
WARNS?= 2
|
|
NO_WERROR=
|
|
|
|
CFLAGS+=-DIPSEC
|
|
CFLAGS+=-DFAST_IPSEC
|
|
.if !defined(NO_INET6)
|
|
CFLAGS+=-DINET6
|
|
.endif
|
|
|
|
BINGRP= kmem
|
|
BINMODE=2555
|
|
DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBNETGRAPH} ${LIBUTIL}
|
|
LDADD= -lkvm -lmemstat -lnetgraph -lutil
|
|
|
|
.if !defined(NO_IPX)
|
|
SRCS+= ipx.c
|
|
DPADD+= ${LIBIPX}
|
|
LDADD+= -lipx
|
|
CFLAGS+=-DIPX
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|