1# $FreeBSD: head/libexec/telnetd/Makefile 265420 2014-05-06 04:22:01Z imp $
| 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 10 11PROG= telnetd 12MAN= telnetd.8 13 14SRCS= global.c slc.c state.c sys_term.c telnetd.c \ 15 termstat.c utility.c 16 17WARNS?= 2 18WFORMAT?= 0 19 20CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \ 21 -DENV_HACK -DSTREAMSPTY 22 23.if ${MK_INET6_SUPPORT} != "no" 24CFLAGS+= -DINET6 25.endif 26 27CFLAGS+= -I${TELNETDIR} 28 29LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a 30 31DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} 32LDADD= -lutil -ltermcap ${LIBTELNET} 33
| 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 10 11PROG= telnetd 12MAN= telnetd.8 13 14SRCS= global.c slc.c state.c sys_term.c telnetd.c \ 15 termstat.c utility.c 16 17WARNS?= 2 18WFORMAT?= 0 19 20CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \ 21 -DENV_HACK -DSTREAMSPTY 22 23.if ${MK_INET6_SUPPORT} != "no" 24CFLAGS+= -DINET6 25.endif 26 27CFLAGS+= -I${TELNETDIR} 28 29LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a 30 31DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} 32LDADD= -lutil -ltermcap ${LIBTELNET} 33
|
34# XXX for src/release/picobsd 35.if !defined(RELEASE_CRUNCH)
| |
36.if ${MK_OPENSSL} != "no" 37SRCS+= authenc.c 38CFLAGS+= -DAUTHENTICATION -DENCRYPTION 39DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM} 40LDADD+= -lmp -lcrypto -lcrypt ${MINUSLPAM} 41.endif 42 43.if ${MK_KERBEROS_SUPPORT} != "no" 44CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write 45DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} 46LDADD+= -lkrb5 -lhx509 -lasn1 -lroken -lcom_err 47.endif
| 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
|
48.endif
| |
49 50.include <bsd.prog.mk>
| 46 47.include <bsd.prog.mk>
|