Merge from vendor branch LIBSTDC++:
[dragonfly.git] / secure / libexec / telnetd / Makefile
1 # $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.19.2.4 2002/07/03 22:20:25 des Exp $
2 # $DragonFly: src/secure/libexec/telnetd/Makefile,v 1.2 2003/06/17 04:27:48 dillon Exp $
3
4 # Do not define -DKLUDGELINEMODE, as it does not interact well with many
5 # telnet implementations.
6
7 PROG=           telnetd
8 MAN=            telnetd.8
9
10 SRCS=           global.c slc.c state.c sys_term.c telnetd.c \
11                 termstat.c utility.c authenc.c
12
13 CFLAGS+=        -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
14                 -DENV_HACK -DAUTHENTICATION -DENCRYPTION \
15                 -I${TELNETDIR} -DINET6
16
17 WARNS?=         2
18 WFORMAT?=       0
19
20 DPADD=          ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
21                 ${LIBCRYPT} ${LIBPAM}
22 LDADD=          -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
23                 -lcrypt ${MINUSLPAM}
24
25 .include <bsd.prog.mk>
26
27 .PATH:  ${TELNETDIR}/telnetd