]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/Makefile
import ath hal
[FreeBSD/FreeBSD.git] / lib / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 # To satisfy shared library or ELF linkage when only the libraries being
7 # built are visible:
8 #
9 # csu must be built before all shared libaries for ELF.
10 # libc must be built before all other shared libraries.
11 # libcom_err must be built before libkrb5 and libpam.
12 # libcrypt must be built before libkrb5 and libpam.
13 # libkvm must be built before libdevstat.
14 # msun must be built before libg++ and libstdc++.
15 # libmd must be built before libatm, libopie, libradius, and libtacplus.
16 # ncurses must be built before libdialog, libedit and libreadline.
17 # libnetgraph must be built before libbsnmp/modules/snmp_netgraph.
18 # libopie must be built before libpam.
19 # libradius must be built before libpam.
20 # librpcsvc must be built before libpam.
21 # libsbuf must be built before libcam.
22 # libtacplus must be built before libpam.
23 # libutil must be built before libpam.
24 # libypclnt must be built before libpam.
25 # libgssapi must be built before librpcsec_gss
26 #
27 # Otherwise, the SUBDIR list should be in alphabetical order.
28
29 SUBDIR= ${_csu} libc libbsm libcom_err libcrypt libelf libkvm msun libmd \
30         ncurses ${_libnetgraph} libradius librpcsvc libsbuf \
31         libtacplus libutil ${_libypclnt} libalias libarchive ${_libatm} \
32         libbegemot ${_libbluetooth} ${_libbsnmp} libbz2 \
33         libcalendar libcam libcompat libdevinfo libdevstat libdisk \
34         libdwarf libedit libexpat libfetch libftpio libgeom ${_libgpib} \
35         ${_libgssapi} ${_librpcsec_gss} libipsec \
36         ${_libipx} libkiconv libmagic libmemstat ${_libmilter} ${_libmp} \
37         ${_libncp} ${_libngatm} libopie libpam libpcap \
38         ${_libpmc} libproc librt ${_libsdp} ${_libsm} ${_libsmb} \
39         ${_libsmdb} \
40         ${_libsmutil} libstand ${_libtelnet} ${_libthr} libthread_db libufs \
41         libugidfw ${_libusbhid} ${_libusb20} ${_libvgl} libwrap liby libz \
42         ${_bind}
43
44 .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
45 _csu=csu/${MACHINE_ARCH}-elf
46 .elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile)
47 _csu=csu/${MACHINE_ARCH}
48 .else
49 _csu=csu
50 .endif
51
52 # NB: keep these sorted by MK_* knobs
53
54 .if ${MK_ATM} != "no"
55 _libngatm=      libngatm
56 .endif
57
58 .if ${MK_BIND} != "no"
59 _bind=          bind
60 .endif
61
62 .if ${MK_BLUETOOTH} != "no"
63 _libbluetooth=  libbluetooth
64 _libsdp=        libsdp
65 .endif
66
67 .if ${MK_BSNMP} != "no"
68 _libbsnmp=      libbsnmp
69 .endif
70
71 .if ${MK_GPIB} != "no"
72 _libgpib=       libgpib
73 .endif
74
75 .if ${MK_GSSAPI} != "no"
76 _libgssapi=     libgssapi
77 _librpcsec_gss= librpcsec_gss
78 .endif
79
80 .if ${MK_IPX} != "no"
81 _libipx=        libipx
82 .endif
83
84 .if ${MK_LIBTHR} != "no"
85 _libthr=        libthr
86 .endif
87
88 .if ${MK_NETGRAPH} != "no"
89 _libnetgraph=   libnetgraph
90 .endif
91
92 .if ${MK_NIS} != "no"
93 _libypclnt=     libypclnt
94 .endif
95
96 .if ${MACHINE_ARCH} == "i386"
97 .if ${MK_NCP} != "no"
98 _libncp=        libncp
99 .endif
100 _libsmb=        libsmb
101 _libvgl=        libvgl
102 .endif
103
104 .if ${MACHINE_ARCH} == "ia64"
105 _libsmb=        libsmb
106 .endif
107
108 .if ${MACHINE_ARCH} == "amd64"
109 .if ${MK_NCP} != "no"
110 _libncp=        libncp
111 .endif
112 _libsmb=        libsmb
113 .endif
114
115 .if ${MACHINE_ARCH} == "powerpc"
116 _libsmb=        libsmb
117 .endif
118
119 .if ${MK_OPENSSL} != "no"
120 _libmp=         libmp
121 .endif
122
123 .if ${MK_PMC} != "no"
124 _libpmc=        libpmc
125 .endif
126
127 .if ${MK_SENDMAIL} != "no"
128 _libmilter=     libmilter
129 _libsm=         libsm
130 _libsmdb=       libsmdb
131 _libsmutil=     libsmutil
132 .endif
133
134 .if ${MK_TELNET} != "no"
135 _libtelnet=     libtelnet
136 .endif
137
138 .if ${MK_USB} != "no"
139 _libusbhid=     libusbhid
140 _libusb20=      libusb20
141 .endif
142
143 .include <bsd.subdir.mk>