rc.d: Introduce 'dhcp_client' to wrap over dhclient and dhcpcd
[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 #    libmd must be built before libopie, libradius, libtacplus
9 #    libthread_xu|libc_r must be built before libpthread.
10 #    libpthread must be built before liblmza, libprop.
11 #    libprop must be built before libdevattr
12 #
13 # libmd must be built before libfetch, libarchive.
14 # libcrypt must be built before libfetch, libarchive, and libradius.
15 # libz must be built before libarchive, libmagic.
16 # libbz2 must be built before libarchive
17 # libncurses must be built before libedit.
18 # libsbuf must be built before libcam.
19 # libpthread must be built before librt, and libusb.
20 # liblmza must be built before libarchive.
21 # libelf must be built before libexecinfo.
22 #
23 # Otherwise, the SUBDIR list should be in alphabetical order.
24
25 SUBDIR_ORDERED= \
26         ${_libc_r} \
27         librecrypto \
28         libressl \
29         libssh \
30         libcrypt \
31         libarchive \
32         libz \
33         libmd \
34         libncurses \
35         libradius \
36         libsbuf \
37         libtacplus \
38         libthread_xu \
39         libutil \
40         libpthread \
41         liblzma \
42         libfetch \
43         libedit \
44         libcam \
45         librt \
46         libusb \
47         libelf \
48         libexecinfo
49
50 SUBDIR= ${SUBDIR_ORDERED} \
51         libcipher \
52         csu \
53         i18n_module \
54         libalias \
55         libbluetooth \
56         libbz2 \
57         libc \
58         libc_rtld \
59         libcalendar \
60         libcompat \
61         libdevattr \
62         libdevinfo \
63         libdevstat \
64         libdl \
65         libdm \
66         ${_libdmsg} \
67         libefivar \
68         libevtr \
69         libexpat \
70         libfsid \
71         libftpio \
72         libhammer \
73         libipfw3 \
74         libkcore \
75         libkiconv \
76         libkinfo \
77         libkvm \
78         libm \
79         libmagic \
80         ${_libnetgraph} \
81         libopie \
82         libpam \
83         libpcap \
84         libposix1e \
85         libprop \
86         libpuffs \
87         librefuse \
88         librpcsvc \
89         libsdp \
90         ${_libsm} \
91         libsmb \
92         ${_libsmdb} \
93         ${_libsmutil} \
94         libstand \
95         libtelnet \
96         libu4bhid \
97         libvgl \
98         libwrap \
99         liby \
100         libypclnt
101
102 .if make(install)
103 SUBDIR:=        libc ${SUBDIR:Nlibc}
104 .endif
105
106 _libdmsg=       libdmsg
107
108 SUBDIR+=        libldns \
109                 libtcplay
110
111 .if !defined(NO_LIBC_R)
112 _libc_r=        libc_r
113 .endif
114
115 .if defined(WANT_NETGRAPH7) 
116 _libnetgraph=   libnetgraph7
117 .else
118 _libnetgraph=   libnetgraph
119 .endif
120
121 .include <bsd.subdir.mk>