1# @(#)Makefile 8.1 (Berkeley) 6/4/93 2# $FreeBSD: src/lib/Makefile,v 1.107.2.16 2002/10/10 19:24:35 kbyanc Exp $ 3 4# To satisfy shared library or ELF linkage when only the libraries being 5# built are visible: 6# 7# ${_libc_r} must be built before libpthread. 8# libcom_err must be built before libpam. 9# libcrypt must be built before libpam. 10# libmd must be built before libarchive, libopie, libradius, and libtacplus. 11# libncurses must be built before libdialog and libedit. 12# libradius must be built before libpam. 13# libsbuf must be built before libcam. 14# libtacplus must be built before libpam. 15# libthread_xu must be built before libpthread. 16# libutil must be built before libpam. 17# libpthread must be built before libprop. 18# 19# Otherwise, the SUBDIR list should be in alphabetical order. 20 21SUBDIR_ORDERED= ${_libc_r} \ 22 libcom_err \ 23 libcrypt \ 24 libmd \ 25 libncurses \ 26 libradius \ 27 libsbuf \ 28 libtacplus \ 29 libthread_xu \ 30 libutil \ 31 libpthread 32SUBDIR= ${SUBDIR_ORDERED} \ 33 csu \ 34 i18n_module \ 35 libalias \ 36 libarchive \ 37 libbluetooth \ 38 libbz2 \ 39 libc \ 40 libc_rtld \ 41 libcalendar \ 42 libcam \ 43 libcompat \ 44 libdevattr \ 45 libdevinfo \ 46 libdevstat \ 47 libdl \ 48 libdm \ 49 ${xxxlibdmsg} \ 50 libedit \ 51 libevtr \ 52 libexpat \ 53 libfetch \ 54 libfsid \ 55 libftpio \ 56 libhammer \ 57 libipsec \ 58 libkcore \ 59 libkiconv \ 60 libkinfo \ 61 libkvm \ 62 libldns \ 63 liblzma \ 64 libm \ 65 libmagic \ 66 libmandoc \ 67 ${_libmilter} \ 68 ${_libnetgraph} \ 69 libopie \ 70 libpam \ 71 libpcap \ 72 libposix1e \ 73 libprop \ 74 libpuffs \ 75 librefuse \ 76 librpcsvc \ 77 librt \ 78 libsdp \ 79 ${_libsm} \ 80 libsmb \ 81 ${_libsmdb} \ 82 ${_libsmutil} \ 83 libstand \ 84 libtcplay \ 85 libtelnet \ 86 libusb \ 87 libu4bhid \ 88 libvgl \ 89 libwrap \ 90 liby \ 91 libypclnt \ 92 libz \ 93 pam_module 94 95.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile) 96SUBDIR+= compat/${MACHINE_ARCH} 97.endif 98 99.if !defined(NO_LIBC_R) 100_libc_r= libc_r 101.endif 102 103.if !defined(NO_SENDMAIL) 104_libmilter= libmilter 105_libsm= libsm 106_libsmdb= libsmdb 107_libsmutil= libsmutil 108.endif 109 110.if defined(WANT_NETGRAPH7) 111_libnetgraph= libnetgraph7 112.else 113_libnetgraph= libnetgraph 114.endif 115 116.include <bsd.subdir.mk> 117