summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
commite1fe3dba5ce2826061f6489765be9b4a341736a9 (patch)
tree801e953598fc63a37f62cf997017301675552fe9 /usr.bin/netstat
parent23801379f0e7cdddcb057ea05fe79b340a01dbf5 (diff)
Notes
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile
index b2c32dc90d5b..5bafeea30754 100644
--- a/usr.bin/netstat/Makefile
+++ b/usr.bin/netstat/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/12/93
# $FreeBSD$
+.include <bsd.own.mk>
+
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
@@ -10,7 +12,7 @@ NO_WERROR=
CFLAGS+=-DIPSEC
CFLAGS+=-DFAST_IPSEC
-.if !defined(NO_INET6)
+.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
@@ -19,7 +21,7 @@ BINMODE=2555
DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBNETGRAPH} ${LIBUTIL}
LDADD= -lkvm -lmemstat -lnetgraph -lutil
-.if !defined(NO_IPX)
+.if ${MK_IPX_SUPPORT} != "no"
SRCS+= ipx.c
DPADD+= ${LIBIPX}
LDADD+= -lipx