mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
32 lines
668 B
Makefile
32 lines
668 B
Makefile
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
|
# $FreeBSD$
|
|
|
|
TELNETDIR= ${.CURDIR}/../../contrib/telnet
|
|
.PATH: ${TELNETDIR}/libtelnet
|
|
|
|
LIB= telnet
|
|
|
|
INTERNALLIB=
|
|
|
|
SRCS= genget.c getent.c misc.c
|
|
CFLAGS+= -I${TELNETDIR}
|
|
|
|
WARNS?= 0
|
|
|
|
.if !defined(RELEASE_CRUNCH)
|
|
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
|
SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
|
|
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA
|
|
.if !defined(NO_KERBEROS)
|
|
SRCS+= kerberos5.c
|
|
CFLAGS+= -DKRB5 -I${KRB5DIR}/lib/krb5 -I${KRB5OBJDIR} -I${ASN1OBJDIR}
|
|
CFLAGS+= -DFORWARD -Dnet_write=telnet_net_write
|
|
.endif
|
|
.endif
|
|
.endif
|
|
|
|
INCS= ${TELNETDIR}/arpa/telnet.h
|
|
INCSDIR= ${INCLUDEDIR}/arpa
|
|
|
|
.include <bsd.lib.mk>
|