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 libsctp \ 79 libsdp \ 80 ${_libsm} \ 81 libsmb \ 82 ${_libsmdb} \ 83 ${_libsmutil} \ 84 libstand \ 85 libtcplay \ 86 libtelnet \ 87 ${_libusb} \ 88 ${_libusbhid} \ 89 libvgl \ 90 libwrap \ 91 liby \ 92 libypclnt \ 93 libz \ 94 pam_module 95 96.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile) 97SUBDIR+= compat/${MACHINE_ARCH} 98.endif 99 100.if !defined(NO_LIBC_R) 101_libc_r= libc_r 102.endif 103 104.if !defined(NO_SENDMAIL) 105_libmilter= libmilter 106_libsm= libsm 107_libsmdb= libsmdb 108_libsmutil= libsmutil 109.endif 110 111.if defined(WANT_NETGRAPH7) 112_libnetgraph= libnetgraph7 113.else 114_libnetgraph= libnetgraph 115.endif 116 117.if !defined(WANT_OLDUSB) 118_libusb= libusb 119_libusbhid= libu4bhid 120.else 121_libusbhid= libusbhid 122.endif 123 124.include <bsd.subdir.mk> 125