xref: /dragonfly/lib/Makefile (revision ffe53622)
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
25SUBDIR_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
50SUBDIR=	${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	libipsec \
75	libkcore \
76	libkiconv \
77	libkinfo \
78	libkvm \
79	libm \
80	libmagic \
81	${_libnetgraph} \
82	libopie \
83	libpam \
84	libpcap \
85	libposix1e \
86	libprop \
87	libpuffs \
88	librefuse \
89	librpcsvc \
90	libsdp \
91	${_libsm} \
92	libsmb \
93	${_libsmdb} \
94	${_libsmutil} \
95	libstand \
96	libtelnet \
97	libu4bhid \
98	libvgl \
99	libwrap \
100	liby \
101	libypclnt
102
103.if make(install)
104SUBDIR:=	libc ${SUBDIR:Nlibc}
105.endif
106
107_libdmsg=	libdmsg
108
109SUBDIR+=	libldns \
110		libtcplay
111
112.if !defined(NO_LIBC_R)
113_libc_r=	libc_r
114.endif
115
116.if defined(WANT_NETGRAPH7)
117_libnetgraph=	libnetgraph7
118.else
119_libnetgraph=	libnetgraph
120.endif
121
122.include <bsd.subdir.mk>
123