if_ath - Properly remove sysctls on detach.
[dragonfly.git] / lib / Makefile
blob322e0023ce8711ec90dd9aac17f701a6d89e5fb8
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.35 2008/09/30 12:20:29 hasso Exp $
5 # To satisfy shared library or ELF linkage when only the libraries being
6 # built are visible:
8 # libcom_err must be built before libkrb and libpam.
9 # libcrypt must be built before libkrb and libpam.
10 # libmd must be built before libarchive, libatm, libopie, libradius, and libtacplus.
11 # libncurses must be built before libdialog, libedit and libreadline.
12 # libradius must be built before libpam.
13 # libtacplus must be built before libpam.
14 # libutil must be built before libpam.
15 # libsbuf must be built before libcam.
16 # libthread_xu must be built before libpthread.
17 # ${_libc_r} must be built before libpthread.
19 # Otherwise, the SUBDIR list should be in alphabetical order.
21 SUBDIR= csu \
22 libbluetooth libcom_err libcrypt libm libmd libarchive \
23 libncurses libradius librt libtacplus libutil libsbuf \
24 libalias libatm ${_libbind} ${_libbind9} libbz2 libc ${_libc_r} \
25 libcalendar libcam libcompat libdevinfo libdevstat libedit \
26 libevent libexpat libfetch \
27 libftpio libipsec libipx libisc libkcore libkiconv libkinfo \
28 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 libypclnt libz i18n_module pam_module \
33 libc_rtld libsctp
35 .if ${MACHINE_ARCH} == "i386"
36 SUBDIR+= libevtr
37 .endif
39 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
40 SUBDIR+= compat/${MACHINE_ARCH}
41 .endif
43 .if !defined(NO_LIBC_R)
44 _libc_r= libc_r
45 .endif
47 .if !defined(NO_BIND)
48 _libbind= libbind
49 _libbind9= libbind9
50 .endif
52 .if !defined(NO_SENDMAIL)
53 _libmilter= libmilter
54 _libsm= libsm
55 _libsmdb= libsmdb
56 _libsmutil= libsmutil
57 .endif
59 _libncp= libncp
60 _libsmb= libsmb
61 _libvgl= libvgl
63 .include <bsd.subdir.mk>