xref: /original-bsd/usr.bin/telnet/Makefile (revision 7ccea779)
1#	@(#)Makefile	5.3 (Berkeley) 06/28/90
2#
3# TERMCAP	Define this if your system is termcap based,
4#		otherwise a terminfo based system is assumed.
5#
6# SRCRT		Includes code to allow you to specify source routes.
7#		Format is:
8#			[!]@hop1@hop2...[@|:]dst
9#		Leading ! means strict source route.
10#
11# USE_TERMIO	Define this if you have System V termio structures.
12#		What is here is how things are on Cray computers.
13#
14# KLUDGELINEMODE Define this to get the kludged up version of linemode
15#		that was in 4.3BSD.  This is a good thing to have
16#		around for talking to older systems.
17#
18# NOSTRNCASECMP	Define this if you do not have strncasecmp() in
19#		your C libarary.
20#
21# strrchr=rindex Define this if you do not have strrchr() in your
22#		C libaray (but you do have rindex...)
23#
24PROG=	telnet
25CFLAGS+=-DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DNEED_GETTOS
26#CFLAGS+=-DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DNEED_GETTOS -DKERBEROS
27LDADD=	-ltermcap
28#LDADD=	-ltermcap -ldes -lkrb
29DPADD=	${LIBTERMCAP}
30
31SRCS=	commands.c main.c network.c ring.c sys_bsd.c telnet.c terminal.c \
32	tn3270.c utilities.c
33
34.include <bsd.prog.mk>
35