]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/Makefile
This commit was generated by cvs2svn to compensate for changes in r171164,
[FreeBSD/FreeBSD.git] / lib / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 # To satisfy shared library or ELF linkage when only the libraries being
7 # built are visible:
8 #
9 # csu must be built before all shared libaries for ELF.
10 # libc must be built before all other shared libraries
11 # libcom_err must be built before libkrb5 and libpam.
12 # libcrypt must be built before libkrb5 and libpam.
13 # libkvm must be built before libdevstat.
14 # msun must be built before libg++ and libstdc++.
15 # libmd must be built before libatm, libopie, libradius, and libtacplus.
16 # ncurses must be built before libdialog, libedit and libreadline.
17 # libnetgraph must be built before libbsnmp/modules/snmp_netgraph.
18 # libopie must be built before libpam.
19 # libradius must be built before libpam.
20 # librpcsvc must be built before libpam.
21 # libsbuf must be built before libcam.
22 # libtacplus must be built before libpam.
23 # libutil must be built before libpam.
24 # libypclnt must be built before libpam.
25 #
26 # Otherwise, the SUBDIR list should be in alphabetical order.
27
28 SUBDIR= ${_csu} libc libbsm libcom_err libcrypt libelf libkvm msun libmd \
29         ncurses libnetgraph libradius librpcsvc libsbuf libtacplus libutil \
30         ${_libypclnt} libalias libarchive ${_libatm} \
31         libbegemot ${_libbluetooth} libbsnmp libbz2 \
32         libcalendar libcam libcompat libdevinfo libdevstat libdisk \
33         libedit libexpat libfetch libftpio libgeom ${_libgpib} \
34         libgssapi libipsec \
35         ${_libipx} libkiconv libmagic libmemstat ${_libmilter} ${_libmp} \
36         ${_libncp} ${_libngatm} libopie libpam libpcap \
37         libpmc ${_libpthread} librt ${_libsdp} ${_libsm} ${_libsmb} \
38         ${_libsmdb} \
39         ${_libsmutil} libstand libtelnet ${_libthr} ${_libthread_db} libufs \
40         libugidfw ${_libusbhid} ${_libvgl} libwrap liby libz ${_bind}
41
42 .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
43 _csu=csu/${MACHINE_ARCH}-elf
44 .elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile)
45 _csu=csu/${MACHINE_ARCH}
46 .else
47 _csu=csu
48 .endif
49
50 .if ${MK_ATM} != "no"
51 _libatm=        libatm
52 _libngatm=      libngatm
53 .endif
54
55 .if ${MK_BIND} != "no"
56 _bind=          bind
57 .endif
58
59 .if ${MK_BLUETOOTH} != "no"
60 _libbluetooth=  libbluetooth
61 _libsdp=        libsdp
62 .endif
63
64 .if ${MK_IPX} != "no"
65 _libipx=        libipx
66 .endif
67
68 .if ${MACHINE_ARCH} == "i386"
69 .if ${MK_NCP} != "no"
70 _libncp=        libncp
71 .endif
72 _libsmb=        libsmb
73 _libvgl=        libvgl
74 .endif
75
76 .if ${MACHINE_ARCH} == "ia64"
77 _libsmb=        libsmb
78 .endif
79
80 .if ${MK_SENDMAIL} != "no"
81 _libmilter=     libmilter
82 _libsm=         libsm
83 _libsmdb=       libsmdb
84 _libsmutil=     libsmutil
85 .endif
86
87 .if ${MK_OPENSSL} != "no"
88 _libmp=         libmp
89 .endif
90
91 .if ${MACHINE_ARCH} == "amd64"
92 .if ${MK_NCP} != "no"
93 _libncp=        libncp
94 .endif
95 _libsmb=        libsmb
96 .endif
97
98 .if ${MACHINE_ARCH} == "powerpc"
99 _libsmb=        libsmb
100 .endif
101
102 .if ${MK_LIBPTHREAD} != "no"
103 _libpthread=    libpthread
104 .endif
105
106 .if ${MK_LIBTHR} != "no"
107 _libthr= libthr
108 .endif
109
110 .if ${MACHINE_ARCH} != "arm"
111 _libthread_db= libthread_db
112 .endif
113
114 .if ${MK_USB} != "no"
115 _libusbhid=     libusbhid
116 .endif
117
118 .if ${MK_NIS} != "no"
119 _libypclnt=     libypclnt
120 .endif
121
122 .if ${MK_GPIB} != "no"
123 _libgpib=       libgpib
124 .endif
125
126 .include <bsd.subdir.mk>