235d292b653cfe2dcd05d07e5f0d51df35ffb0d9
[dragonfly.git] / kerberos5 / libexec / telnetd / Makefile
1 # $FreeBSD: src/kerberos5/libexec/telnetd/Makefile,v 1.15.2.2 2003/04/24 19:14:00 nectar Exp $
2 # $DragonFly: src/kerberos5/libexec/telnetd/Attic/Makefile,v 1.4 2005/01/11 13:22:41 joerg 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 CFLAGS+=        -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
17
18 WARNS?=         2
19
20 DPADD=          ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} \
21                 ${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} \
22                 ${LIBCRYPT} ${LIBPAM}
23 LDADD=          -lutil -ltermcap ${LIBTELNET} -lcrypto \
24                 -L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 \
25                 -L${ROKENOBJDIR} -lroken -lcom_err \
26                 -lcrypt ${MINUSLPAM}
27
28 .include <bsd.prog.mk>
29
30 .PATH:  ${TELNETDIR}/telnetd