1 # $FreeBSD: src/libexec/telnetd/Makefile,v 1.31 2006/07/31 19:15:09 yar Exp $
2 # $DragonFly: src/libexec/telnetd/Makefile,v 1.2 2003/06/17 04:27:08 dillon Exp $
4 # Do not define -DKLUDGELINEMODE, as it does not interact well with many
5 # telnet implementations.
10 SRCS
= global.c slc.c state.c sys_term.c telnetd.c \
16 CFLAGS
+= -DLINEMODE
-DUSE_TERMIO
-DDIAGNOSTICS
-DOLD_ENVIRON
-DENV_HACK \
17 -I
${.CURDIR
}/..
/..
/lib
19 .if
!defined
(NO_INET6
)
23 LIBTELNET
= ${.OBJDIR
}/..
/..
/lib
/libtelnet
/libtelnet.a
25 DPADD
= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
26 LDADD
= -lutil
-ltermcap
${LIBTELNET}
28 .if
!defined
(NO_OPENSSL
)
30 CFLAGS
+= -DAUTHENTICATION
-DENCRYPTION
31 DPADD
+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM}
32 LDADD
+= -lcrypto
-lcrypt
${MINUSLPAM}
35 .
include <bsd.prog.mk
>