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