sys/vfs/hammer2: Fix -Wint-in-bool-context warning
[dragonfly.git] / lib / Makefile
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
4 # To satisfy shared library or ELF linkage when only the libraries being
5 # built are visible:
6 #
7 # [Handled by /usr/src/Makefile.inc1, before this Makefile triggers]
8 #    libthread_xu must be built before libpthread.
9 #    libprop must be built before libdevattr
10 #
11 # libcrypt must be built before libfetch, libarchive.
12 # libz must be built before libarchive, libmagic, libssh.
13 # libzstd must be built before libarchive
14 # libbz2 must be built before libarchive
15 # liblmza must be built before libarchive.
16 # libncurses must be built before libedit.
17 # libsbuf must be built before libcam.
18 # libpcap must be built before libipfw3.
19 # libpthread must be built before librt, and libusb.
20 # libutil must be built before libssh.
21 # libldns must be built before libssh.
22 #
23 # Otherwise, the SUBDIR list should be in alphabetical order.
24
25 SUBDIR_ORDERED= \
26         librecrypto \
27         libressl \
28         libcrypt \
29         libbz2 \
30         libzstd \
31         liblzma \
32         libz \
33         libutil \
34         libypclnt \
35         libncurses \
36         libsbuf \
37         libthread_xu \
38         libpthread \
39         libfetch \
40         libedit \
41         libcam \
42         libpcap \
43         libprop \
44         librt \
45         libusb \
46         libexecinfo \
47         libldns \
48         libssh
49
50 SUBDIR= ${SUBDIR_ORDERED} \
51         csu \
52         i18n_module \
53         libalias \
54         libarchive \
55         libbluetooth \
56         libc \
57         libc_rtld \
58         libcalendar \
59         libcompat \
60         libdevattr \
61         libdevinfo \
62         libdevstat \
63         libdl \
64         libdm \
65         ${_libdmsg} \
66         libefivar \
67         libevtr \
68         libexpat \
69         libfsid \
70         libftpio \
71         libhammer \
72         libipfw3 \
73         libkcore \
74         libkiconv \
75         libkinfo \
76         libkvm \
77         libm \
78         libmagic \
79         ${_libnetgraph} \
80         libnvmm \
81         libpam \
82         libposix1e \
83         librpcsvc \
84         libsdp \
85         ${_libsm} \
86         libsmb \
87         ${_libsmdb} \
88         ${_libsmutil} \
89         libstdbuf \
90         libtcplay \
91         libtelnet \
92         libu4bhid \
93         libvgl \
94         libwrap \
95         liby
96
97 .if make(install)
98 SUBDIR:=        libc ${SUBDIR:Nlibc}
99 .endif
100
101 _libdmsg=       libdmsg
102
103 .if defined(WANT_NETGRAPH7)
104 _libnetgraph=   libnetgraph7
105 .else
106 _libnetgraph=   libnetgraph
107 .endif
108
109 .include <bsd.subdir.mk>