if_vtnet - Default to link up, when VIRTIO_NET_F_STATUS is not negotiated.
[dragonfly.git] / libexec / telnetd / Makefile
blobd1675af26413682ad80f716e5dede4085de3e811
1 # $FreeBSD: src/libexec/telnetd/Makefile,v 1.31 2006/07/31 19:15:09 yar Exp $
3 # Do not define -DKLUDGELINEMODE, as it does not interact well with many
4 # telnet implementations.
6 PROG= telnetd
7 MAN= telnetd.8
9 SRCS= global.c slc.c state.c sys_term.c telnetd.c \
10 termstat.c utility.c
12 WARNS?= 2
14 CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK \
15 -I${.CURDIR}/../../lib
17 .if !defined(NO_INET6)
18 CFLAGS+= -DINET6
19 .endif
21 LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
23 DPADD= ${LIBUTIL} ${LIBNCURSES} ${LIBTELNET}
24 LDADD= -lutil -lprivate_ncurses ${LIBTELNET}
25 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
26 CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses
28 .if !defined(NO_CRYPT)
29 SRCS+= authenc.c
30 CFLAGS+= -DAUTHENTICATION -DENCRYPTION
31 CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include
32 DPADD+= ${LIBRECRYPTO} ${LIBCRYPT} ${LIBPAM}
33 LDADD+= -lprivate_crypto -lcrypt ${MINUSLPAM}
34 .endif
36 .include <bsd.prog.mk>