]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/Makefile
This commit was generated by cvs2svn to compensate for changes in r98681,
[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 # libsbuf must be built before libcam.
18 # libtacplus must be built before libpam.
19 # libutil must be built before libpam.
20 # libypclnt must be built before libpam.
21 #
22 # Otherwise, the SUBDIR list should be in alphabetical order.
23
24 SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \
25         libncurses libradius librpcsvc libsbuf libtacplus libutil libypclnt \
26         ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \
27         libcalendar libcam libcompat libdevinfo libdevstat libdisk \
28         libedit libfetch libform libftpio ${_libio} libipsec \
29         libipx libisc libmenu ${_libmilter} ${_libmp} ${_libncp} \
30         libnetgraph libopie libpam libpanel libpcap \
31         ${_libsm} ${_libsmb} ${_libsmdb} ${_libsmutil} \
32         libstand ${_libtelnet} libusbhid ${_libvgl} libwrap libxpg4 liby libz
33
34 .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT})
35 _csu=csu/${MACHINE_ARCH}-${OBJFORMAT}
36 .elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile)
37 _csu=csu/${MACHINE_ARCH}
38 .else
39 _csu=csu
40 .endif
41
42 .if !defined(NOLIBC_R) && ${MACHINE_ARCH} != ia64 && ${MACHINE_ARCH} != sparc64
43 _libc_r=        libc_r
44 .endif
45
46 .if !defined(NO_BIND)
47 _libbind=       libbind
48 .endif
49
50 .if !defined(NO_SENDMAIL)
51 _libmilter=     libmilter
52 _libsm=         libsm
53 _libsmdb=       libsmdb
54 _libsmutil=     libsmutil
55 .endif
56
57 .if ${MACHINE_ARCH} == "i386"
58 _compat=        compat
59 _libncp=        libncp
60 _libsmb=        libsmb
61 _libvgl=        libvgl
62 .endif
63
64 .if ${MACHINE_ARCH} == "alpha"
65 _libio=         libio
66 _compat=        compat
67 .endif
68
69 .if defined(RELEASEDIR) || \
70     (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
71     defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
72 _libtelnet=     libtelnet
73 .endif
74
75 .if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) \
76     && !defined(NOSECURE)
77 _libmp=         libmp
78 .endif
79
80 .include <bsd.subdir.mk>