Makefile (274364) | Makefile (275077) |
---|---|
1# $FreeBSD: head/libexec/telnetd/Makefile 274364 2014-11-11 04:06:05Z ngie $ | 1# $FreeBSD: head/libexec/telnetd/Makefile 275077 2014-11-25 21:18:18Z bapt $ |
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 --- 14 unchanged lines hidden (view full) --- 24CFLAGS+= -DINET6 25.endif 26 27CFLAGS+= -I${TELNETDIR} 28CFLAGS+= -I${TELNETDIR}/telnet 29 30LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a 31 | 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 --- 14 unchanged lines hidden (view full) --- 24CFLAGS+= -DINET6 25.endif 26 27CFLAGS+= -I${TELNETDIR} 28CFLAGS+= -I${TELNETDIR}/telnet 29 30LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a 31 |
32DPADD= ${LIBUTIL} ${LIBTERMCAPW} ${LIBTELNET} 33LDADD= -lutil -ltermcapw ${LIBTELNET} | 32LIBADD= telnet util ncursesw |
34 35.if ${MK_OPENSSL} != "no" 36SRCS+= authenc.c 37CFLAGS+= -DAUTHENTICATION -DENCRYPTION | 33 34.if ${MK_OPENSSL} != "no" 35SRCS+= authenc.c 36CFLAGS+= -DAUTHENTICATION -DENCRYPTION |
38DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM} 39LDADD+= -lmp -lcrypto -lcrypt ${MINUSLPAM} | 37LIBADD+= mp crypto pam |
40.endif 41 42.if ${MK_KERBEROS_SUPPORT} != "no" 43CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write | 38.endif 39 40.if ${MK_KERBEROS_SUPPORT} != "no" 41CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write |
44DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} 45LDADD+= -lkrb5 -lhx509 -lasn1 -lroken -lcom_err | 42LIBADD+= krb5 roken |
46.endif 47 48.include <bsd.prog.mk> | 43.endif 44 45.include <bsd.prog.mk> |