libkiconv: Remove unneeded SHLIBDIR in the Makefile.
[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 \
0c3a8cd0 50 libdmsg \
8396b091
PA
51 libedit \
52 libevtr \
53 libexpat \
54 libfetch \
55 libfsid \
56 libftpio \
fb464fc9 57 libhammer \
8396b091
PA
58 libipsec \
59 libipx \
60 libkcore \
61 libkiconv \
62 libkinfo \
63 libkvm \
64 libldns \
10cbe914 65 liblzma \
8396b091
PA
66 libm \
67 libmagic \
68 ${_libmilter} \
69 libncp \
0b2472ed 70 ${_libnetgraph} \
8396b091
PA
71 libopie \
72 libpam \
73 libpcap \
74 libposix1e \
75 libprop \
ab5617b3 76 libpuffs \
b91ba8ad 77 librefuse \
8396b091
PA
78 librpcsvc \
79 librt \
80 libsctp \
81 libsdp \
82 ${_libsm} \
83 libsmb \
84 ${_libsmdb} \
85 ${_libsmutil} \
86 libstand \
0d9ba1e1 87 libtcplay \
8396b091 88 libtelnet \
1d96047e 89 ${_libusb} \
d884d710 90 ${_libusbhid} \
8396b091
PA
91 libvgl \
92 libwrap \
93 libxpg4 \
94 liby \
95 libypclnt \
96 libz \
97 pam_module
984263bc 98
d63c503b
MD
99.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
100SUBDIR+= compat/${MACHINE_ARCH}
101.endif
102
cecff5c1 103.if !defined(NO_LIBC_R)
984263bc
MD
104_libc_r= libc_r
105.endif
106
984263bc
MD
107.if !defined(NO_SENDMAIL)
108_libmilter= libmilter
109_libsm= libsm
110_libsmdb= libsmdb
111_libsmutil= libsmutil
112.endif
113
0b2472ed
NA
114.if defined(WANT_NETGRAPH7)
115_libnetgraph= libnetgraph7
116.else
117_libnetgraph= libnetgraph
118.endif
119
d884d710 120.if defined(WANT_USB4BSD)
1d96047e 121_libusb= libusb
d884d710
SW
122_libusbhid= libu4bhid
123.else
124_libusbhid= libusbhid
125.endif
126
984263bc 127.include <bsd.subdir.mk>