# $OpenBSD: Makefile,v 1.15 2001/07/19 10:43:17 deraadt Exp $ # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 # $NetBSD: Makefile,v 1.6 1996/02/24 01:22:12 jtk Exp $ PROG= telnetd CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS CFLAGS+=-DOLD_ENVIRON -DENV_HACK -I${.CURDIR} -Wall -Werror SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \ termstat.c utility.c mini_inetd.c socket.c DPADD= ${LIBUTIL} ${LIBCURSES} ${LIBTELNET} LDADD+= -lutil -lcurses -ltelnet MAN= telnetd.8 .include # for KERBEROS .if (${KERBEROS:L} == "yes") CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4 -I${.CURDIR}/../../lib LDADD+= -lkrb -lcrypto DPADD+= ${LIBDES} ${LIBKRB} .endif .if (${KERBEROS5:L} == "yes") LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkafs .endif .include