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 # msun must be built before libg++ and libstdc++.
11 # libmd must be built before libatm, libopie, libradius, and libtacplus.
12 # libncurses must be built before libdialog, libedit and libreadline.
13 # libopie must be built before libpam.
14 # libradius must be built before libpam.
15 # libtacplus must be built before libpam.
16 # libutil must be built before libpam.
17 # libsbuf must be built before libcam.
19 # Otherwise, the SUBDIR list should be in alphabetical order.
21 SUBDIR= ${_csu} libcom_err libcrypt msun libmd \
22 libncurses libradius libtacplus libutil libsbuf \
23 ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \
24 libcalendar libcam libcompat libdevinfo libdevstat libdisk \
25 libedit libfetch libform libftpio libgnumalloc ${_libio} libipsec \
26 libipx libisc libkvm libmenu libmp ${_libncp} \
27 libnetgraph libopie libpam libpanel libpcap \
28 libresolv librpcsvc libsmdb libsmutil libss \
29 libstand ${_libtelnet} libusb ${_libvgl} libwrap libxpg4 liby libz
31 .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT})
32 _csu=csu/${MACHINE_ARCH}-${OBJFORMAT}
33 .elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile)
34 _csu=csu/${MACHINE_ARCH}
39 .if !defined(NOLIBC_R)
47 .if ${MACHINE_ARCH} == "i386"
53 .if ${MACHINE_ARCH} == "alpha"
58 .if defined(RELEASEDIR) || \
59 (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
60 defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
64 .include <bsd.subdir.mk>