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