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