Makefile revision 156813
1222900Snp# @(#)Makefile 8.1 (Berkeley) 6/4/93 2222900Snp# $FreeBSD: head/lib/Makefile 156813 2006-03-17 18:54:44Z ru $ 3222900Snp 4222900Snp.include <bsd.own.mk> 5222900Snp 6222900Snp# To satisfy shared library or ELF linkage when only the libraries being 7222900Snp# built are visible: 8222900Snp# 9222900Snp# csu must be built before all shared libaries for ELF. 10222900Snp# libcom_err must be built before libkrb5 and libpam. 11222900Snp# libcrypt must be built before libkrb5 and libpam. 12222900Snp# libkvm must be built before libdevstat. 13222900Snp# msun must be built before libg++ and libstdc++. 14222900Snp# libmd must be built before libatm, libopie, libradius, and libtacplus. 15222900Snp# libncurses must be built before libdialog, libedit and libreadline. 16222900Snp# libnetgraph must be built before libbsnmp/modules/snmp_netgraph. 17222900Snp# libopie must be built before libpam. 18222900Snp# libradius must be built before libpam. 19222900Snp# librpcsvc must be built before libpam. 20222900Snp# libsbuf must be built before libcam. 21222900Snp# libtacplus must be built before libpam. 22296471Snp# libutil must be built before libpam. 23296471Snp# libypclnt must be built before libpam. 24296471Snp# 25296471Snp# Otherwise, the SUBDIR list should be in alphabetical order. 26296471Snp 27296471SnpSUBDIR= ${_csu} libbsm libcom_err libcrypt libkvm msun libmd libncurses \ 28296471Snp libnetgraph libradius librpcsvc libsbuf libtacplus libutil \ 29296471Snp ${_libypclnt} libalias libarchive ${_libatm} \ 30296471Snp libbegemot ${_libbluetooth} libbsnmp libbz2 libc ${_libc_r} \ 31296471Snp libcalendar libcam libcompat libdevinfo libdevstat libdisk \ 32296471Snp libedit libexpat libfetch libform libftpio libgeom ${_libgpib} \ 33296471Snp libgssapi ${_libio} libipsec \ 34296471Snp libipx libkiconv libmagic libmemstat libmenu ${_libmilter} ${_libmp} \ 35296471Snp ${_libncp} ${_libngatm} libopie libpam libpanel libpcap \ 36296471Snp libpmc ${_libpthread} librt ${_libsdp} ${_libsm} ${_libsmb} \ 37222900Snp ${_libsmdb} \ 38222900Snp ${_libsmutil} libstand libtelnet ${_libthr} ${_libthread_db} libufs \ 39222900Snp libugidfw ${_libusbhid} ${_libvgl} libwrap liby libz ${_bind} 40222900Snp 41222900Snp.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf) 42222900Snp_csu=csu/${MACHINE_ARCH}-elf 43222900Snp.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile) 44222900Snp_csu=csu/${MACHINE_ARCH} 45222900Snp.else 46222900Snp_csu=csu 47222900Snp.endif 48222900Snp 49222900Snp.if ${MK_ATM} != "no" 50222900Snp_libatm= libatm 51222900Snp_libngatm= libngatm 52222900Snp.endif 53222900Snp 54222900Snp.if ${MK_BIND} != "no" 55222900Snp_bind= bind 56222900Snp.endif 57222900Snp 58222900Snp.if ${MK_BLUETOOTH} != "no" 59222900Snp_libbluetooth= libbluetooth 60222900Snp_libsdp= libsdp 61222900Snp.endif 62222900Snp 63222900Snp.if ${MACHINE_ARCH} == "i386" 64222900Snp_libncp= libncp 65222900Snp_libsmb= libsmb 66222900Snp_libvgl= libvgl 67222900Snp.endif 68222900Snp 69222900Snp.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "ia64" && \ 70222900Snp ${MACHINE_ARCH} != "powerpc" && ${MK_LIBC_R} != "no" 71222900Snp_libc_r= 72222900Snp.endif 73222900Snp 74222900Snp.if ${MACHINE_ARCH} == "alpha" 75222900Snp_libio= libio 76222900Snp.endif 77222900Snp 78222900Snp.if ${MK_SENDMAIL} != "no" 79222900Snp_libmilter= libmilter 80222900Snp_libsm= libsm 81222900Snp_libsmdb= libsmdb 82222900Snp_libsmutil= libsmutil 83222900Snp.endif 84222900Snp 85222900Snp.if ${MK_OPENSSL} != "no" 86222900Snp_libmp= libmp 87222900Snp.endif 88296471Snp 89296471Snp.if ${MACHINE_ARCH} == "amd64" 90296471Snp_libncp= libncp 91296471Snp_libsmb= libsmb 92296471Snp.endif 93222900Snp 94222900Snp.if ${MACHINE_ARCH} == "powerpc" 95222900Snp_libsmb= libsmb 96222900Snp.endif 97296471Snp 98296471Snp.if ${MK_LIBPTHREAD} != "no" 99296471Snp_libpthread= libpthread 100296471Snp.endif 101296471Snp 102296471Snp.if ${MK_LIBTHR} != "no" 103296471Snp_libthr= libthr 104296471Snp.endif 105296471Snp 106296471Snp.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "powerpc" 107296471Snp_libthread_db= libthread_db 108296471Snp.endif 109296471Snp 110296471Snp.if ${MK_USB} != "no" 111296471Snp_libusbhid= libusbhid 112296471Snp.endif 113296471Snp 114296471Snp.if ${MK_NIS} != "no" 115296471Snp_libypclnt= libypclnt 116296471Snp.endif 117296471Snp 118296471Snp.if ${MK_GPIB} != "no" 119296471Snp_libgpib= libgpib 120296471Snp.endif 121296471Snp 122296471Snp.include <bsd.subdir.mk> 123296471Snp