2003-12-14 01:07:35 +03:00
|
|
|
# $NetBSD: Makefile,v 1.39 2003/12/13 22:07:35 chs 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
|
|
|
|
2000-06-23 10:01:10 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1998-07-23 02:30:07 +04:00
|
|
|
MAN= telnetd.8
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= telnetd
|
2003-07-14 19:55:53 +04:00
|
|
|
CPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DDIAGNOSTICS
|
2002-08-20 17:12:00 +04:00
|
|
|
CPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -DSECURELOGIN -DSUPPORT_UTMP -DSUPPORT_UTMPX
|
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
|
2003-07-16 09:42:01 +04:00
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNETDIR}/libtelnet.a
|
|
|
|
LDADD+= -lutil -ltermcap ${LIBTELNETDIR}/libtelnet.a
|
1996-02-24 04:22:12 +03:00
|
|
|
|
2002-08-19 17:54:34 +04:00
|
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/lib
|
2000-06-23 10:01:10 +04:00
|
|
|
CPPFLAGS+=-I${.CURDIR}
|
|
|
|
|
2003-07-16 09:42:01 +04:00
|
|
|
LIBTELNETDIR!= cd ${.CURDIR}/../../lib/libtelnet; ${PRINTOBJDIR}
|
|
|
|
|
2003-12-11 12:46:26 +03:00
|
|
|
.if (${USE_KERBEROS} != "no")
|
2000-06-22 10:47:42 +04:00
|
|
|
CPPFLAGS+=-I${DESTDIR}/usr/include/krb5
|
2003-12-14 01:07:35 +03:00
|
|
|
CPPFLAGS+=-DKRB5 -DAUTHENTICATION -DENCRYPTION
|
|
|
|
LDADD+= -lkrb5 -lasn1 -lcrypto
|
|
|
|
DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO}
|
2003-07-23 12:01:24 +04:00
|
|
|
|
|
|
|
.if (${USE_KERBEROS4} != "no")
|
|
|
|
CPPFLAGS+=-DKRB4
|
2003-12-14 01:07:35 +03:00
|
|
|
LDADD+= -lkrb -ldes
|
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
2003-07-23 12:01:24 +04:00
|
|
|
.endif
|
|
|
|
|
2002-08-19 17:54:34 +04:00
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
2000-08-04 02:47:37 +04:00
|
|
|
|
2003-08-05 14:45:42 +04:00
|
|
|
LDADD+= -lcom_err -L${VERS} -lvers -lroken
|
|
|
|
DPADD+= ${LIBCOM_ERR} ${LIBROKEN}
|
2003-07-23 12:01:24 +04:00
|
|
|
|
2000-06-23 10:01:10 +04:00
|
|
|
.endif
|
1998-07-23 02:30:07 +04:00
|
|
|
|
1999-07-13 02:04:09 +04:00
|
|
|
.include <bsd.prog.mk>
|