mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
Respect MK_INET6_SUPPORT.
Apply style.Makefile(5).
This commit is contained in:
parent
fed3e4543f
commit
02e182f681
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160743
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user