1 # $FreeBSD: src/libexec/telnetd/Makefile,v 1.13.2.2 2002/04/13 11:03:30 markm 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 \
13 CFLAGS
+= -DLINEMODE
-DUSE_TERMIO
-DDIAGNOSTICS
-DOLD_ENVIRON \
15 -I
${.CURDIR
}/..
/..
/lib
-DINET6
20 .if exists
(${.OBJDIR
}/..
/..
/lib
/libtelnet
)
21 LIBTELNET
= ${.OBJDIR
}/..
/..
/lib
/libtelnet
/libtelnet.a
23 LIBTELNET
= ${.CURDIR
}/..
/..
/lib
/libtelnet
/libtelnet.a
26 DPADD
= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
27 LDADD
= -lutil
-ltermcap
${LIBTELNET}
31 ( for i in
*.
[ch
] ; do \
32 unifdef
-UAUTHENTICATION
-UENCRYPTION \
33 ${.CURDIR
}/..
/..
/crypto
/telnet
/telnetd
/$$i \
38 .
include <bsd.prog.mk
>