sysctl: Expose sysctl lock
[dragonfly.git] / lib / Makefile
blob25750b0509ed3355e7183b1958daadf00837cd86
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 $
4 # To satisfy shared library or ELF linkage when only the libraries being
5 # built are visible:
7 # ${_libc_r} must be built before libpthread.
8 # libcom_err must be built before libpam.
9 # libcrypt must be built before libpam.
10 # libmd must be built before libarchive, libopie, libradius, and libtacplus.
11 # libncurses must be built before libdialog and libedit.
12 # libradius must be built before libpam.
13 # libsbuf must be built before libcam.
14 # libtacplus must be built before libpam.
15 # libthread_xu must be built before libpthread.
16 # libutil must be built before libpam.
17 # libpthread must be built before libprop.
19 # Otherwise, the SUBDIR list should be in alphabetical order.
21 SUBDIR_ORDERED= ${_libc_r} \
22 libcom_err \
23 libcrypt \
24 libmd \
25 libncurses \
26 libradius \
27 libsbuf \
28 libtacplus \
29 libthread_xu \
30 libutil \
31 libpthread
32 SUBDIR= ${SUBDIR_ORDERED} \
33 csu \
34 i18n_module \
35 libalias \
36 libarchive \
37 libbluetooth \
38 libbz2 \
39 libc \
40 libc_rtld \
41 libcalendar \
42 libcam \
43 libcompat \
44 libdevattr \
45 libdevinfo \
46 libdevstat \
47 libdl \
48 libdm \
49 ${xxxlibdmsg} \
50 libedit \
51 libevtr \
52 libexpat \
53 libfetch \
54 libfsid \
55 libftpio \
56 libhammer \
57 libipfw3 \
58 libipsec \
59 libkcore \
60 libkiconv \
61 libkinfo \
62 libkvm \
63 libldns \
64 liblzma \
65 libm \
66 libmagic \
67 libmandoc \
68 ${_libnetgraph} \
69 libopie \
70 libpam \
71 libpcap \
72 libposix1e \
73 libprop \
74 libpuffs \
75 librefuse \
76 librpcsvc \
77 librt \
78 libsdp \
79 ${_libsm} \
80 libsmb \
81 ${_libsmdb} \
82 ${_libsmutil} \
83 libstand \
84 libtcplay \
85 libtelnet \
86 libusb \
87 libu4bhid \
88 libvgl \
89 libwrap \
90 liby \
91 libypclnt \
92 libz \
93 pam_module
95 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
96 SUBDIR+= compat/${MACHINE_ARCH}
97 .endif
99 .if !defined(NO_LIBC_R)
100 _libc_r= libc_r
101 .endif
103 .if defined(WANT_NETGRAPH7)
104 _libnetgraph= libnetgraph7
105 .else
106 _libnetgraph= libnetgraph
107 .endif
109 .include <bsd.subdir.mk>