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, libarchive, 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}
28 .if
!defined
(NO_CRYPT
)
29 SUBDIR_ORDERED
+=librecrypto libressl libssh
53 SUBDIR
= ${SUBDIR_ORDERED} \
109 SUBDIR
:= libc
${SUBDIR
:Nlibc
}
112 .if
!defined
(NO_CRYPT
)
113 . if defined
(WANT_HAMMER2
)
121 .if
!defined
(NO_LIBC_R
)
125 .if defined
(WANT_NETGRAPH7
)
126 _libnetgraph
= libnetgraph7
128 _libnetgraph
= libnetgraph
131 .
include <bsd.subdir.mk
>