34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.20 1999/07/02 06:32:08 itojun Exp $
|
|
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
|
|
|
.include <bsd.own.mk> # for EXPORTABLE_SYSTEM definition
|
|
|
|
MAN= telnetd.8
|
|
|
|
CPPFLAGS+=-DINET6
|
|
|
|
# XXX Keep telnetd(8) and libtelnet from getting out of sync during the build
|
|
# XXX process.
|
|
.if (!exists(${.CURDIR}/../../domestic/libexec/telnetd) && \
|
|
!exists(${.CURDIR}/../../crypto-us/libexec/telnetd)) || \
|
|
defined(EXPORTABLE_SYSTEM) || \
|
|
make (obj) || make(clean) || make(cleandir) || make(distclean)
|
|
|
|
PROG= telnetd
|
|
CPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOPENPTY_PTY
|
|
CPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -DSECURELOGIN -I${.CURDIR}
|
|
#CPPFLAGS+=-DAUTHENTICATION -I${.CURDIR}/../../lib
|
|
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
|
|
termstat.c utility.c
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
|
|
LDADD+= -lutil -ltermcap -ltelnet
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.else # EXPORTABLE_SYSTEM
|
|
.include <bsd.man.mk>
|
|
.endif # EXPORTABLE_SYSTEM
|
|
|
|
nocrypt:
|
|
@echo "Encryption code already removed."
|