]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/Makefile
This commit was generated by cvs2svn to compensate for changes in r84493,
[FreeBSD/FreeBSD.git] / lib / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2 # $FreeBSD$
3
4 # To satisfy shared library or ELF linkage when only the libraries being
5 # built are visible:
6 #
7 # csu must be built before all shared libaries for ELF.
8 # libcom_err must be built before libkrb and libpam.
9 # libcrypt must be built before libkrb and libpam.
10 # libkvm must be built before libdevstat.
11 # msun must be built before libg++ and libstdc++.
12 # libmd must be built before libatm, libopie, libradius, and libtacplus.
13 # libncurses must be built before libdialog, libedit and libreadline.
14 # libopie must be built before libpam.
15 # libradius must be built before libpam.
16 # librpcsvc must be built before libpam.
17 # libtacplus must be built before libpam.
18 # libutil must be built before libpam.
19 # libsbuf must be built before libcam.
20 #
21 # Otherwise, the SUBDIR list should be in alphabetical order.
22
23 SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \
24         libncurses libradius librpcsvc libtacplus libutil libsbuf \
25         ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \
26         libcalendar libcam libcompat libdevinfo libdevstat libdisk \
27         libedit libfetch libform libftpio libgnumalloc ${_libio} libipsec \
28         libipx libisc libmenu ${_libmp} ${_libncp} \
29         libnetgraph libopie libpam libpanel libpcap \
30         libresolv libsmdb libsmutil \
31         libstand ${_libtelnet} libusb ${_libvgl} libwrap libxpg4 liby libz
32
33 .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT})
34 _csu=csu/${MACHINE_ARCH}-${OBJFORMAT}
35 .elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile)
36 _csu=csu/${MACHINE_ARCH}
37 .else
38 _csu=csu
39 .endif
40
41 .if !defined(NOLIBC_R)
42 _libc_r=        libc_r
43 .endif
44
45 .if !defined(NO_BIND)
46 _libbind=       libbind
47 .endif
48
49 .if ${MACHINE_ARCH} == "i386"
50 _compat=        compat
51 _libncp=        libncp
52 _libvgl=        libvgl
53 .endif
54
55 .if ${MACHINE_ARCH} == "alpha"
56 _libio=         libio
57 _compat=        compat
58 .endif
59
60 .if defined(RELEASEDIR) || \
61     (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
62     defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
63 _libtelnet=     libtelnet
64 .endif
65
66 .if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
67 _libmp=         libmp
68 .endif
69
70 .include <bsd.subdir.mk>