summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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