aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2006-07-28 11:09:21 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2006-07-28 11:09:21 +0000
commitb7dd94d5e67502107c90bba8def03d7ca8fc0b65 (patch)
tree4ab5fd50a0de2fa102d1bdac41823ed21935ef43
parentcd5297916c56394bb5e139d89192773e284d8624 (diff)
Notes
-rw-r--r--usr.bin/netstat/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile
index 5bafeea30754..913acfa0364d 100644
--- a/usr.bin/netstat/Makefile
+++ b/usr.bin/netstat/Makefile
@@ -4,7 +4,7 @@
.include <bsd.own.mk>
PROG= netstat
-SRCS= if.c inet.c inet6.c main.c mbuf.c mcast.c mroute.c route.c \
+SRCS= if.c inet.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
@@ -12,7 +12,9 @@ NO_WERROR=
CFLAGS+=-DIPSEC
CFLAGS+=-DFAST_IPSEC
+
.if ${MK_INET6_SUPPORT} != "no"
+SRCS+= inet6.c
CFLAGS+=-DINET6
.endif