ea51b8e82b
OK'ed by: markm
26 lines
661 B
Makefile
26 lines
661 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= telnet
|
|
|
|
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c \
|
|
telnet.c terminal.c utilities.c
|
|
|
|
CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE \
|
|
-DENCRYPTION -DAUTHENTICATION -DIPSEC -DINET6 \
|
|
-I${TELNETDIR} -I${TELNETDIR}/libtelnet/
|
|
|
|
CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
|
|
|
|
WARNS?= 2
|
|
|
|
DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \
|
|
${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} \
|
|
${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}
|
|
LDADD= -ltermcap ${LIBTELNET} -lmp \
|
|
-lkrb5 -lasn1 -lcom_err -lroken \
|
|
-lcrypto -lcrypt -lipsec ${MINUSLPAM}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${TELNETDIR}/telnet
|