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