summaryrefslogtreecommitdiffstats
path: root/libexec/rlogind
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rlogind')
-rw-r--r--libexec/rlogind/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/libexec/rlogind/Makefile b/libexec/rlogind/Makefile
index f71ce1b..9807dc8 100644
--- a/libexec/rlogind/Makefile
+++ b/libexec/rlogind/Makefile
@@ -1,10 +1,16 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= rlogind
MAN= rlogind.8
DPADD= ${LIBUTIL}
LDADD= -lutil
-CFLAGS+= -Wall -DINET6
+WARNS?= 2
+
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud