mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 22:15:46 +01:00
04efeffe99
remove the now-redundant checks for RELEASE_CRUNCH. This originally was defined for building smaller sysinstall images, but was later also used by picobsd builds for a similar purpose. Now that we've moved away from sysinstall, picobsd is the only remaining consumer of this interface. Adding these two options reduces the RELEASE_CRUNCH special cases in the tree by half.
33 lines
645 B
Makefile
33 lines
645 B
Makefile
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
TELNETDIR= ${.CURDIR}/../../contrib/telnet
|
|
.PATH: ${TELNETDIR}/libtelnet
|
|
|
|
LIB= telnet
|
|
|
|
INTERNALLIB=
|
|
|
|
SRCS= genget.c getent.c misc.c
|
|
CFLAGS+= -I${TELNETDIR}
|
|
|
|
WARNS?= 2
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
|
|
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA
|
|
.endif
|
|
|
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
|
SRCS+= kerberos5.c
|
|
CFLAGS+= -DKRB5 -I${KRB5DIR}/lib/krb5 -I${KRB5OBJDIR} -I${ASN1OBJDIR}
|
|
CFLAGS+= -DFORWARD -Dnet_write=telnet_net_write
|
|
.endif
|
|
|
|
INCS= ${TELNETDIR}/arpa/telnet.h
|
|
INCSDIR= ${INCLUDEDIR}/arpa
|
|
|
|
.include <bsd.lib.mk>
|