Makefile revision 116862
134Ssmall# @(#)Makefile 8.1 (Berkeley) 6/4/93 234Ssmall# $FreeBSD: head/lib/Makefile 116862 2003-06-26 03:48:23Z peter $ 334Ssmall 434Ssmall# To satisfy shared library or ELF linkage when only the libraries being 534Ssmall# built are visible: 634Ssmall# 734Ssmall# csu must be built before all shared libaries for ELF. 834Ssmall# libcom_err must be built before libkrb and libpam. 934Ssmall# libcrypt must be built before libkrb and libpam. 1034Ssmall# libkvm must be built before libdevstat. 1134Ssmall# msun must be built before libg++ and libstdc++. 1234Ssmall# libmd must be built before libatm, libopie, libradius, and libtacplus. 1334Ssmall# libncurses must be built before libdialog, libedit and libreadline. 1434Ssmall# libopie must be built before libpam. 1534Ssmall# libradius must be built before libpam. 1634Ssmall# librpcsvc must be built before libpam. 1734Ssmall# libsbuf must be built before libcam. 1834Ssmall# libtacplus must be built before libpam. 1934Ssmall# libutil must be built before libpam. 2034Ssmall# libypclnt must be built before libpam. 2134Ssmall# 220Sstevel@tonic-gate# Otherwise, the SUBDIR list should be in alphabetical order. 230Sstevel@tonic-gate 240Sstevel@tonic-gateSUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \ 250Sstevel@tonic-gate libncurses libradius librpcsvc libsbuf libtacplus libutil libypclnt \ 2634Ssmall ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \ 2734Ssmall libcalendar libcam libcompat libdevinfo libdevstat ${_libdisk} \ 280Sstevel@tonic-gate libedit libexpat libfetch libform libftpio libgeom ${_libio} libipsec \ 290Sstevel@tonic-gate libipx libisc libmenu ${_libmilter} ${_libmp} ${_libncp} \ 300Sstevel@tonic-gate libnetgraph libopie libpam libpanel libpcap ${_libpthread} \ 3134Ssmall ${_libsm} ${_libsmb} ${_libsmdb} ${_libsmutil} \ 3234Ssmall libstand ${_libtelnet} ${_libthr} libufs libugidfw libusbhid \ 3334Ssmall ${_libvgl} libwrap libxpg4 liby libz 3434Ssmall 350Sstevel@tonic-gate.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf) 360Sstevel@tonic-gate_csu=csu/${MACHINE_ARCH}-elf 370Sstevel@tonic-gate.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile) 380Sstevel@tonic-gate_csu=csu/${MACHINE_ARCH} 390Sstevel@tonic-gate.else 400Sstevel@tonic-gate_csu=csu 410Sstevel@tonic-gate.endif 420Sstevel@tonic-gate 430Sstevel@tonic-gate.if !defined(NOLIBC_R) 440Sstevel@tonic-gate_libc_r= libc_r 450Sstevel@tonic-gate.endif 4634Ssmall 4734Ssmall.if !defined(NO_BIND) 4834Ssmall_libbind= libbind 4934Ssmall.endif 5034Ssmall 5134Ssmall.if !defined(NO_SENDMAIL) 52_libmilter= libmilter 53_libsm= libsm 54_libsmdb= libsmdb 55_libsmutil= libsmutil 56.endif 57 58.if ${MACHINE_ARCH} == "i386" 59_compat= compat 60_libncp= libncp 61_libsmb= libsmb 62_libvgl= libvgl 63.if !defined(NOLIBPTHREAD) 64_libpthread= libpthread 65.endif 66.if !defined(NOLIBTHR) 67_libthr= libthr 68.endif 69.endif 70 71.if ${MACHINE_ARCH} == "ia64" 72.if !defined(NOLIBTHR) 73_libthr= libthr 74.endif 75.endif 76 77.if ${MACHINE_ARCH} == "alpha" 78_libio= libio 79_compat= compat 80.endif 81 82.if ${MACHINE_ARCH} != "powerpc" 83_libdisk= libdisk 84.endif 85 86.if defined(RELEASEDIR) || \ 87 (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ 88 defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NO_KERBEROS) 89_libtelnet= libtelnet 90.endif 91 92.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) 93_libmp= libmp 94.endif 95 96.include <bsd.subdir.mk> 97