]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - lib/libtelnet/Makefile
MFC r321806:
[FreeBSD/stable/10.git] / lib / libtelnet / Makefile
1 #       From: @(#)Makefile      8.2 (Berkeley) 12/15/93
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 TELNETDIR=      ${SRCTOP}/contrib/telnet
7 .PATH:          ${TELNETDIR}/libtelnet
8
9 LIB=            telnet
10
11 INTERNALLIB=
12
13 SRCS=           genget.c getent.c misc.c
14 CFLAGS+=        -I${TELNETDIR}
15
16 WARNS?=         2
17
18 .if !defined(RELEASE_CRUNCH)
19 .if ${MK_OPENSSL} != "no"
20 SRCS+=          encrypt.c auth.c enc_des.c sra.c pk.c
21 CFLAGS+=        -DENCRYPTION -DAUTHENTICATION -DSRA
22 .endif
23
24 .if ${MK_KERBEROS_SUPPORT} != "no"
25 SRCS+=          kerberos5.c
26 CFLAGS+=        -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
27 .endif
28 .endif
29
30 INCS=           ${TELNETDIR}/arpa/telnet.h
31 INCSDIR=        ${INCLUDEDIR}/arpa
32
33 .include <bsd.lib.mk>