Build both libscrypt and libdescrypt. There is no point in letting

libscrypt stagnate, even if it is superceded by libdescrypt. It is
a tiny library anyway, and building it is inexpensive.
This commit is contained in:
Mark Murray 1998-03-21 08:18:57 +00:00
parent c0a3aab811
commit efa3929e79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34738

View File

@ -29,14 +29,11 @@ _csu=csu/${MACHINE_ARCH}
_libc_r= libc_r
.endif
.if !exists(${.CURDIR}/../secure) || defined(NOSECURE) || defined(NOCRYPT)
# Build both libraries. They have different names, so no harm,
# and this avoids having stale libscrypt.*
_libcrypt= libcrypt
.else
_libcrypt= ../secure/lib/libcrypt
# Releases need both libraries.
.if defined(RELEASEDIR)
_libcrypt+= libcrypt
.endif
.if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT)
_libcrypt+= ../secure/lib/libcrypt
.endif
.if ${MACHINE_ARCH} == "i386"