From fed3e4543f094cb5d9b6b1bde413fc222b96ef8d Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Thu, 27 Jul 2006 12:05:05 +0000 Subject: [PATCH] Cook CFLAGS by the modern recipe: - use WARNS; - respect MK_INET6_SUPPORT. --- libexec/rlogind/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libexec/rlogind/Makefile b/libexec/rlogind/Makefile index f71ce1b570d..9807dc8e5ba 100644 --- a/libexec/rlogind/Makefile +++ b/libexec/rlogind/Makefile @@ -1,10 +1,16 @@ # @(#)Makefile 8.1 (Berkeley) 6/4/93 # $FreeBSD$ +.include + PROG= rlogind MAN= rlogind.8 DPADD= ${LIBUTIL} LDADD= -lutil -CFLAGS+= -Wall -DINET6 +WARNS?= 2 + +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+= -DINET6 +.endif .include