diff options
author | markm <markm@FreeBSD.org> | 1999-09-01 09:12:16 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1999-09-01 09:12:16 +0000 |
commit | 0fd29975909d9f1d13640c570a93e89881354965 (patch) | |
tree | 25ea56c63e41ce9db4dadb2e1fc3f7b3bc8eef23 /lib | |
parent | 780e80b50782553f48d800ffd0e9f9830fb85364 (diff) | |
download | FreeBSD-src-0fd29975909d9f1d13640c570a93e89881354965.zip FreeBSD-src-0fd29975909d9f1d13640c570a93e89881354965.tar.gz |
Make the libcrypt's build in the correct order.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/Makefile b/lib/Makefile index 23f75a3..579d4cc 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" |