diff --git a/secure/lib/Makefile b/secure/lib/Makefile index d194db8159e9..6f61ed554063 100644 --- a/secure/lib/Makefile +++ b/secure/lib/Makefile @@ -1,6 +1,8 @@ # $FreeBSD$ -SUBDIR= libcipher libdes libtelnet +SUBDIR= libcipher libdes +.if !defined(NOCRYPT) && !defined(MAKE_KERBEROS4) +SUBDIR+=libtelnet +.endif .include - diff --git a/secure/libexec/Makefile b/secure/libexec/Makefile index 5c5b4505e6a8..8661ee263d7d 100644 --- a/secure/libexec/Makefile +++ b/secure/libexec/Makefile @@ -1,6 +1,7 @@ -# $FreeBSD$ +# $FreeBSD$ +.if !defined(NOCRYPT) && !defined(MAKE_KERBEROS4) SUBDIR= telnetd +.endif .include - diff --git a/secure/usr.bin/Makefile b/secure/usr.bin/Makefile index 0b1fc8ac992e..f711c0a389cd 100644 --- a/secure/usr.bin/Makefile +++ b/secure/usr.bin/Makefile @@ -1,6 +1,8 @@ # $FreeBSD$ -SUBDIR= bdes telnet +SUBDIR= bdes +.if !defined(NOCRYPT) && !defined(MAKE_KERBEROS4) +SUBDIR+=telnet +.endif .include -