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