Augment RB tree macros even more, allowing for static declarations,
[dragonfly/vkernel-mp.git] / lib / Makefile
blob389dfb80b554e19eb44b97d856862c7f43c67a48
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.30 2007/05/17 21:09:47 dillon Exp $
5 # To satisfy shared library or ELF linkage when only the libraries being
6 # built are visible:
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 # libmd must be built before libatm, libopie, libradius, libskey, and
12 # libtacplus.
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= libarchive libcom_err libcrypt libm libmd \
23 libncurses libradius libskey libtacplus libutil libsbuf \
24 libalias libatm ${_libbind} ${_libbind9} libbz2 libc ${_libc_r} \
25 libcalendar libcam libcompat libdevstat libedit libfetch \
26 libftpio libipsec libipx libisc libkcore libkinfo libkvm libmagic \
27 ${_libmilter} ${_libncp} libnetgraph libopie libpam \
28 libpcap libposix1e libpthread librpcsvc ${_libsm} ${_libsmb} \
29 ${_libsmdb} ${_libsmutil} libstand libtelnet libthread_xu libusbhid \
30 ${_libvgl} libwrap libxpg4 liby libz i18n_module pam_module \
31 libc_rtld libsctp
33 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
34 SUBDIR+= compat/${MACHINE_ARCH}
35 .endif
37 .if !defined(NO_LIBC_R)
38 _libc_r= libc_r
39 .endif
41 .if !defined(NO_BIND)
42 _libbind= libbind
43 _libbind9= libbind9
44 .endif
46 .if !defined(NO_SENDMAIL)
47 _libmilter= libmilter
48 _libsm= libsm
49 _libsmdb= libsmdb
50 _libsmutil= libsmutil
51 .endif
53 .if ${MACHINE_ARCH} == "i386"
54 _libncp= libncp
55 _libsmb= libsmb
56 _libvgl= libvgl
57 .endif
59 .include <bsd.subdir.mk>