1 # @(#)Makefile 8.1 (Berkeley) 6/4/93
2 # $FreeBSD: src/lib/Makefile,v 1.107.2.16 2002/10/10 19:24:35 kbyanc Exp $
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 and libpam.
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 # libradius must be built before libpam.
15 # libskey 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 msun libmd \
23 libncurses libradius libskey libtacplus libutil libsbuf \
24 ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} libcalendar \
25 libcam libcompat libdevstat libdisk libedit libfetch libform \
26 libftpio ${_libio} libipsec libipx libisc libkvm libmenu \
27 ${_libmilter} ${_libncp} \
28 libnetgraph libopie libpam libpanel libpcap \
29 libposix1e librpcsvc ${_libsm} ${_libsmb} ${_libsmdb} \
31 libstand ${_libtelnet} libusbhid ${_libvgl} libwrap libxpg4 liby libz
33 .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT})
34 _csu=csu/${MACHINE_ARCH}-${OBJFORMAT}
35 .elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
36 _csu=csu/${MACHINE_ARCH}
39 .if !defined(NOLIBC_R)
47 .if !defined(NO_SENDMAIL)
54 .if ${MACHINE_ARCH} == "i386"
61 .if ${MACHINE_ARCH} == "alpha"
66 .if defined(RELEASEDIR) || \
67 (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
68 defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
72 .include <bsd.subdir.mk>