usb4bsd: Pull up libusb and usbcontrol to FreeBSD current's.
[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#
8396b091
PA
7# ${_libc_r} must be built before libpthread.
8# libcom_err must be built before libpam.
9# libcrypt must be built before libpam.
50ef37d2 10# libmd must be built before libarchive, libatm, libopie, libradius, and libtacplus.
8396b091 11# libncurses must be built before libdialog and libedit.
984263bc 12# libradius must be built before libpam.
984263bc 13# libsbuf must be built before libcam.
8396b091 14# libtacplus must be built before libpam.
26c2c67b 15# libthread_xu must be built before libpthread.
8396b091 16# libutil must be built before libpam.
9f95f3e0 17# libpthread must be built before libprop.
984263bc
MD
18#
19# Otherwise, the SUBDIR list should be in alphabetical order.
20
8396b091
PA
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 \
2f60b541 48 libdl \
157ae757 49 libdm \
8396b091
PA
50 libedit \
51 libevtr \
52 libexpat \
53 libfetch \
54 libfsid \
55 libftpio \
fb464fc9 56 libhammer \
8396b091
PA
57 libipsec \
58 libipx \
59 libkcore \
60 libkiconv \
61 libkinfo \
62 libkvm \
63 libldns \
10cbe914 64 liblzma \
8396b091
PA
65 libm \
66 libmagic \
67 ${_libmilter} \
68 libncp \
0b2472ed 69 ${_libnetgraph} \
8396b091
PA
70 libopie \
71 libpam \
72 libpcap \
73 libposix1e \
74 libprop \
ab5617b3 75 libpuffs \
b91ba8ad 76 librefuse \
8396b091
PA
77 librpcsvc \
78 librt \
79 libsctp \
80 libsdp \
81 ${_libsm} \
82 libsmb \
83 ${_libsmdb} \
84 ${_libsmutil} \
85 libstand \
0d9ba1e1 86 libtcplay \
8396b091 87 libtelnet \
1d96047e 88 ${_libusb} \
d884d710 89 ${_libusbhid} \
8396b091
PA
90 libvgl \
91 libwrap \
92 libxpg4 \
93 liby \
94 libypclnt \
95 libz \
96 pam_module
984263bc 97
d63c503b
MD
98.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
99SUBDIR+= compat/${MACHINE_ARCH}
100.endif
101
cecff5c1 102.if !defined(NO_LIBC_R)
984263bc
MD
103_libc_r= libc_r
104.endif
105
984263bc
MD
106.if !defined(NO_SENDMAIL)
107_libmilter= libmilter
108_libsm= libsm
109_libsmdb= libsmdb
110_libsmutil= libsmutil
111.endif
112
0b2472ed
NA
113.if defined(WANT_NETGRAPH7)
114_libnetgraph= libnetgraph7
115.else
116_libnetgraph= libnetgraph
117.endif
118
d884d710 119.if defined(WANT_USB4BSD)
1d96047e 120_libusb= libusb
d884d710
SW
121_libusbhid= libu4bhid
122.else
123_libusbhid= libusbhid
124.endif
125
984263bc 126.include <bsd.subdir.mk>