Makefile revision 1.15
11.15Sperry#	$NetBSD: Makefile,v 1.15 1998/08/05 00:15:25 perry Exp $
21.4Scgd#	from: @(#)Makefile	8.2 (Berkeley) 12/15/93
31.3Smycroft
41.13Sscottr.include <bsd.own.mk>			# for EXPORTABLE_SYSTEM definition
51.13Sscottr
61.12SscottrMAN=	telnetd.8
71.12Sscottr
81.12Sscottr# XXX Keep telnetd(8) and libtelnet from getting out of sync during the build
91.12Sscottr# XXX process.
101.12Sscottr.if !exists(${.CURDIR}/../../domestic/libexec/telnetd) || \
111.12Sscottr    defined(EXPORTABLE_SYSTEM) || make(clean) || make(cleandir)
121.12Sscottr
131.1ScgdPROG=	telnetd
141.15SperryCPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOPENPTY_PTY
151.11SlukemCPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -I${.CURDIR}
161.11Slukem#CPPFLAGS+=-DAUTHENTICATION -I${.CURDIR}/../../lib
171.4ScgdSRCS=	authenc.c global.c slc.c state.c sys_term.c telnetd.c \
181.1Scgd	termstat.c utility.c
191.7SchristosDPADD=	${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
201.6SjtkLDADD+=	-lutil -ltermcap -ltelnet
211.6Sjtk
221.12Sscottr.include <bsd.prog.mk>
231.4Scgd
241.12Sscottr.else	# EXPORTABLE_SYSTEM
251.12Sscottr.include <bsd.man.mk>
261.12Sscottr.endif	# EXPORTABLE_SYSTEM
271.4Scgd
281.4Scgdnocrypt:
291.4Scgd	@echo "Encryption code already removed."
30