Makefile revision 81054
1# @(#)Makefile 8.1 (Berkeley) 6/4/93 2# $FreeBSD: head/lib/Makefile 81054 2001-08-02 15:47:03Z sobomax $ 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 libkrb, libpam and libss. 9# libcrypt must be built before libkrb and libpam. 10# msun must be built before libg++ and libstdc++. 11# libmd must be built before libatm, libopie, libradius, and libtacplus. 12# libncurses must be built before libdialog, libedit and libreadline. 13# libopie must be built before libpam. 14# libradius must be built before libpam. 15# libtacplus must be built before libpam. 16# libutil must be built before libpam. 17# libsbuf must be built before libcam. 18# 19# Otherwise, the SUBDIR list should be in alphabetical order. 20 21SUBDIR= ${_csu} libcom_err libcrypt msun libmd \ 22 libncurses libradius libtacplus libutil libsbuf \ 23 ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \ 24 libcalendar libcam libcompat libdevinfo libdevstat libdisk \ 25 libedit libfetch libform libftpio libgnumalloc ${_libio} libipsec \ 26 libipx libisc libkvm libmenu ${_libmp} ${_libncp} \ 27 libnetgraph libopie libpam libpanel libpcap \ 28 libresolv librpcsvc libsmdb libsmutil libss \ 29 libstand ${_libtelnet} libusb ${_libvgl} libwrap libxpg4 liby libz 30 31.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT}) 32_csu=csu/${MACHINE_ARCH}-${OBJFORMAT} 33.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile) 34_csu=csu/${MACHINE_ARCH} 35.else 36_csu=csu 37.endif 38 39.if !defined(NOLIBC_R) 40_libc_r= libc_r 41.endif 42 43.if !defined(NO_BIND) 44_libbind= libbind 45.endif 46 47.if ${MACHINE_ARCH} == "i386" 48_compat= compat 49_libncp= libncp 50_libvgl= libvgl 51.endif 52 53.if ${MACHINE_ARCH} == "alpha" 54_libio= libio 55_compat= compat 56.endif 57 58.if defined(RELEASEDIR) || \ 59 (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \ 60 defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4)) 61_libtelnet= libtelnet 62.endif 63 64.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) 65_libmp= libmp 66.endif 67 68.include <bsd.subdir.mk> 69