summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-09-29 19:56:05 +0000
committerache <ache@FreeBSD.org>1995-09-29 19:56:05 +0000
commit4aa312ef5028d1d24f125997cfa4eed3ecca5630 (patch)
tree3a672556818b10692c1359a3aff26de9b5d40300 /lib/Makefile
parent302aaf80d5003a557dbcea1274a85cb598c9845b (diff)
downloadFreeBSD-src-4aa312ef5028d1d24f125997cfa4eed3ecca5630.zip
FreeBSD-src-4aa312ef5028d1d24f125997cfa4eed3ecca5630.tar.gz
Build secure libcrypt if available and allowed
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index a1d46e4..56ca1a4 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -10,11 +10,17 @@ SUBDIR=csu/${MACHINE}
.endif
# XXX MISSING: libmp libplot
-SUBDIR+= libc libcompat libcom_err libcrypt libcurses libedit \
+SUBDIR+= libc libcompat libcom_err libcurses libedit \
libf2c libforms \
libkvm libmd libmytinfo libncurses libpcap libresolv librpcsvc \
libscsi libskey libss libtermcap libutil liby
+.if !exists(../secure) || defined(NOSECURE) || defined(NOCRYPT)
+SUBDIR+= libcrypt
+.else
+SUBDIR+= ../secure/lib/libcrypt
+.endif
+
.if !exists(../secure) || defined(NOSECURE)
SUBDIR+= libtelnet
.else
OpenPOWER on IntegriCloud