xref: /dragonfly/lib/Makefile (revision d316f7c9)
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, libatm, 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	libatm \
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	libipsec \
59	libipx \
60	libkcore \
61	libkiconv \
62	libkinfo \
63	libkvm \
64	libldns \
65	liblzma \
66	libm \
67	libmagic \
68	libmandoc \
69	${_libmilter} \
70	libncp \
71	${_libnetgraph} \
72	libopie \
73	libpam \
74	libpcap \
75	libposix1e \
76	libprop \
77	libpuffs \
78	librefuse \
79	librpcsvc \
80	librt \
81	libsctp \
82	libsdp \
83	${_libsm} \
84	libsmb \
85	${_libsmdb} \
86	${_libsmutil} \
87	libstand \
88	libtcplay \
89	libtelnet \
90	${_libusb} \
91	${_libusbhid} \
92	libvgl \
93	libwrap \
94	liby \
95	libypclnt \
96	libz \
97	pam_module
98
99.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
100SUBDIR+= compat/${MACHINE_ARCH}
101.endif
102
103.if !defined(NO_LIBC_R)
104_libc_r=	libc_r
105.endif
106
107.if !defined(NO_SENDMAIL)
108_libmilter=	libmilter
109_libsm=		libsm
110_libsmdb=	libsmdb
111_libsmutil=	libsmutil
112.endif
113
114.if defined(WANT_NETGRAPH7)
115_libnetgraph=	libnetgraph7
116.else
117_libnetgraph=	libnetgraph
118.endif
119
120.if defined(WANT_USB4BSD)
121_libusb=	libusb
122_libusbhid=	libu4bhid
123.else
124_libusbhid=	libusbhid
125.endif
126
127.include <bsd.subdir.mk>
128