1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/kerberos5/libexec/telnetd/Makefile
2001-12-17 01:33:20 +00:00

38 lines
870 B
Makefile

# $FreeBSD$
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
# telnet implementations.
PROG= telnetd
MAN= telnetd.8
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c authenc.c
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
-DENV_HACK -DAUTHENTICATION -DENCRYPTION \
-I${TELNETDIR} -DINET6
CFLAGS+= -DKRB5
WARNS?= 2
DPADD=
LDADD=
.if defined(MAKE_KERBEROS4)
DPADD+= ${LIBKRB} ${LIBCOM_ERR}
LDADD+= -lkrb -lcom_err
.endif
DPADD+= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} \
${LIBCRYPT} ${LIBPAM}
LDADD+= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
-L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 \
-L${ROKENOBJDIR} -lroken -lcom_err \
-lcrypt ${MINUSLPAM}
.include <bsd.prog.mk>
.PATH: ${TELNETDIR}/telnetd