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# libbsm must be built before ibauditd. 12# libcom_err must be built before libkrb5 and libpam. 13# libcrypt must be built before libkrb5 and libpam. 14# libkvm must be built before libdevstat. 15# msun must be built before libg++ and libstdc++. 16# libmd must be built before libatm, libopie, libradius, and libtacplus. 17# ncurses must be built before libdialog, libedit and libreadline. 18# libnetgraph must be built before libbsnmp/modules/snmp_netgraph. 19# libopie must be built before libpam. 20# libradius must be built before libpam. 21# librpcsvc must be built before libpam. 22# libsbuf must be built before libcam. 23# libtacplus must be built before libpam. 24# libutil must be built before libpam. 25# libypclnt must be built before libpam. 26# libgssapi must be built before librpcsec_gss 27# 28# Otherwise, the SUBDIR list should be in alphabetical order. 29 30SUBDIR= ${_csu} libc libbsm libauditd libcom_err libcrypt libelf libkvm msun \ 31 libmd \ 32 ncurses ${_libnetgraph} libradius librpcsvc libsbuf \ 33 libtacplus libutil ${_libypclnt} libalias libarchive ${_libatm} \ 34 libbegemot ${_libbluetooth} ${_libbsnmp} libbz2 \ 35 libcalendar libcam libcompat libdevinfo libdevstat libdisk \ 36 libdwarf libedit libexpat libfetch libftpio libgeom ${_libgpib} \ 37 ${_libgssapi} ${_librpcsec_gss} libipsec \ 38 ${_libipx} libkiconv libmagic libmemstat ${_libmilter} ${_libmp} \ 39 ${_libncp} ${_libngatm} libopie libpam libpcap \ 40 ${_libpmc} libproc librt ${_libsdp} ${_libsm} ${_libsmb} \ 41 ${_libsmdb} \ 42 ${_libsmutil} libstand ${_libtelnet} ${_libthr} libthread_db libufs \ 43 libugidfw ${_libusbhid} ${_libusb20} ${_libvgl} libwrap liby libz \ 44 ${_bind} 45 46.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf) 47_csu=csu/${MACHINE_ARCH}-elf 48.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile) 49_csu=csu/${MACHINE_ARCH} 50.else 51_csu=csu 52.endif 53 54# NB: keep these sorted by MK_* knobs 55 56.if ${MK_ATM} != "no" 57_libngatm= libngatm 58.endif 59 60.if ${MK_BIND} != "no" 61_bind= bind 62.endif 63 64.if ${MK_BLUETOOTH} != "no" 65_libbluetooth= libbluetooth 66_libsdp= libsdp 67.endif 68 69.if ${MK_BSNMP} != "no" 70_libbsnmp= libbsnmp 71.endif 72 73.if ${MK_GPIB} != "no" 74_libgpib= libgpib 75.endif 76 77.if ${MK_GSSAPI} != "no" 78_libgssapi= libgssapi 79_librpcsec_gss= librpcsec_gss 80.endif 81 82.if ${MK_IPX} != "no" 83_libipx= libipx 84.endif 85 86.if ${MK_LIBTHR} != "no" 87_libthr= libthr 88.endif 89 90.if ${MK_NETGRAPH} != "no" 91_libnetgraph= libnetgraph 92.endif 93 94.if ${MK_NIS} != "no" 95_libypclnt= libypclnt 96.endif 97 98.if ${MACHINE_ARCH} == "i386" 99.if ${MK_NCP} != "no" 100_libncp= libncp 101.endif 102_libsmb= libsmb 103_libvgl= libvgl 104.endif 105 106.if ${MACHINE_ARCH} == "ia64" 107_libsmb= libsmb 108.endif 109 110.if ${MACHINE_ARCH} == "amd64" 111.if ${MK_NCP} != "no" 112_libncp= libncp 113.endif 114_libsmb= libsmb 115.endif 116 117.if ${MACHINE_ARCH} == "powerpc" 118_libsmb= libsmb 119.endif 120 121.if ${MK_OPENSSL} != "no" 122_libmp= libmp 123.endif 124 125.if ${MK_PMC} != "no" 126_libpmc= libpmc 127.endif 128 129.if ${MK_SENDMAIL} != "no" 130_libmilter= libmilter 131_libsm= libsm 132_libsmdb= libsmdb 133_libsmutil= libsmutil 134.endif 135 136.if ${MK_TELNET} != "no" 137_libtelnet= libtelnet 138.endif 139 140.if ${MK_USB} != "no" 141_libusbhid= libusbhid 142_libusb20= libusb20 143.endif 144 145.include <bsd.subdir.mk> 146