04501c30e7b0dd88766debd34d266066dcab4a18
[dragonfly.git] / kerberos5 / usr.bin / telnet / Makefile
1 # $FreeBSD: src/kerberos5/usr.bin/telnet/Makefile,v 1.16.2.2 2003/04/24 19:14:00 nectar Exp $
2 # $DragonFly: src/kerberos5/usr.bin/telnet/Attic/Makefile,v 1.3 2003/08/05 07:45:41 asmodai Exp $
3
4 PROG=           telnet
5
6 SRCS=           authenc.c commands.c main.c network.c ring.c sys_bsd.c \
7                 telnet.c terminal.c utilities.c
8
9 CFLAGS+=        -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE \
10                 -DENCRYPTION -DAUTHENTICATION -DIPSEC -DINET6 \
11                 -I${TELNETDIR} -I${TELNETDIR}/libtelnet/
12
13 CFLAGS+=        -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
14
15 WARNS?=         2
16
17 DPADD=          ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \
18                 ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} \
19                 ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}
20 LDADD=          -ltermcap ${LIBTELNET} -lmp \
21                 -L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 -lcom_err \
22                 -L${ROKENOBJDIR} -lroken \
23                 -lcrypto -lcrypt -lipsec ${MINUSLPAM}
24
25 .include <bsd.prog.mk>
26
27 .PATH:  ${TELNETDIR}/telnet