1994-08-12 22:53:46 +00:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 12/15/93
|
1996-03-11 16:17:58 +00:00
|
|
|
# $Id$
|
1994-08-12 22:53:46 +00:00
|
|
|
|
1995-08-28 17:55:08 +00:00
|
|
|
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
|
|
|
|
# telnet implementations.
|
|
|
|
|
1994-08-12 22:53:46 +00:00
|
|
|
PROG= telnetd
|
1995-08-28 17:55:08 +00:00
|
|
|
MAN8= telnetd.8
|
|
|
|
|
1994-08-12 22:53:46 +00:00
|
|
|
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
|
|
|
|
termstat.c utility.c
|
1995-08-28 17:55:08 +00:00
|
|
|
|
1995-09-16 03:04:10 +00:00
|
|
|
DPADD= ${TELNETOBJDIR}/libtelnet.a ${LIBUTIL} ${LIBTERMCAP}
|
|
|
|
LDADD= -L${TELNETOBJDIR} -lutil -ltermcap -ltelnet
|
1995-07-20 11:40:06 +00:00
|
|
|
|
1996-03-11 16:17:58 +00:00
|
|
|
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
|
|
|
|
CFLAGS+= -DENCRYPTION -I${.CURDIR}/../../lib
|
1994-08-12 22:53:46 +00:00
|
|
|
|
1996-03-11 16:17:58 +00:00
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES))
|
1996-03-09 13:39:00 +00:00
|
|
|
CFLAGS+=-DAUTHENTICATION
|
1995-07-24 22:55:59 +00:00
|
|
|
LDADD+= -ldes -lkrb
|
1996-03-09 13:39:00 +00:00
|
|
|
DPADD+= ${LIBDES} ${LIBKRB}
|
1995-07-24 22:55:59 +00:00
|
|
|
.endif
|
|
|
|
|
1995-08-05 19:10:25 +00:00
|
|
|
# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
|
|
|
|
#LDADD+= -ldescrypt
|
1995-07-24 22:55:59 +00:00
|
|
|
|
1994-08-12 22:53:46 +00:00
|
|
|
.include <bsd.prog.mk>
|