1994-05-27 12:39:25 +00:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 12/15/93
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:39:25 +00:00
|
|
|
|
|
|
|
PROG= telnetd
|
1994-09-05 20:36:34 +00:00
|
|
|
CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS
|
|
|
|
#CFLAGS+=-DKLUDGELINEMODE
|
1994-05-27 12:39:25 +00:00
|
|
|
CFLAGS+=-DOLD_ENVIRON -DENV_HACK
|
1994-08-10 04:55:19 +00:00
|
|
|
CFLAGS+=-I${.CURDIR}/../../lib
|
2000-01-25 14:52:10 +00:00
|
|
|
CFLAGS+=-DINET6
|
1994-08-12 23:00:04 +00:00
|
|
|
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
|
1994-05-27 12:39:25 +00:00
|
|
|
termstat.c utility.c
|
2001-03-28 12:08:22 +00:00
|
|
|
|
|
|
|
.if exists(${.OBJDIR}/../../lib/libtelnet)
|
|
|
|
LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
|
|
|
|
.else
|
|
|
|
LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
|
|
|
|
.endif
|
|
|
|
|
1996-09-05 17:16:10 +00:00
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
|
2001-03-28 12:08:22 +00:00
|
|
|
LDADD= -lutil -ltermcap ${LIBTELNET}
|
2001-03-26 14:22:12 +00:00
|
|
|
MAN= telnetd.8
|
1994-05-27 12:39:25 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|