freebsd-dev/usr.bin/netstat/Makefile

47 lines
682 B
Makefile
Raw Normal View History

1994-05-27 12:33:43 +00:00
# @(#)Makefile 8.1 (Berkeley) 6/12/93
# $FreeBSD$
1994-05-27 12:33:43 +00:00
.include <src.opts.mk>
1994-05-27 12:33:43 +00:00
PROG= netstat
SRCS= if.c inet.c main.c mbuf.c mroute.c netisr.c route.c \
unix.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c \
flowtable.c
WARNS?= 3
CFLAGS+=-fno-strict-aliasing
CFLAGS+=-DIPSEC
2007-06-09 13:44:09 +00:00
CFLAGS+=-DSCTP
.if ${MK_INET_SUPPORT} != "no"
CFLAGS+=-DINET
.endif
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= inet6.c
CFLAGS+=-DINET6
.endif
.if ${MK_OFED} != "no"
CFLAGS+=-DSDP
.endif
.if ${MK_PF} != "no"
CFLAGS+=-DPF
.endif
1994-05-27 12:33:43 +00:00
BINGRP= kmem
BINMODE=2555
LIBADD= kvm memstat util
.if ${MK_NETGRAPH_SUPPORT} != "no"
SRCS+= netgraph.c
LIBADD+= netgraph
CFLAGS+=-DNETGRAPH
.endif
1994-05-27 12:33:43 +00:00
LIBADD+= xo
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>