diff options
author | Hans Insulander <hin@cvs.openbsd.org> | 2003-05-14 01:46:52 +0000 |
---|---|---|
committer | Hans Insulander <hin@cvs.openbsd.org> | 2003-05-14 01:46:52 +0000 |
commit | 741afc51eec5b3a91ba4ec075951602e79d51ae5 (patch) | |
tree | d1c51f57e69db58353edb9a4f68e5039f5b899e0 /libexec/telnetd/Makefile | |
parent | b0c8958fa6357ca1847ee139b4753c4ad3639999 (diff) |
Get rid of libtelnet, it is compiled into the tree programs
(telnetd, telnet and tn3270) that use them instead.
This gets rid of a really hairy dependency between telnet and libtelnet.
ok millert@
Diffstat (limited to 'libexec/telnetd/Makefile')
-rw-r--r-- | libexec/telnetd/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile index af282f0b207..b9a8443ef2e 100644 --- a/libexec/telnetd/Makefile +++ b/libexec/telnetd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.17 2002/03/05 00:09:32 deraadt Exp $ +# $OpenBSD: Makefile,v 1.18 2003/05/14 01:46:51 hin Exp $ # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 # $NetBSD: Makefile,v 1.6 1996/02/24 01:22:12 jtk Exp $ @@ -6,22 +6,27 @@ PROG= telnetd CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS CFLAGS+=-DOLD_ENVIRON -DENV_HACK -I${.CURDIR} -Wall -Werror +CFLAGS+= -DHAS_CGETENT -Wno-unused SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \ - termstat.c utility.c mini_inetd.c socket.c -DPADD= ${LIBUTIL} ${LIBCURSES} ${LIBTELNET} -LDADD+= -lutil -lcurses -ltelnet + termstat.c utility.c mini_inetd.c socket.c \ + auth.c encrypt.c genget.c misc.c +DPADD= ${LIBUTIL} ${LIBCURSES} +LDADD+= -lutil -lcurses MAN= telnetd.8 .include <bsd.own.mk> # for KERBEROS .if (${KERBEROS5:L} == "yes") +SRCS+= kerberos5.c enc_des.c LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkafs +CFLAGS+= -DKRB5 -DAUTHENTICATION -DENCRYPTION -DDES_ENCRYPTION .endif .if (${KERBEROS:L} == "yes") -CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4 -I${.CURDIR}/../../lib +CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4 -DDES_ENCRYPTION LDADD+= -lkrb -lcrypto -ldes DPADD+= ${LIBDES} ${LIBKRB} +SRCS+= kerberos.c .endif .include <bsd.prog.mk> |