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