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