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# [Handled by /usr/src/Makefile.inc1, before this Makefile triggers] 8# libmd must be built before libopie, libtacplus 9# libthread_xu|libc_r must be built before libpthread. 10# libprop must be built before libdevattr 11# 12# libcrypt must be built before libfetch, libarchive, and libradius. 13# libz must be built before libarchive, libmagic. 14# libbz2 must be built before libarchive 15# liblmza must be built before libarchive. 16# libncurses must be built before libedit. 17# libsbuf must be built before libcam. 18# libpcap must be built before libipfw3. 19# libpthread must be built before librt, and libusb. 20# libelf must be built before libexecinfo. 21# 22# Otherwise, the SUBDIR list should be in alphabetical order. 23 24SUBDIR_ORDERED= \ 25 ${_libc_r} \ 26 librecrypto \ 27 libressl \ 28 libcrypt \ 29 libbz2 \ 30 liblzma \ 31 libz \ 32 libutil \ 33 libssh \ 34 libmd \ 35 libopie \ 36 libypclnt \ 37 libncurses \ 38 libradius \ 39 libsbuf \ 40 libtacplus \ 41 libthread_xu \ 42 libpthread \ 43 libfetch \ 44 libedit \ 45 libcam \ 46 libpcap \ 47 libprop \ 48 librt \ 49 libusb \ 50 libelf \ 51 libexecinfo 52 53SUBDIR= ${SUBDIR_ORDERED} \ 54 csu \ 55 i18n_module \ 56 libalias \ 57 libarchive \ 58 libbluetooth \ 59 libc \ 60 libc_rtld \ 61 libcalendar \ 62 libcompat \ 63 libdevattr \ 64 libdevinfo \ 65 libdevstat \ 66 libdl \ 67 libdm \ 68 ${_libdmsg} \ 69 libefivar \ 70 libevtr \ 71 libexpat \ 72 libfsid \ 73 libftpio \ 74 libhammer \ 75 libipfw3 \ 76 libkcore \ 77 libkiconv \ 78 libkinfo \ 79 libkvm \ 80 libm \ 81 libmagic \ 82 ${_libnetgraph} \ 83 libpam \ 84 libposix1e \ 85 librpcsvc \ 86 libsdp \ 87 ${_libsm} \ 88 libsmb \ 89 ${_libsmdb} \ 90 ${_libsmutil} \ 91 libstand \ 92 libtelnet \ 93 libu4bhid \ 94 libvgl \ 95 libwrap \ 96 liby 97 98.if make(install) 99SUBDIR:= libc ${SUBDIR:Nlibc} 100.endif 101 102_libdmsg= libdmsg 103 104SUBDIR+= libldns \ 105 libtcplay 106 107.if !defined(NO_LIBC_R) 108_libc_r= libc_r 109.endif 110 111.if defined(WANT_NETGRAPH7) 112_libnetgraph= libnetgraph7 113.else 114_libnetgraph= libnetgraph 115.endif 116 117.include <bsd.subdir.mk> 118