NetBSD/lib/libtelnet/Makefile

31 lines
621 B
Makefile
Raw Normal View History

# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $NetBSD: Makefile,v 1.15 2002/03/22 18:10:21 thorpej Exp $
.include <bsd.own.mk>
1993-03-21 12:45:37 +03:00
2001-11-05 18:22:23 +03:00
WARNS?= 1
1993-03-21 12:45:37 +03:00
LIB= telnet
SRCS= auth.c encrypt.c genget.c getent.c misc.c
CPPFLAGS+= -DHAS_CGETENT
CPPFLAGS+= -I${.CURDIR}
# XXX See doc/HACKS gcc-3-libtelnet
.if defined(HAVE_GCC3)
COPTS+= -O0
.endif
.if (${USE_KERBEROS} != "no")
SRCS+= enc_des.c kerberos.c
SRCS+= kerberos5.c
CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION
CPPFLAGS+= -DKRB4 -DDES_ENCRYPTION
CPPFLAGS+= -DKRB5
CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.lib.mk>