summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/Makefile
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-06-13 22:27:07 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-06-13 22:27:07 +0000
commit20db6967e57058966a4043edf4ea9ff8246f9117 (patch)
tree8f6a1d012f220a1298c82cf07a1928d556d890fb /usr.bin/netstat/Makefile
parentf84737984a98eb23286c85d77142082c7418b236 (diff)
Conditional INET6 inclusion (for crunchgen uses) -- default yes.
Diffstat (limited to 'usr.bin/netstat/Makefile')
-rw-r--r--usr.bin/netstat/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile
index 056b388ea96..d1ea8e9f738 100644
--- a/usr.bin/netstat/Makefile
+++ b/usr.bin/netstat/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 1999/12/30 16:19:32 itojun Exp $
+# $OpenBSD: Makefile,v 1.8 2000/06/13 22:27:06 angelos Exp $
PROG= netstat
SRCS= if.c inet.c ipx.c iso.c main.c mbuf.c mroute.c ns.c route.c \
@@ -8,8 +8,12 @@ BINGRP= kmem
BINMODE=2555
LDADD= -lkvm
DPADD= ${LIBKVM}
+INET6?= yes
+.if (${INET6} != "no")
CPPFLAGS+= -DINET6
-CPPFLAGS+= -DKAME_SCOPEID
+.endif
+
+#CPPFLAGS+= -DKAME_SCOPEID
.include <bsd.prog.mk>