Respect MK_INET6_SUPPORT.

Apply style.Makefile(5).
This commit is contained in:
Yaroslav Tykhiy 2006-07-27 12:15:37 +00:00
parent fed3e4543f
commit 02e182f681
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160743

View File

@ -14,13 +14,17 @@ MAN= telnetd.8
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
-DENV_HACK \
-I${TELNETDIR} -DINET6
WARNS?= 2
WFORMAT?= 0
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif
CFLAGS+= -I${TELNETDIR}
LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}