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 28SUBDIR= ${_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 ${_libkse} 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# Disabled in 7.0 as netatm is not MPSAFE. 52#_libatm= libatm 53_libngatm= libngatm 54.endif 55 56.if ${MK_BIND} != "no" 57_bind= bind 58.endif 59 60.if ${MK_BLUETOOTH} != "no" 61_libbluetooth= libbluetooth 62_libsdp= libsdp 63.endif 64 65.if ${MK_IPX} != "no" 66_libipx= libipx 67.endif 68 69.if ${MACHINE_ARCH} == "i386" 70.if ${MK_NCP} != "no" 71_libncp= libncp 72.endif 73_libsmb= libsmb 74_libvgl= libvgl 75.endif 76 77.if ${MACHINE_ARCH} == "ia64" 78_libsmb= libsmb 79.endif 80 81.if ${MK_SENDMAIL} != "no" 82_libmilter= libmilter 83_libsm= libsm 84_libsmdb= libsmdb 85_libsmutil= libsmutil 86.endif 87 88.if ${MK_OPENSSL} != "no" 89_libmp= libmp 90.endif 91 92.if ${MACHINE_ARCH} == "amd64" 93.if ${MK_NCP} != "no" 94_libncp= libncp 95.endif 96_libsmb= libsmb 97.endif 98 99.if ${MACHINE_ARCH} == "powerpc" 100_libsmb= libsmb 101.endif 102 103.if ${MK_LIBKSE} != "no" 104_libkse= libkse 105.endif 106 107.if ${MK_LIBTHR} != "no" 108_libthr= libthr 109.endif 110 111.if ${MACHINE_ARCH} != "arm" 112_libthread_db= libthread_db 113.endif 114 115.if ${MK_USB} != "no" 116_libusbhid= libusbhid 117.endif 118 119.if ${MK_NIS} != "no" 120_libypclnt= libypclnt 121.endif 122 123.if ${MK_GPIB} != "no" 124_libgpib= libgpib 125.endif 126 127.include <bsd.subdir.mk> 128