diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile index 0339402ee6ef..3d12f8adfe86 100644 --- a/lib/libtelnet/Makefile +++ b/lib/libtelnet/Makefile @@ -13,6 +13,7 @@ CFLAGS+= -I${TELNETDIR} WARNS?= 2 +.if !defined(RELEASE_CRUNCH) .if !defined(NOCRYPT) && !defined(NO_OPENSSL) DISTRIBUTION= crypto SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c @@ -23,6 +24,7 @@ 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 diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile index 8a7e7844def7..33900936427f 100644 --- a/libexec/telnetd/Makefile +++ b/libexec/telnetd/Makefile @@ -28,6 +28,7 @@ LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} LDADD= -lutil -ltermcap ${LIBTELNET} +.if !defined(RELEASE_CRUNCH) .if !defined(NOCRYPT) && !defined(NO_OPENSSL) DISTRIBUTION= crypto SRCS+= authenc.c @@ -40,5 +41,6 @@ DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} LDADD+= -lkrb5 -lasn1 -lroken -lcom_err .endif .endif +.endif .include diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile index cdb15a42b685..74ccd8a7b60a 100644 --- a/usr.bin/telnet/Makefile +++ b/usr.bin/telnet/Makefile @@ -30,6 +30,7 @@ SRCS+= genget.c getent.c misc.c CFLAGS+= -DHAS_CGETENT .endif +.if !defined(RELEASE_CRUNCH) .if !defined(NOCRYPT) && !defined(NO_OPENSSL) DISTRIBUTION= crypto SRCS+= authenc.c @@ -42,5 +43,6 @@ DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} LDADD+= -lkrb5 -lasn1 -lcom_err -lroken .endif .endif +.endif .include