summaryrefslogtreecommitdiffstats
path: root/usr.sbin/flowctl/Makefile
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2011-07-05 14:50:06 +0000
committerglebius <glebius@FreeBSD.org>2011-07-05 14:50:06 +0000
commita42c41d9e422355c44254c5cba94fdb5df66d3e6 (patch)
treedd6a948542a35c84f3d70b61ade6e1406b3e9c24 /usr.sbin/flowctl/Makefile
parent35e375273c4d350f9050b25880c156f47f57314a (diff)
downloadFreeBSD-src-a42c41d9e422355c44254c5cba94fdb5df66d3e6.zip
FreeBSD-src-a42c41d9e422355c44254c5cba94fdb5df66d3e6.tar.gz
Rewrite the flowctl utility to add it support for displaying
both IPv4 and IPv4 flows.
Diffstat (limited to 'usr.sbin/flowctl/Makefile')
-rw-r--r--usr.sbin/flowctl/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/flowctl/Makefile b/usr.sbin/flowctl/Makefile
index d47993b..60872e6 100644
--- a/usr.sbin/flowctl/Makefile
+++ b/usr.sbin/flowctl/Makefile
@@ -2,6 +2,8 @@
# $FreeBSD$
#
+.include <bsd.own.mk>
+
PROG= flowctl
MAN= flowctl.8
@@ -9,4 +11,10 @@ WARNS?= 2
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
+
+CFLAGS+= -I.
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud