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