1# $FreeBSD: head/usr.bin/telnet/Makefile 265420 2014-05-06 04:22:01Z imp $
| 1# $FreeBSD: head/usr.bin/telnet/Makefile 267147 2014-06-06 04:09:07Z imp $
|
2 3.include <src.opts.mk> 4 5TELNETDIR= ${.CURDIR}/../../contrib/telnet 6.PATH: ${TELNETDIR}/telnet 7 8PROG= telnet 9 10SRCS= commands.c main.c network.c ring.c sys_bsd.c \ 11 telnet.c terminal.c utilities.c 12 13CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE \ 14 -I${TELNETDIR} -I${TELNETDIR}/libtelnet/ 15 16.if ${MK_INET6_SUPPORT} != "no" 17CFLAGS+= -DINET6 18.endif 19 20WARNS?= 2 21 22LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a 23 24DPADD= ${LIBTERMCAP} ${LIBTELNET} 25LDADD= -ltermcap ${LIBTELNET} 26 27.if !defined(RELEASE_CRUNCH) 28CFLAGS+= -DIPSEC 29DPADD+= ${LIBIPSEC} 30LDADD+= -lipsec 31.else 32.PATH: ${TELNETDIR}/libtelnet 33SRCS+= genget.c getent.c misc.c 34CFLAGS+= -DHAS_CGETENT 35.endif 36
| 2 3.include <src.opts.mk> 4 5TELNETDIR= ${.CURDIR}/../../contrib/telnet 6.PATH: ${TELNETDIR}/telnet 7 8PROG= telnet 9 10SRCS= commands.c main.c network.c ring.c sys_bsd.c \ 11 telnet.c terminal.c utilities.c 12 13CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE \ 14 -I${TELNETDIR} -I${TELNETDIR}/libtelnet/ 15 16.if ${MK_INET6_SUPPORT} != "no" 17CFLAGS+= -DINET6 18.endif 19 20WARNS?= 2 21 22LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a 23 24DPADD= ${LIBTERMCAP} ${LIBTELNET} 25LDADD= -ltermcap ${LIBTELNET} 26 27.if !defined(RELEASE_CRUNCH) 28CFLAGS+= -DIPSEC 29DPADD+= ${LIBIPSEC} 30LDADD+= -lipsec 31.else 32.PATH: ${TELNETDIR}/libtelnet 33SRCS+= genget.c getent.c misc.c 34CFLAGS+= -DHAS_CGETENT 35.endif 36
|
37.if !defined(RELEASE_CRUNCH)
| |
38.if ${MK_OPENSSL} != "no" 39SRCS+= authenc.c 40CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DIPSEC 41DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM} 42LDADD+= -lmp -lcrypto -lcrypt -lipsec ${MINUSLPAM} 43.endif 44 45.if ${MK_KERBEROS_SUPPORT} != "no" 46CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write 47DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} 48LDADD+= -lkrb5 -lhx509 -lasn1 -lcom_err -lroken 49.endif
| 37.if ${MK_OPENSSL} != "no" 38SRCS+= authenc.c 39CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DIPSEC 40DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM} 41LDADD+= -lmp -lcrypto -lcrypt -lipsec ${MINUSLPAM} 42.endif 43 44.if ${MK_KERBEROS_SUPPORT} != "no" 45CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write 46DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} 47LDADD+= -lkrb5 -lhx509 -lasn1 -lcom_err -lroken 48.endif
|
50.endif
| |
51 52.include <bsd.prog.mk>
| 49 50.include <bsd.prog.mk>
|