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 $
4 # To satisfy shared library or ELF linkage when only the libraries being
7 # [Handled by /usr/src/Makefile.inc1, before this Makefile triggers]
8 # libmd must be built before libopie, libradius, libtacplus
9 # libthread_xu|libc_r must be built before libpthread.
10 # libpthread must be built before liblmza, libprop.
11 # libprop must be built before libdevattr
12 # libpam must be built before pam_module
14 # libmd must be built before libfetch, libarchive.
15 # libcrypt must be built before libfetch and libradius.
16 # libz must be built before libarchive, libmagic.
17 # libbz2 must be built before libarchive
18 # libncurses must be built before libedit.
19 # libsbuf must be built before libcam.
20 # libpthread must be built before librt, and libusb.
21 # liblmza must be built before libarchive.
22 # libelf must be built before libexecinfo.
24 # Otherwise, the SUBDIR list should be in alphabetical order.
26 SUBDIR_ORDERED= ${_libc_r} \
46 SUBDIR= ${SUBDIR_ORDERED} \
100 SUBDIR:= libc ${SUBDIR:Nlibc}
103 .if !defined(NO_LIBRESSL)
104 . if defined(WANT_HAMMER2)
112 .if !defined(NO_LIBC_R)
116 .if defined(WANT_NETGRAPH7)
117 _libnetgraph= libnetgraph7
119 _libnetgraph= libnetgraph
122 .include <bsd.subdir.mk>