Makefile revision 1.19
11.19Sthorpej#	$NetBSD: Makefile,v 1.19 1999/06/07 00:53:11 thorpej 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.19Sthorpej.if (!exists(${.CURDIR}/../../domestic/libexec/telnetd) && \
111.19Sthorpej     !exists(${.CURDIR}/../../crypto-us/libexec/telnetd)) || \
121.17Scjs    defined(EXPORTABLE_SYSTEM) || \
131.17Scjs    make (obj) || make(clean) || make(cleandir) || make(distclean)
141.12Sscottr
151.1ScgdPROG=	telnetd
161.15SperryCPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOPENPTY_PTY
171.18SdeanCPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -DSECURELOGIN -I${.CURDIR}
181.11Slukem#CPPFLAGS+=-DAUTHENTICATION -I${.CURDIR}/../../lib
191.4ScgdSRCS=	authenc.c global.c slc.c state.c sys_term.c telnetd.c \
201.1Scgd	termstat.c utility.c
211.7SchristosDPADD=	${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
221.6SjtkLDADD+=	-lutil -ltermcap -ltelnet
231.6Sjtk
241.12Sscottr.include <bsd.prog.mk>
251.4Scgd
261.12Sscottr.else	# EXPORTABLE_SYSTEM
271.12Sscottr.include <bsd.man.mk>
281.12Sscottr.endif	# EXPORTABLE_SYSTEM
291.4Scgd
301.4Scgdnocrypt:
311.4Scgd	@echo "Encryption code already removed."
32