1994-05-27 12:33:43 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/12/93
|
2001-12-10 21:13:08 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
PROG= netstat
|
2006-07-28 11:09:21 +00:00
|
|
|
SRCS= if.c inet.c main.c mbuf.c mcast.c mroute.c route.c \
|
2007-06-09 13:44:09 +00:00
|
|
|
unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c
|
2005-01-23 12:29:46 +00:00
|
|
|
|
2006-07-28 16:16:40 +00:00
|
|
|
WARNS?= 3
|
2005-01-23 12:29:46 +00:00
|
|
|
|
2000-07-04 16:26:46 +00:00
|
|
|
CFLAGS+=-DIPSEC
|
2005-12-28 20:36:55 +00:00
|
|
|
CFLAGS+=-DFAST_IPSEC
|
2007-06-09 13:44:09 +00:00
|
|
|
CFLAGS+=-DSCTP
|
2006-07-28 11:09:21 +00:00
|
|
|
|
2007-06-10 06:18:04 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
|
|
SRCS+= inet6.c
|
|
|
|
CFLAGS+=-DINET6
|
|
|
|
.endif
|
1996-06-08 00:20:42 +00:00
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
BINGRP= kmem
|
|
|
|
BINMODE=2555
|
2005-08-05 20:13:09 +00:00
|
|
|
DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBNETGRAPH} ${LIBUTIL}
|
|
|
|
LDADD= -lkvm -lmemstat -lnetgraph -lutil
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2007-06-10 06:18:04 +00:00
|
|
|
.if ${MK_IPX_SUPPORT} != "no"
|
|
|
|
SRCS+= ipx.c
|
|
|
|
DPADD+= ${LIBIPX}
|
|
|
|
LDADD+= -lipx
|
|
|
|
CFLAGS+=-DIPX
|
|
|
|
.endif
|
2005-08-05 18:45:49 +00:00
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
.include <bsd.prog.mk>
|