summaryrefslogtreecommitdiff
path: root/usr.sbin/jls/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/jls/Makefile')
-rw-r--r--usr.sbin/jls/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.sbin/jls/Makefile b/usr.sbin/jls/Makefile
index e1157afbca14..b297cc46d653 100644
--- a/usr.sbin/jls/Makefile
+++ b/usr.sbin/jls/Makefile
@@ -1,8 +1,17 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= jls
MAN= jls.8
DPADD= ${LIBJAIL}
LDADD= -ljail
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
+.if ${MK_INET_SUPPORT} != "no"
+CFLAGS+= -DINET
+.endif
+
.include <bsd.prog.mk>