Makefile revision 1.12
11.12Sscottr#	$NetBSD: Makefile,v 1.12 1998/07/22 22:30:07 scottr Exp $
21.4Scgd#	from: @(#)Makefile	8.2 (Berkeley) 12/15/93
31.3Smycroft
41.12SscottrMAN=	telnetd.8
51.12Sscottr
61.12Sscottr# XXX Keep telnetd(8) and libtelnet from getting out of sync during the build
71.12Sscottr# XXX process.
81.12Sscottr.if !exists(${.CURDIR}/../../domestic/libexec/telnetd) || \
91.12Sscottr    defined(EXPORTABLE_SYSTEM) || make(clean) || make(cleandir)
101.12Sscottr
111.1ScgdPROG=	telnetd
121.11SlukemCPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
131.11SlukemCPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -I${.CURDIR}
141.11Slukem#CPPFLAGS+=-DAUTHENTICATION -I${.CURDIR}/../../lib
151.4ScgdSRCS=	authenc.c global.c slc.c state.c sys_term.c telnetd.c \
161.1Scgd	termstat.c utility.c
171.7SchristosDPADD=	${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
181.6SjtkLDADD+=	-lutil -ltermcap -ltelnet
191.6Sjtk
201.12Sscottr.include <bsd.prog.mk>
211.4Scgd
221.12Sscottr.else	# EXPORTABLE_SYSTEM
231.12Sscottr.include <bsd.man.mk>
241.12Sscottr.endif	# EXPORTABLE_SYSTEM
251.4Scgd
261.4Scgdnocrypt:
271.4Scgd	@echo "Encryption code already removed."
28