summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-27 12:05:05 +0000
committeryar <yar@FreeBSD.org>2006-07-27 12:05:05 +0000
commit423dee4361585c2fdf74171b53ab41936a05e20b (patch)
tree2ea5c960d739bca4cb16b5d6f902a1e89d781de4 /libexec
parent99e7c62f6f78f03b46a962fecad1eee0f82e3b0b (diff)
downloadFreeBSD-src-423dee4361585c2fdf74171b53ab41936a05e20b.zip
FreeBSD-src-423dee4361585c2fdf74171b53ab41936a05e20b.tar.gz
Cook CFLAGS by the modern recipe:
- use WARNS; - respect MK_INET6_SUPPORT.
Diffstat (limited to 'libexec')
-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