summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libtelnet/Makefile
blob: 7dab16f535543496b2cf67f3f30f6be16c790dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

LIB=		telnet

INTERNALLIB=	yes
INTERNALSTATICLIB=yes
NOPIC=		yes

SRCS=		genget.c getent.c misc.c encrypt.c auth.c \
		enc_des.c sra.c pk.c
.if defined(MAKE_KERBEROS4)
SRCS+=		kerberos.c
CFLAGS+=	-DKRB4 -I${KRB4DIR}/lib/krb
.endif

#SRCS+=		kerberos5.c

CFLAGS+=	-DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \
		-DSRA -I${TELNETDIR}
#CFLAGS+=	-DKRB5 -I${KRB5DIR}/lib/krb5

INCS=		${TELNETDIR}/arpa/telnet.h
INCDIR=		/usr/include/arpa

#
# Remove obsolete shared libraries, if any.  We don't bother moving them
# to /usr/lib/compat, since they were only used by telnet, telnetd and
# tn3270.
#
beforeinstall:
	rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0

.include <bsd.lib.mk>

.PATH:	${TELNETDIR}/libtelnet
OpenPOWER on IntegriCloud