1# $FreeBSD: head/libexec/telnetd/Makefile 267147 2014-06-06 04:09:07Z imp $ |
2 3# Do not define -DKLUDGELINEMODE, as it does not interact well with many 4# telnet implementations. 5 6.include <src.opts.mk> 7 8TELNETDIR= ${.CURDIR}/../../contrib/telnet 9.PATH: ${TELNETDIR}/telnetd --- 16 unchanged lines hidden (view full) --- 26 27CFLAGS+= -I${TELNETDIR} 28 29LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a 30 31DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} 32LDADD= -lutil -ltermcap ${LIBTELNET} 33 |
34.if ${MK_OPENSSL} != "no" 35SRCS+= authenc.c 36CFLAGS+= -DAUTHENTICATION -DENCRYPTION 37DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM} 38LDADD+= -lmp -lcrypto -lcrypt ${MINUSLPAM} 39.endif 40 41.if ${MK_KERBEROS_SUPPORT} != "no" 42CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write 43DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} 44LDADD+= -lkrb5 -lhx509 -lasn1 -lroken -lcom_err 45.endif |
46 47.include <bsd.prog.mk> |