diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1995-09-15 18:19:36 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1995-09-15 18:19:36 +0000 |
| commit | 93ecce1be0f50592ae4f2c3dc798a862c4fae52c (patch) | |
| tree | bc543570abca2881f1243b81cefe064e2b92b600 /secure/libexec/telnetd/Makefile | |
| parent | 8517bf983f7da51ea824df7b60085794d4546609 (diff) | |
Merge with HEAD. Brings in new secure telnet suite + eBones fixes.
Notes
svn path=/stable/2.1/; revision=10801
Diffstat (limited to 'secure/libexec/telnetd/Makefile')
| -rw-r--r-- | secure/libexec/telnetd/Makefile | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/secure/libexec/telnetd/Makefile b/secure/libexec/telnetd/Makefile index 0bfa3c3f5109..977271d6ec2f 100644 --- a/secure/libexec/telnetd/Makefile +++ b/secure/libexec/telnetd/Makefile @@ -1,16 +1,38 @@ # @(#)Makefile 8.2 (Berkeley) 12/15/93 +# Do not define -DKLUDGELINEMODE, as it does not interact well with many +# telnet implementations. + PROG= telnetd -CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -CFLAGS+=-DOLD_ENVIRON -DENV_HACK -CFLAGS+=-I${.CURDIR}/../../lib -#CFLAGS+=-DAUTHENTICATION -DENCRYPTION +MAN8= telnetd.8 + SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \ termstat.c utility.c + DPADD= ${LIBUTIL} ${LIBTERMCAP} LDADD= -lutil -ltermcap -ltelnet -#LDADD+= -lkrb -ldes -MAN8= telnetd.8 + +CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK +CFLAGS+=-I${.CURDIR}/../../lib + +#ifdef ENCRYPTION + +CFLAGS+=-DAUTHENTICATION -DENCRYPTION + +.ifdef MAKE_EBONES +.if exists(/usr/lib/libkrb.a) +LDADD+= -ldes -lkrb +.endif +.endif + +.if exists(/usr/lib/libkrb5.a) +LDADD+= -ldes -lkrb5 +.endif + +# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active +#LDADD+= -ldescrypt + +#endif /* ENCRYPTION */ # These are the sources that have encryption stuff in them. CRYPT_SRC= authenc.c ext.h state.c telnetd.c termstat.c |
