]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/Makefile
This commit was generated by cvs2svn to compensate for changes in r89750,
[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} ${_libsmb} ${_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 ${MACHINE_ARCH} == "i386"
42 _libgnumalloc=  libgnumalloc
43 _libresolv=     libresolv
44 .endif
45
46 .if !defined(NOLIBC_R) && ${MACHINE_ARCH} != ia64
47 _libc_r=        libc_r
48 .endif
49
50 .if !defined(NO_BIND)
51 _libbind=       libbind
52 .endif
53
54 .if !defined(NO_SENDMAIL)
55 _libsmdb=       libsmdb
56 _libsmutil=     libsmutil
57 .endif
58
59 .if ${MACHINE_ARCH} == "i386"
60 _compat=        compat
61 _libncp=        libncp
62 _libsmb=        libsmb
63 _libvgl=        libvgl
64 .endif
65
66 .if ${MACHINE_ARCH} == "alpha"
67 _libio=         libio
68 _compat=        compat
69 .endif
70
71 .if defined(RELEASEDIR) || \
72     (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
73     defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
74 _libtelnet=     libtelnet
75 .endif
76
77 .if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
78 _libmp=         libmp
79 .endif
80
81 .include <bsd.subdir.mk>