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.
9 SRCS
= global.c slc.c state.c sys_term.c telnetd.c \
14 CFLAGS
+= -DLINEMODE
-DUSE_TERMIO
-DDIAGNOSTICS
-DOLD_ENVIRON
-DENV_HACK \
15 -I
${.CURDIR
}/..
/..
/lib
17 .if
!defined
(NO_INET6
)
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
)
30 CFLAGS
+= -DAUTHENTICATION
-DENCRYPTION
31 CFLAGS
+= -I
${.CURDIR
}/..
/..
/crypto
/libressl
/include
32 DPADD
+= ${LIBRECRYPTO} ${LIBCRYPT} ${LIBPAM}
33 LDADD
+= -lprivate_crypto
-lcrypt
${MINUSLPAM}
36 .
include <bsd.prog.mk
>