diff options
author | Mark Murray <markm@FreeBSD.org> | 1999-09-01 09:12:16 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 1999-09-01 09:12:16 +0000 |
commit | 7b2d810a976910ac8504aa881b90172020f23534 (patch) | |
tree | 837daa05e430ab2826dd4515d0f6593f75a59352 /lib/Makefile | |
parent | 74b128bad658116f19df248d66a965f680d96793 (diff) | |
download | src-7b2d810a976910ac8504aa881b90172020f23534.tar.gz src-7b2d810a976910ac8504aa881b90172020f23534.zip |
Make the libcrypt's build in the correct order.
Notes
Notes:
svn path=/head/; revision=50738
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/Makefile b/lib/Makefile index 23f75a3ddcd7..579d4ccdde4e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -9,7 +9,7 @@ # libcrypt must be built before libskey. # libm must be built before libstdc++. # libmd must be built before libatm, libopie, libradius, libskey, -# and libtacplus. +# libtacplus and libcrypt. # libncurses must be built before libdialog, libedit and libreadline. # libradius must be built before libpam. # libskey must be built before libpam. @@ -17,7 +17,7 @@ # # Otherwise, the SUBDIR list should be in alphabetical order. -SUBDIR= ${_csu} libcom_err ${_libcrypt} ${_libm} libmd \ +SUBDIR= ${_csu} libcom_err ${_libm} libmd ${_libcrypt} \ libradius libskey libtacplus \ ${_compat} libalias libatm libbind libc ${_libc_r} libcalendar libcam \ libcompat libdevstat libdisk libncurses libedit libfetch \ @@ -37,12 +37,11 @@ _csu=csu/${MACHINE_ARCH} _libc_r= libc_r .endif +_libcrypt= libcrypt +.if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT) # Build both libraries. They have different names, so no harm, # and this avoids having stale libscrypt.* -.if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT) -_libcrypt= ../secure/lib/libcrypt libcrypt -.else -_libcrypt= libcrypt +_libcrypt+= ../secure/lib/libcrypt .endif .if ${MACHINE_ARCH} == "i386" |