mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-21 08:24:10 +01:00
8bf216d4a3
Reported by: jhay
27 lines
614 B
Makefile
27 lines
614 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
|
|
|
|
WARNS?= 2
|
|
WFORMAT?= 0
|
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
|
|
${LIBCRYPT} ${LIBPAM}
|
|
LDADD= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
|
|
-lcrypt ${MINUSLPAM}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${TELNETDIR}/telnetd
|