diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-27 12:05:05 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-27 12:05:05 +0000 |
commit | fed3e4543f094cb5d9b6b1bde413fc222b96ef8d (patch) | |
tree | 2ea5c960d739bca4cb16b5d6f902a1e89d781de4 /libexec/rlogind | |
parent | f6829a059fdadf9c9e2d138fa7472c9510c7d8dd (diff) | |
download | src-fed3e4543f094cb5d9b6b1bde413fc222b96ef8d.tar.gz src-fed3e4543f094cb5d9b6b1bde413fc222b96ef8d.zip |
Cook CFLAGS by the modern recipe:
- use WARNS;
- respect MK_INET6_SUPPORT.
Notes
Notes:
svn path=/head/; revision=160742
Diffstat (limited to 'libexec/rlogind')
-rw-r--r-- | libexec/rlogind/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libexec/rlogind/Makefile b/libexec/rlogind/Makefile index f71ce1b570db..9807dc8e5ba3 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> |