summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtest/Makefile
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2009-04-29 09:50:04 +0000
committerbms <bms@FreeBSD.org>2009-04-29 09:50:04 +0000
commit21052b5476bf78d11f505d847ec6f22240166fcb (patch)
tree9279824a21bdaa1a3da68a883a8ec3bfef4fcc62 /usr.sbin/mtest/Makefile
parent9339d50dc35bdb129d86128c4da58bb4b58959fb (diff)
downloadFreeBSD-src-21052b5476bf78d11f505d847ec6f22240166fcb.zip
FreeBSD-src-21052b5476bf78d11f505d847ec6f22240166fcb.tar.gz
Merge IPv6-capable mtest(8) from MLDv2 branch.
Diffstat (limited to 'usr.sbin/mtest/Makefile')
-rw-r--r--usr.sbin/mtest/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.sbin/mtest/Makefile b/usr.sbin/mtest/Makefile
index 95bbe12..9104c68 100644
--- a/usr.sbin/mtest/Makefile
+++ b/usr.sbin/mtest/Makefile
@@ -1,6 +1,18 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= mtest
MAN= mtest.8
+BINMODE= 555
+WARNS?= 2
+
+# XXX This assumes INET support in the base system.
+CFLAGS+=-DINET
+
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+=-DINET6
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud