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 $
3 # $DragonFly: src/lib/Makefile,v 1.20 2005/04/29 21:46:41 joerg Exp $
5 # To satisfy shared library or ELF linkage when only the libraries being
8 # csu must be built before all shared libaries for ELF.
9 # libcom_err must be built before libkrb and libpam.
10 # libcrypt must be built before libkrb, libpam and libskey.
11 # msun must be built before libg++ and libstdc++.
12 # libmd must be built before libatm, libopie, libradius, libskey, and
14 # libncurses must be built before libdialog, libedit and libreadline.
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.
19 # libsbuf must be built before libcam.
21 # Otherwise, the SUBDIR list should be in alphabetical order.
23 SUBDIR= ${_csu} csu/common libarchive libcom_err libcrypt msun libmd \
24 libncurses libradius libskey libtacplus libutil libsbuf \
25 libalias libatm ${_libbind} libbz2 libc ${_libc_r} libcalendar \
26 libcam libcompat libdevstat libdisk libedit libfetch libftpio \
27 libipsec libipx libisc libkcore libkinfo libkvm libmagic \
28 ${_libmilter} ${_libncp} libnetgraph libopie libpam \
29 libpcap libposix1e librpcsvc ${_libsm} ${_libsmb} ${_libsmdb} \
30 ${_libsmutil} libstand libtelnet libthread_xu libusbhid ${_libvgl} \
31 libwrap libxpg4 liby libz i18n_module libc_rtld
33 _csu=csu/${MACHINE_ARCH}
35 .if ${MACHINE_ARCH} == "i386"
36 .if !defined(NOLIBC_R)
45 .if !defined(NO_SENDMAIL)
52 .if ${MACHINE_ARCH} == "i386"
58 .include <bsd.subdir.mk>