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 and libpam.
10 # libkvm must be built before libdevstat.
11 # msun must be built before libg++ and libstdc++.
12 # libmd must be built before libatm, libopie, libradius, and libtacplus.
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 # libtacplus must be built before libpam.
17 # libutil must be built before libpam.
18 # libsbuf must be built before libcam.
20 # Otherwise, the SUBDIR list should be in alphabetical order.
22 SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \
23 libncurses libradius libtacplus libutil libsbuf \
24 ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \
25 libcalendar libcam libcompat libdevinfo libdevstat libdisk \
26 libedit libfetch libform libftpio libgnumalloc ${_libio} libipsec \
27 libipx libisc libmenu ${_libmp} ${_libncp} \
28 libnetgraph libopie libpam libpanel libpcap \
29 libresolv librpcsvc libsmdb libsmutil libss \
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}/Makefile)
35 _csu=csu/${MACHINE_ARCH}
40 .if !defined(NOLIBC_R)
48 .if ${MACHINE_ARCH} == "i386"
54 .if ${MACHINE_ARCH} == "alpha"
59 .if defined(RELEASEDIR) || \
60 (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
61 defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
65 .if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
69 .include <bsd.subdir.mk>