aboutsummaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet/Makefile
blob: 4eafca588985c4ea061ed4b9d31fc7947fc71742 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

#	@(#)Makefile	5.6 (Berkeley) 3/5/91
#

PROG=	telnet

CFLAGS+=-DTERMCAP -DUSE_TERMIO
.ifdef KLUDGE
.undef KLUDGE
PROG=	otelnet
NOMAN=
CFLAGS+=-DKLUDGELINEMODE
.endif
CFLAGS+=-I${.CURDIR}/../../lib

.if exists(/usr/lib/libcrypt.a)
#CFLAGS+= -DENCRYPT
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
.endif

LDADD+=	-ltermcap -ltelnet
DPADD+=	${LIBTERMCAP} ${LIBTELNET}


SRCS=	authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
	terminal.c tn3270.c utilities.c

.include <bsd.prog.mk>