Fix some pmap races in pc32 and vkernel, and other vkernel issues.
[dragonfly.git] / lib / Makefile
blob1dbedc4ec919ade5c9725b9919c825953b1169d1
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.33 2008/01/30 12:57:50 hasso 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.
19 # libthread_xu must be built before libpthread.
20 # ${_libc_r} must be built before libpthread.
22 # Otherwise, the SUBDIR list should be in alphabetical order.
24 SUBDIR= libarchive libbluetooth libcom_err libcrypt libm libmd \
25 libncurses libradius libskey libtacplus libutil libsbuf \
26 libalias libatm ${_libbind} ${_libbind9} libbz2 libc ${_libc_r} \
27 libcalendar libcam libcompat libdevstat libedit libevent libfetch \
28 libftpio libipsec libipx libisc libkcore libkinfo libkvm libmagic \
29 ${_libmilter} ${_libncp} libnetgraph libopie libpam \
30 libpcap libposix1e libsdp libthread_xu libpthread librpcsvc ${_libsm} \
31 ${_libsmb} ${_libsmdb} ${_libsmutil} libstand libtelnet libusbhid \
32 ${_libvgl} libwrap libxpg4 liby libz i18n_module pam_module \
33 libc_rtld libsctp
35 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
36 SUBDIR+= compat/${MACHINE_ARCH}
37 .endif
39 .if !defined(NO_LIBC_R)
40 _libc_r= libc_r
41 .endif
43 .if !defined(NO_BIND)
44 _libbind= libbind
45 _libbind9= libbind9
46 .endif
48 .if !defined(NO_SENDMAIL)
49 _libmilter= libmilter
50 _libsm= libsm
51 _libsmdb= libsmdb
52 _libsmutil= libsmutil
53 .endif
55 .if ${MACHINE_ARCH} == "i386"
56 _libncp= libncp
57 _libsmb= libsmb
58 _libvgl= libvgl
59 .endif
61 .include <bsd.subdir.mk>