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# libopie must be built before libpam. 15# libradius must be built before libpam. 16# librpcsvc must be built before libpam. 17# libsbuf must be built before libcam. 18# libtacplus must be built before libpam. 19# libutil must be built before libpam. 20# libypclnt must be built before libpam. 21# 22# Otherwise, the SUBDIR list should be in alphabetical order. 23 24SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \ 25 libncurses libradius librpcsvc libsbuf libtacplus libutil libypclnt \ 26 ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \ 27 libcalendar libcam libcompat libdevinfo libdevstat ${_libdisk} \ 28 libedit libexpat libfetch libform libftpio libgeom ${_libio} libipsec \ 29 libipx libisc libmenu ${_libmilter} ${_libmp} ${_libncp} \ 30 libnetgraph libopie libpam libpanel libpcap ${_libpthread} \ 31 ${_libsm} ${_libsmb} ${_libsmdb} ${_libsmutil} \ 32 libstand libtelnet ${_libthr} libufs libugidfw libusbhid \ 33 ${_libvgl} libwrap libxpg4 liby libz 34 35.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf) 36_csu=csu/${MACHINE_ARCH}-elf 37.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile) 38_csu=csu/${MACHINE_ARCH} 39.else 40_csu=csu 41.endif 42 43# libc_r is obsolete on ia64. 44.if ${MACHINE_ARCH} != "ia64" 45.if !defined(NOLIBC_R) 46_libc_r= libc_r 47.endif 48.endif 49 50.if !defined(NO_BIND) 51_libbind= libbind 52.endif 53 54.if !defined(NO_SENDMAIL) 55_libmilter= libmilter 56_libsm= libsm 57_libsmdb= libsmdb 58_libsmutil= libsmutil 59.endif 60 61.if ${MACHINE_ARCH} == "i386" 62_compat= compat 63_libncp= libncp 64_libsmb= libsmb 65_libvgl= libvgl 66.endif 67 68.if ${MACHINE_ARCH} == "alpha" 69_libio= libio 70_compat= compat 71.endif 72 73.if ${MACHINE_ARCH} == "amd64" 74_libncp= libncp 75_libsmb= libsmb 76.endif 77 78.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "sparc64" 79.if !defined(NOLIBPTHREAD) 80_libpthread= libpthread 81.endif 82.endif 83 84.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "powerpc" 85.if !defined(NOLIBTHR) 86_libthr= libthr 87.endif 88.endif 89 90.if ${MACHINE_ARCH} != "powerpc" 91_libdisk= libdisk 92.endif 93 94.if !defined(NOCRYPT) && !defined(NO_OPENSSL) 95_libmp= libmp 96.endif 97 98.include <bsd.subdir.mk> 99