NetBSD/libexec/telnetd/Makefile

33 lines
896 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2002/03/22 18:10:22 thorpej Exp $
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
1993-08-01 09:37:30 +04:00
.include <bsd.own.mk>
MAN= telnetd.8
1999-07-02 10:32:08 +04:00
CPPFLAGS+=-DINET6
1993-03-21 12:45:37 +03:00
PROG= telnetd
CPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOPENPTY_PTY
1999-07-13 02:04:09 +04:00
CPPFLAGS+=-DOLD_ENVIRON -DENV_HACK -DSECURELOGIN
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
CPPFLAGS+=-I${.CURDIR}/../../lib
CPPFLAGS+=-I${.CURDIR}
.if (${USE_KERBEROS} != "no")
CPPFLAGS+=-DAUTHENTICATION -DENCRYPTION
CPPFLAGS+=-I${DESTDIR}/usr/include/krb5
CPPFLAGS+=-DKRB5
2000-12-30 20:29:24 +03:00
VERS!= cd ${.CURDIR}/../../lib/libvers && ${PRINTOBJDIR}
2000-08-04 02:47:37 +04:00
LDADD+= -lkrb5 -lkrb -lcrypto -lasn1 -lcom_err -L${VERS} -lvers -lroken
DPADD+= ${LIBKRB5} ${LIBKRB} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
.endif
1999-07-13 02:04:09 +04:00
.include <bsd.prog.mk>