summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtest/Makefile
diff options
context:
space:
mode:
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