Makefile revision 1.13
11.13Sscottr#	$NetBSD: Makefile,v 1.13 1998/07/27 04:16:20 scottr 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.11SlukemCPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
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.13Sscottr.include <bsd.obj.mk>
261.12Sscottr.include <bsd.man.mk>
271.12Sscottr.endif	# EXPORTABLE_SYSTEM
281.4Scgd
291.4Scgdnocrypt:
301.4Scgd	@echo "Encryption code already removed."
31