- In dc_intr(), check IFF_RUNNING instead of IFF_UP; this closes a possible
[dragonfly/netmp.git] / lib / Makefile
blob632533d8705a6e607d6e79e527a70aa06614b851
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.34 2008/07/23 14:09:05 swildner 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, libpam and libskey.
10 # libmd must be built before libatm, libopie, libradius, libskey, and
11 # libtacplus.
12 # libncurses must be built before libdialog, libedit and libreadline.
13 # libradius must be built before libpam.
14 # libskey must be built before libpam.
15 # libtacplus must be built before libpam.
16 # libutil must be built before libpam.
17 # libsbuf must be built before libcam.
18 # libthread_xu must be built before libpthread.
19 # ${_libc_r} must be built before libpthread.
21 # Otherwise, the SUBDIR list should be in alphabetical order.
23 SUBDIR= libarchive libbluetooth libcom_err libcrypt libm libmd \
24 libncurses libradius libskey libtacplus libutil libsbuf \
25 libalias libatm ${_libbind} ${_libbind9} libbz2 libc ${_libc_r} \
26 libcalendar libcam libcompat libdevstat libedit libevent libfetch \
27 libftpio libipsec libipx libisc libkcore libkinfo libkvm libmagic \
28 ${_libmilter} ${_libncp} libnetgraph libopie libpam \
29 libpcap libposix1e libsdp libthread_xu libpthread librpcsvc ${_libsm} \
30 ${_libsmb} ${_libsmdb} ${_libsmutil} libstand libtelnet libusbhid \
31 ${_libvgl} libwrap libxpg4 liby libz i18n_module pam_module \
32 libc_rtld libsctp
34 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
35 SUBDIR+= compat/${MACHINE_ARCH}
36 .endif
38 .if !defined(NO_LIBC_R)
39 _libc_r= libc_r
40 .endif
42 .if !defined(NO_BIND)
43 _libbind= libbind
44 _libbind9= libbind9
45 .endif
47 .if !defined(NO_SENDMAIL)
48 _libmilter= libmilter
49 _libsm= libsm
50 _libsmdb= libsmdb
51 _libsmutil= libsmutil
52 .endif
54 .if ${MACHINE_ARCH} == "i386"
55 _libncp= libncp
56 _libsmb= libsmb
57 _libvgl= libvgl
58 .endif
60 .include <bsd.subdir.mk>