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