Makefile revision 1.17
11.17Scjs#	$NetBSD: Makefile,v 1.17 1999/01/03 21:56:42 cjs 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.17Scjs    defined(EXPORTABLE_SYSTEM) || \
121.17Scjs    make (obj) || make(clean) || make(cleandir) || make(distclean)
131.12Sscottr
141.1ScgdPROG=	telnetd
151.15SperryCPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOPENPTY_PTY
161.11SlukemCPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -I${.CURDIR}
171.11Slukem#CPPFLAGS+=-DAUTHENTICATION -I${.CURDIR}/../../lib
181.4ScgdSRCS=	authenc.c global.c slc.c state.c sys_term.c telnetd.c \
191.1Scgd	termstat.c utility.c
201.7SchristosDPADD=	${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
211.6SjtkLDADD+=	-lutil -ltermcap -ltelnet
221.6Sjtk
231.12Sscottr.include <bsd.prog.mk>
241.4Scgd
251.12Sscottr.else	# EXPORTABLE_SYSTEM
261.12Sscottr.include <bsd.man.mk>
271.12Sscottr.endif	# EXPORTABLE_SYSTEM
281.4Scgd
291.4Scgdnocrypt:
301.4Scgd	@echo "Encryption code already removed."
31