NetBSD/libexec/telnetd/Makefile

32 lines
1.0 KiB
Makefile
Raw Normal View History

1999-06-07 04:53:09 +04:00
# $NetBSD: Makefile,v 1.19 1999/06/07 00:53:11 thorpej Exp $
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
1993-08-01 09:37:30 +04:00
.include <bsd.own.mk> # for EXPORTABLE_SYSTEM definition
MAN= telnetd.8
# XXX Keep telnetd(8) and libtelnet from getting out of sync during the build
# XXX process.
1999-06-07 04:53:09 +04:00
.if (!exists(${.CURDIR}/../../domestic/libexec/telnetd) && \
!exists(${.CURDIR}/../../crypto-us/libexec/telnetd)) || \
defined(EXPORTABLE_SYSTEM) || \
make (obj) || make(clean) || make(cleandir) || make(distclean)
1993-03-21 12:45:37 +03:00
PROG= telnetd
CPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOPENPTY_PTY
CPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -DSECURELOGIN -I${.CURDIR}
1997-10-22 09:55:52 +04:00
#CPPFLAGS+=-DAUTHENTICATION -I${.CURDIR}/../../lib
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
1993-03-21 12:45:37 +03:00
termstat.c utility.c
1997-03-25 01:15:37 +03:00
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
LDADD+= -lutil -ltermcap -ltelnet
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>
.else # EXPORTABLE_SYSTEM
.include <bsd.man.mk>
.endif # EXPORTABLE_SYSTEM
nocrypt:
@echo "Encryption code already removed."