Cook CFLAGS by the modern recipe:

- use WARNS;
- respect MK_INET6_SUPPORT.
This commit is contained in:
Yaroslav Tykhiy 2006-07-27 12:05:05 +00:00
parent f6829a059f
commit fed3e4543f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160742

View File

@ -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>