1 # @(#)Makefile 8.1 (Berkeley) 6/4/93
4 # To satisfy shared library or ELF linkage when only the libraries being
7 # csu must be built before all shared libaries for ELF.
8 # libcom_err must be built before libkrb, libpam and libss.
9 # libcrypt must be built before libkrb, libpam and libskey.
10 # msun must be built before libg++ and libstdc++.
11 # libmd must be built before libatm, libopie, libradius, libskey, and
13 # libncurses must be built before libdialog, libedit and libreadline.
14 # libopie must be built before libpam.
15 # libradius must be built before libpam.
16 # libskey must be built before libpam.
17 # libtacplus must be built before libpam.
18 # libutil must be built before libpam.
20 # Otherwise, the SUBDIR list should be in alphabetical order.
22 SUBDIR= ${_csu} libcom_err ${_libcrypt} msun libmd \
23 libncurses libradius libskey libtacplus libutil \
24 ${_compat} libalias libatm ${_libbind} libc ${_libc_r} libcalendar \
25 libcam libcompat libdevstat libdisk libedit libfetch libform \
26 libftpio libgnumalloc ${_libio} libipsec libipx libkvm libmenu \
28 libnetgraph libopie libpam libpanel libpcap \
29 libposix1e libresolv librpcsvc ${_libsmdb} libss ${_libsmutil} \
30 libstand ${_libtelnet} libusb ${_libvgl} libwrap libxpg4 liby libz
32 .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT})
33 _csu=csu/${MACHINE_ARCH}-${OBJFORMAT}
34 .elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
35 _csu=csu/${MACHINE_ARCH}
38 .if !defined(NOLIBC_R)
46 .if !defined(NO_SENDMAIL)
52 .if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT) && !defined(NO_DESCRYPT)
53 # Build both libraries. They have different names, so no harm,
54 # and this avoids having stale libscrypt.*
55 _libcrypt+= ../secure/lib/libcrypt
58 .if ${MACHINE_ARCH} == "i386"
64 .if ${MACHINE_ARCH} == "alpha"
68 .if defined(RELEASEDIR) || \
69 (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
70 defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
74 .include <bsd.subdir.mk>