Makefile revision f595a68a3b8953a12aa778c2abd7642df8da8c3a
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix#
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# CDDL HEADER START
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix#
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# The contents of this file are subject to the terms of the
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# Common Development and Distribution License (the "License").
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# You may not use this file except in compliance with the License.
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix#
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# or http://www.opensolaris.org/os/licensing.
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# See the License for the specific language governing permissions
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# and limitations under the License.
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix#
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# When distributing Covered Code, include this CDDL HEADER in each
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
eb4caa8f4cdc2955b58dcd2de06fe770533414c8Jon A. Cruz# If applicable, add the following below this CDDL HEADER, with the
eb4caa8f4cdc2955b58dcd2de06fe770533414c8Jon A. Cruz# fields enclosed by brackets "[]" replaced with your own identifying
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# information: Portions Copyright [yyyy] [name of copyright owner]
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix#
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# CDDL HEADER END
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix#
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix#
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# Use is subject to license terms.
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen#
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen# ident "%Z%%M% %I% %E% SMI"
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen#
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix
78f31011c08503bf0d95da30e5f6326d4dd10f8acilixinclude ../Makefile.master
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilix
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# Note that libcurses installs commands along with its library.
947fb2f89245c19c5bad9dbefb9fd44c2aaed2eccilix# This is a minor bug which probably should be fixed.
947fb2f89245c19c5bad9dbefb9fd44c2aaed2eccilix# Note also that a few extra libraries are kept in cmd source.
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen#
624e4bb114c588505c592e405dbad6570e5704feDiederik van Lierop# Certain libraries are linked with, hence depend on, other libraries.
947fb2f89245c19c5bad9dbefb9fd44c2aaed2eccilix#
947fb2f89245c19c5bad9dbefb9fd44c2aaed2eccilix# Although we have historically used .WAIT to express dependencies, it
947fb2f89245c19c5bad9dbefb9fd44c2aaed2eccilix# reduces the amount of parallelism and thus lengthens the time it
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilix# takes to build the libraries. Thus, we now require that any new
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen# libraries explicitly call out their dependencies. Eventually, all
5b20351508dc029f37f23fb7add6d0b43bf47f20johanengelen# the library dependencies will be called out explicitly. See
0b2d8abc1011ad865fce3b883ccb2587cb15cc90Johan B. C. Engelen# "Library interdependencies" near the end of this file.
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilix#
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilix# Aside from explicit dependencies (and legacy .WAITs), all libraries
947fb2f89245c19c5bad9dbefb9fd44c2aaed2eccilix# are built in parallel.
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilix#
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen.PARALLEL:
5b20351508dc029f37f23fb7add6d0b43bf47f20johanengelen
0b2d8abc1011ad865fce3b883ccb2587cb15cc90Johan B. C. Engelen#
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilix# The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilix# but required due to the "dependencies" of using .WAIT to barrier the
5b20351508dc029f37f23fb7add6d0b43bf47f20johanengelen# parallel dmake builds. once 4631488 has been fixed, they can be
0b2d8abc1011ad865fce3b883ccb2587cb15cc90Johan B. C. Engelen# consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
0b2d8abc1011ad865fce3b883ccb2587cb15cc90Johan B. C. Engelen# shown in HDRSUBDIRS
5b20351508dc029f37f23fb7add6d0b43bf47f20johanengelen#
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilixSUBDIRS= \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix common .WAIT \
5b20351508dc029f37f23fb7add6d0b43bf47f20johanengelen ../cmd/sgs/libconv \
0b2d8abc1011ad865fce3b883ccb2587cb15cc90Johan B. C. Engelen ../cmd/sgs/libdl .WAIT
0b2d8abc1011ad865fce3b883ccb2587cb15cc90Johan B. C. Engelen
5b20351508dc029f37f23fb7add6d0b43bf47f20johanengelen$(CLOSED_BUILD)SUBDIRS += \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix $(CLOSED)/lib/libc_i18n
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix
78f31011c08503bf0d95da30e5f6326d4dd10f8acilixSUBDIRS += \
624e4bb114c588505c592e405dbad6570e5704feDiederik van Lierop libc .WAIT \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen ../cmd/sgs/libelf .WAIT \
947fb2f89245c19c5bad9dbefb9fd44c2aaed2eccilix libmd \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libmd5 \
624e4bb114c588505c592e405dbad6570e5704feDiederik van Lierop librsm \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libmp .WAIT \
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński libnsl \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsecdb .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix librpcsvc \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsocket .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsctp \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsip \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libresolv \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libresolv2 .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libw .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libintl .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix ../cmd/sgs/librtld_db \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libaio \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix librt \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libadm \
624e4bb114c588505c592e405dbad6570e5704feDiederik van Lierop libctf \
624e4bb114c588505c592e405dbad6570e5704feDiederik van Lierop libdtrace \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libdtrace_jni \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libcurses \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libgen \
624e4bb114c588505c592e405dbad6570e5704feDiederik van Lierop libgss \
624e4bb114c588505c592e405dbad6570e5704feDiederik van Lierop libpam \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libuuid \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libthread \
07bcf962fbc219b975e47bb9e5600a5d4fa087dfcilix libpthread .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libslp \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libbsdmalloc \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libcmd \
b8502defa91647a317b285046a49546612f66e6dKris libdoor \
b8502defa91647a317b285046a49546612f66e6dKris libdevinfo \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libdladm \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libdlpi \
04c99c338ffdc6e10cb6f5c18f6f06b3f555e8ebcilix libeti \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libcrypt \
04c99c338ffdc6e10cb6f5c18f6f06b3f555e8ebcilix libefi \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libfstyp \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libwanboot \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libwanbootutil \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libcryptoutil \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libinetcfg \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libinetutil \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libipmp \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libiscsitgt \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libkmf \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libkstat \
a39c187369a59e887255e3f704a3ababf2b10678Johan B. C. Engelen libkvm \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix liblm \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libmalloc \
aafa54db9000be62c009c65c411ed698a36714bacilix libmapmalloc \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libmtmalloc \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libnls \
5b20351508dc029f37f23fb7add6d0b43bf47f20johanengelen libsmbios \
5b20351508dc029f37f23fb7add6d0b43bf47f20johanengelen libtecla \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libumem \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libnvpair .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libexacct \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libplot \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libldap4 \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsasl \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libldap5 \
aafa54db9000be62c009c65c411ed698a36714bacilix libsldap .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libbsm \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsys \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsysevent \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libnisdb \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libpool \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libproc \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libproject \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsendfile \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix nametoaddr \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix ncad_addr \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix gss_mechs/mech_krb5 .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libkrb5 .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix krb5 .WAIT
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix$(CLOSED_BUILD)SUBDIRS += \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix $(CLOSED)/lib/smartcard
78f31011c08503bf0d95da30e5f6326d4dd10f8acilixSUBDIRS += \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix passwdutil \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix pam_modules \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix crypt_modules \
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński libadt_jni \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix abi \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix auditd_plugins \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libvolmgt \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libdevice \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libdevid \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libdhcpsvc \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libc_db \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libsec \
7655c8b8ffe3674dd7e7c74f450fb7194943c0deJon A. Cruz libtnfprobe \
33ada1c3184434af1146161adfea1ff168870007JazzyNico libtnf \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libtnfctl \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libdhcpagent \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libdhcpdu \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen libdhcputil \
7655c8b8ffe3674dd7e7c74f450fb7194943c0deJon A. Cruz libipsecutil
33ada1c3184434af1146161adfea1ff168870007JazzyNico$(CLOSED_BUILD)SUBDIRS += \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen $(CLOSED)/lib/libike
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. EngelenSUBDIRS += \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen nsswitch \
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen print \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libuutil \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libscf \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libinetsvc \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix librestart \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libsched
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix$(CLOSED_BUILD)SUBDIRS += \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix $(CLOSED)/lib/libelfsign
78f31011c08503bf0d95da30e5f6326d4dd10f8acilixSUBDIRS += \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix pkcs11 .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libpctx .WAIT \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix libcpc \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix watchmalloc \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix extendedFILE \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix madv \
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix mpss \
libdisasm \
libwrap \
libxcurses \
libxcurses2 \
libxnet \
libbrand .WAIT \
libzonecfg \
libzoneinfo \
libtsnet \
libtsol \
gss_mechs/mech_spnego \
gss_mechs/mech_dummy \
gss_mechs/mech_dh \
rpcsec_gss \
libraidcfg .WAIT \
librcm .WAIT \
libcfgadm .WAIT \
libpicl .WAIT \
libpicltree .WAIT \
raidcfg_plugins \
cfgadm_plugins \
libmail \
lvm \
libsmedia \
libipp \
openssl \
libdiskmgt \
liblgrp \
libfsmgt \
fm \
libavl \
libcmdutils \
libcontract \
../cmd/sendmail/libmilter \
sasl_plugins \
udapl \
libzpool \
libzfs \
libzfs_jni \
libmapid \
brand \
policykit \
hal \
libshare \
libipmi \
$($(MACH)_SUBDIRS)
sparc_SUBDIRS= .WAIT \
efcode \
libc_psr .WAIT \
libdscp \
libprtdiag .WAIT \
libprtdiag_psr \
libpri \
librsc \
libfruutils .WAIT \
libfru \
libwrsmconf \
storage \
wrsm \
libpcp
FM_sparc_DEPLIBS= libpri
fm: libexacct $(FM_$(MACH)_DEPLIBS)
#
# Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
# clean and clobber targets (for more information, see those targets, below).
#
NOWAIT_SUBDIRS= $(SUBDIRS:.WAIT=)
DCSUBDIRS = \
lvm
MSGSUBDIRS= \
abi \
auditd_plugins \
brand \
cfgadm_plugins \
gss_mechs/mech_dh \
gss_mechs/mech_krb5 \
krb5 \
libbsm \
libc \
libcfgadm \
libcontract \
libcurses \
libdhcpsvc \
libdhcputil \
libdladm \
libgss \
libinetcfg \
libipmp \
libnsl \
libpam \
libpicl \
libpool \
libscf \
libsasl \
libldap5 \
libsecdb \
libshare \
libsldap \
libslp \
libsmedia \
libtsol \
libuutil \
libwanboot \
libwanbootutil \
libzfs \
libzonecfg \
lvm \
madv \
mpss \
pam_modules \
rpcsec_gss
$(CLOSED_BUILD)MSGSUBDIRS += \
$(CLOSED)/lib/smartcard
MSGSUBDIRS += \
$($(MACH)_MSGSUBDIRS)
sparc_MSGSUBDIRS= \
libprtdiag \
libprtdiag_psr
HDRSUBDIRS= \
auditd_plugins \
libbrand \
libbsm \
libc \
libcmdutils \
libcontract \
libcpc \
libctf \
libcurses \
libcryptoutil \
libdevice \
libdevid \
libdevinfo \
libdiskmgt \
libdladm \
libdlpi \
libdhcpagent \
libdhcpsvc \
libdhcputil \
libdisasm \
libdtrace \
libdtrace_jni \
libeti \
libfstyp \
libgen \
libwanboot \
libwanbootutil \
libipsecutil \
libinetcfg \
libinetsvc \
libinetutil \
libipmi \
libipmp \
libipp \
libiscsitgt \
libkstat \
libkvm \
libmail \
libmd \
libmtmalloc \
libnvpair \
libnsl \
libpam \
libpctx \
libpicl \
libpicltree \
libplot \
libpool \
libproc \
libraidcfg \
librcm \
libscf \
libsip \
libsmbios \
librestart \
librpcsvc \
librsm \
libsasl \
libsec \
libslp \
libsmedia \
libsysevent \
libtecla \
libtnf \
libtnfctl \
libtnfprobe \
libtsnet \
libtsol \
libvolmgt \
libumem \
libuutil \
libwrap \
libxcurses2 \
libzfs \
libzfs_jni \
libzoneinfo \
hal \
policykit \
lvm \
openssl \
pkcs11 \
passwdutil \
../cmd/sendmail/libmilter \
fm \
udapl \
libmapid \
libkrb5 \
libshare \
$($(MACH)_HDRSUBDIRS)
$(CLOSED_BUILD)HDRSUBDIRS += \
$(CLOSED)/lib/libc_i18n \
$(CLOSED)/lib/libike \
$(CLOSED)/lib/smartcard
sparc_HDRSUBDIRS= \
libdscp \
libpri \
libwrsmconf
all := TARGET= all
check := TARGET= check
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
install_h := TARGET= install_h
lint := TARGET= lint
_dc := TARGET= _dc
_msg := TARGET= _msg
.KEEP_STATE:
#
# For the all and install targets, we clearly must respect library
# dependencies so that the libraries link correctly. However, for
# the remaining targets (check, clean, clobber, install_h, lint, _dc
# and _msg), libraries do not have any dependencies on one another
# and thus respecting dependencies just slows down the build.
# As such, for these rules, we use pattern replacement to explicitly
# avoid triggering the dependency information. Note that for clean,
# clobber and lint, we must use $(NOWAIT_SUBDIRS) rather than
# $(SUBDIRS), to prevent `.WAIT' from expanding to `.WAIT-nodepend'.
#
all: $(SUBDIRS)
install: $(SUBDIRS) .WAIT install_extra
# extra libraries kept in other source areas
install_extra:
@cd ../cmd/sgs; pwd; $(MAKE) install_lib
@pwd
clean clobber lint: $(NOWAIT_SUBDIRS:%=%-nodepend)
install_h check: $(HDRSUBDIRS:%=%-nodepend)
_msg: $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
_dc: $(DCSUBDIRS:%=%-nodepend)
# dependencies for pam_modules (see below)
$(CLOSED_BUILD)SMARTCARD= $(CLOSED)/lib/smartcard
#
# Library interdependencies are called out explicitly here
#
auditd_plugins: libbsm libnsl libsecdb
gss_mechs/mech_krb5: libgss libnsl libsocket libresolv pkcs11
libadt_jni: libbsm
$(CLOSED_BUILD)libc: $(CLOSED)/lib/libc_i18n
libbsm: libtsol
libcmdutils: libavl
libcontract: libnvpair
libdevid: libdevinfo
libdevinfo: libnvpair libsec
libdhcpagent: libsocket libdhcputil libuuid libdlpi
libdhcpsvc: libinetutil
libdhcputil: libnsl libgen libinetutil libdlpi
libdladm: libdlpi libdevinfo libinetutil libsocket
libdlpi: libinetutil
libdtrace: libproc libgen libctf
libdtrace_jni: libuutil libdtrace
libefi: libuuid
libfstyp: libnvpair
$(CLOSED_BUILD)$(CLOSED)/lib/libelfsign: \
$(CLOSED)/lib/libike libcryptoutil pkcs11
libinetcfg: libnsl libsocket libdevinfo
libkmf: libcryptoutil pkcs11 openssl
libnsl: libmd5 libscf
libmapid: libresolv
libuuid: libsocket
libinetutil: libsocket
libsecdb: libnsl
libsasl: libgss libsocket pkcs11 libmd
sasl_plugins: pkcs11 libgss libsocket libsasl
libsctp: libsocket
libsip: libmd5
libsocket: libnsl
libldap5: libsasl libsocket libnsl libmd
libsldap: libldap5 libtsol
libpool: libnvpair libexacct
libzonecfg: libc libsocket libnsl libuuid libnvpair libsysevent libsec \
libbrand libpool libscf
libproc: ../cmd/sgs/librtld_db ../cmd/sgs/libelf libctf
libproject: libpool libproc libsecdb
libtsnet: libnsl libtsol libsecdb
libwrap: libnsl libsocket
libwanboot: libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
libdhcputil openssl
libwanbootutil: libnsl
pam_modules: libproject passwdutil $(SMARTCARD)
libscf: libuutil libmd
libinetsvc: libscf
librestart: libuutil libscf
../cmd/sgs/libdl: ../cmd/sgs/libconv
../cmd/sgs/libelf: ../cmd/sgs/libconv
pkcs11: libcryptoutil
print: libldap5
udapl/udapl_tavor: udapl/libdat
libzfs: libdevinfo libdevid libgen libnvpair libuutil libiscsitgt
libzfs_jni: libdiskmgt libnvpair libzfs
libzpool: libavl libumem libnvpair
libsec: libavl
brand: libc libsocket
libshare: libscf libzfs libuuid libfsmgt libsecdb
#
# The reason this rule checks for the existence of the
# Makefile is that some of the directories do not exist
# in certain situations (e.g., exportable source builds,
# OpenSolaris).
#
$(SUBDIRS): FRC
@if [ -f $@/Makefile ]; then \
cd $@; pwd; $(MAKE) $(TARGET); \
else \
true; \
fi
$(SUBDIRS:%=%-nodepend):
@if [ -f $(@:%-nodepend=%)/Makefile ]; then \
cd $(@:%-nodepend=%); pwd; $(MAKE) $(TARGET); \
else \
true; \
fi
FRC: