# $OpenBSD: Makefile,v 1.22 2004/11/24 07:35:40 biorn 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 CFLAGS+= -DHAS_CGETENT -Wno-unused SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \ termstat.c utility.c mini_inetd.c socket.c \ auth.c encrypt.c genget.c misc.c DPADD= ${LIBUTIL} ${LIBCURSES} LDADD+= -lutil -lcurses MAN= telnetd.8 .include # for KERBEROS .if (${KERBEROS5:L} == "yes") CFLAGS+=-DENCRYPTION -DKRB5 -DAUTHENTICATION -DDES_ENCRYPTION -I${.CURDIR}/../../lib SRCS+= kerberos5.c enc_des.c DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBDES} LDADD+= -lkrb5 -lasn1 -lcrypto -ldes .endif .include