1998-07-27 08:45:23 +04:00
|
|
|
# $NetBSD: Makefile,v 1.14 1998/07/27 04:45:23 scottr Exp $
|
1994-02-25 06:20:39 +03:00
|
|
|
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
1993-08-01 09:37:30 +04:00
|
|
|
|
1998-07-27 08:16:19 +04:00
|
|
|
.include <bsd.own.mk> # for EXPORTABLE_SYSTEM definition
|
|
|
|
|
1998-07-23 02:30:07 +04:00
|
|
|
MAN= telnetd.8
|
|
|
|
|
|
|
|
# XXX Keep telnetd(8) and libtelnet from getting out of sync during the build
|
|
|
|
# XXX process.
|
|
|
|
.if !exists(${.CURDIR}/../../domestic/libexec/telnetd) || \
|
|
|
|
defined(EXPORTABLE_SYSTEM) || make(clean) || make(cleandir)
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= telnetd
|
1997-10-22 09:55:52 +04:00
|
|
|
CPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
|
|
|
|
CPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -I${.CURDIR}
|
|
|
|
#CPPFLAGS+=-DAUTHENTICATION -I${.CURDIR}/../../lib
|
1994-02-25 06:20:39 +03:00
|
|
|
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}
|
1996-02-24 04:22:12 +03:00
|
|
|
LDADD+= -lutil -ltermcap -ltelnet
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|
1994-02-25 06:20:39 +03:00
|
|
|
|
1998-07-23 02:30:07 +04:00
|
|
|
.else # EXPORTABLE_SYSTEM
|
|
|
|
.include <bsd.man.mk>
|
|
|
|
.endif # EXPORTABLE_SYSTEM
|
|
|
|
|
1994-02-25 06:20:39 +03:00
|
|
|
nocrypt:
|
|
|
|
@echo "Encryption code already removed."
|