summaryrefslogtreecommitdiffstats
path: root/secure/libexec/telnetd/Makefile
blob: c0c82eef679180ccdce2159934fe2637938eb944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#	@(#)Makefile	8.2 (Berkeley) 12/15/93
#	$Id$

# Do not define -DKLUDGELINEMODE, as it does not interact well with many
# telnet implementations.

PROG=	telnetd
MAN8=	telnetd.8

SRCS=	authenc.c global.c slc.c state.c sys_term.c telnetd.c \
	termstat.c utility.c

DPADD=	${TELNETOBJDIR}/libtelnet.a ${LIBUTIL} ${LIBTERMCAP}
LDADD=	-L${TELNETOBJDIR} -lutil -ltermcap -ltelnet

CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
CFLAGS+= -DENCRYPTION -I${.CURDIR}/../../lib

.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES))
CFLAGS+=-DAUTHENTICATION
LDADD+= -ldes -lkrb
DPADD+= ${LIBDES} ${LIBKRB}
.endif

# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
#LDADD+= -ldescrypt

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud