2002-08-20 17:12:00 +04:00
|
|
|
# $NetBSD: Makefile,v 1.33 2002/08/20 13:12:00 christos 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
|
|
|
|
|
1999-07-02 10:32:08 +04:00
|
|
|
CPPFLAGS+=-DINET6
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= telnetd
|
1998-08-05 04:15:25 +04:00
|
|
|
CPPFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOPENPTY_PTY
|
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
|
1997-03-25 01:15:37 +03:00
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
|
1996-02-24 04:22:12 +03:00
|
|
|
LDADD+= -lutil -ltermcap -ltelnet
|
|
|
|
|
2002-08-19 17:54:34 +04:00
|
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/lib
|
2000-06-23 10:01:10 +04:00
|
|
|
CPPFLAGS+=-I${.CURDIR}
|
|
|
|
|
Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
.if (${USE_KERBEROS} != "no")
|
2000-06-22 10:47:42 +04:00
|
|
|
CPPFLAGS+=-DAUTHENTICATION -DENCRYPTION
|
|
|
|
CPPFLAGS+=-I${DESTDIR}/usr/include/krb5
|
|
|
|
CPPFLAGS+=-DKRB5
|
2000-06-20 10:00:24 +04:00
|
|
|
|
2002-08-19 17:54:34 +04:00
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
2000-08-04 02:47:37 +04:00
|
|
|
|
|
|
|
LDADD+= -lkrb5 -lkrb -lcrypto -lasn1 -lcom_err -L${VERS} -lvers -lroken
|
2000-06-22 10:47:42 +04:00
|
|
|
DPADD+= ${LIBKRB5} ${LIBKRB} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
|
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>
|