24 lines
609 B
Makefile
24 lines
609 B
Makefile
# $FreeBSD$
|
|
|
|
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
|
|
# telnet implementations.
|
|
|
|
PROG= telnetd
|
|
MAN8= telnetd.8
|
|
|
|
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
|
|
-DENV_HACK -DAUTHENTICATION -DENCRYPTION \
|
|
-I${TELNETDIR}
|
|
|
|
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
|
|
termstat.c utility.c authenc.c
|
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBDES} ${LIBKRB} \
|
|
${LIBCRYPT} ${LIBCOM_ERR}
|
|
LDADD= -lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes \
|
|
-L${KRBOBJDIR} -lkrb -lcrypt -lcom_err
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${TELNETDIR}/telnetd
|