Makefile revision d3c6c3bbc49912cd6f331bd19a29afe6bcddc8a0
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User# CDDL HEADER START
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# The contents of this file are subject to the terms of the
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Common Development and Distribution License (the "License").
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You may not use this file except in compliance with the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# or http://www.opensolaris.org/os/licensing.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# See the License for the specific language governing permissions
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# and limitations under the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# CDDL HEADER END
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updaterinclude ../Makefile.master
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Note that libcurses installs commands along with its library.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# This is a minor bug which probably should be fixed.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Note also that a few extra libraries are kept in cmd source.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Certain libraries are linked with, hence depend on, other libraries.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Although we have historically used .WAIT to express dependencies, it
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updater# reduces the amount of parallelism and thus lengthens the time it
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# takes to build the libraries. Thus, we now require that any new
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# libraries explicitly call out their dependencies. Eventually, all
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# the library dependencies will be called out explicitly. See
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# "Library interdependencies" near the end of this file.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Aside from explicit dependencies (and legacy .WAITs), all libraries
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# are built in parallel.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews.PARALLEL:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# but required due to the "dependencies" of using .WAIT to barrier the
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# parallel dmake builds. once 4631488 has been fixed, they can be
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# shown in HDRSUBDIRS
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserSUBDIRS= \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User common .WAIT \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User ../cmd/sgs/libconv \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ../cmd/sgs/libdl .WAIT
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews$(CLOSED_BUILD)SUBDIRS += \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt $(CLOSED)/lib/libc_i18n
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsSUBDIRS += \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libc .WAIT \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ../cmd/sgs/libelf .WAIT \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User c_synonyms \
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User libmd \
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User libmd5 \
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User librsm \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libmp .WAIT \
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User libnsl \
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User libsecdb .WAIT \
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User librpcsvc \
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User libsocket .WAIT \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libsctp \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libsip \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libcommputil \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libresolv \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libresolv2 .WAIT \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libw .WAIT \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libintl .WAIT \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ../cmd/sgs/librtld_db \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libaio \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libast \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libdll \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libcmd \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libshell \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libsum \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews librt \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libadm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libctf \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdtrace \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdtrace_jni \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcurses \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libgen \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libgss \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libpam \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libuuid \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libthread \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libpthread .WAIT \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libslp \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libbsdmalloc \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libdoor \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdevinfo \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdladm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdlpi \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libeti \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcrypt \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdns_sd \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libefi \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libfstyp \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libwanboot \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libwanbootutil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcryptoutil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libinetutil \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libipadm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipmp \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libiscsit \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libkmf \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libkmsagent \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libkstat \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libkvm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User liblm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libmalloc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libmapmalloc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libmtmalloc \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libnls \
d3ddafd7469d1f3430ccd1b0fe0d13ccbbaf5debTinderbox User libnwam \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libsmbios \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libtecla \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libumem \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libnvpair .WAIT \
6d45011a65dfc43f476ca15c3fd9ee5227eb968fTinderbox User libexacct \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libldap4 \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libsasl \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libldap5 \
6d45011a65dfc43f476ca15c3fd9ee5227eb968fTinderbox User libsldap .WAIT \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libbsm \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libsys \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libsysevent \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libnisdb \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libpool \
c247e3f281613fabe1af362e9f3157e35ebbe52cMark Andrews libpp \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libproc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libproject \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libsendfile \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User nametoaddr \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User ncad_addr \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt hbaapi \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User smhba \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User sun_fc \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt sun_sas \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User gss_mechs/mech_krb5 .WAIT \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libkrb5 .WAIT \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User krb5 .WAIT \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libsmbfs \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libfcoe \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libsrpt \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libstmf \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libstmfproxy \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews libnsctl \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libunistat \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libdscfg \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User librdc \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libinstzones \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libpkg
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsSUBDIRS += \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User passwdutil \
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User pam_modules \
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User crypt_modules \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libadt_jni \
395c95214142142854509945adf3293c0270e1c5Tinderbox User abi \
395c95214142142854509945adf3293c0270e1c5Tinderbox User auditd_plugins \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libvolmgt \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libdevice \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libdevid \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libdhcpsvc \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libc_db \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libndmp \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsec \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libtnfprobe \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libtnf \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libtnfctl \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libdhcpagent \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libdhcpdu \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libdhcputil \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libxnet \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libipsecutil
395c95214142142854509945adf3293c0270e1c5Tinderbox User$(CLOSED_BUILD)SUBDIRS += \
395c95214142142854509945adf3293c0270e1c5Tinderbox User $(CLOSED)/lib/libike
395c95214142142854509945adf3293c0270e1c5Tinderbox UserSUBDIRS += \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt nsswitch \
395c95214142142854509945adf3293c0270e1c5Tinderbox User print \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libuutil \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libscf \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libinetsvc \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User librestart \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libsched \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libelfsign \
395c95214142142854509945adf3293c0270e1c5Tinderbox User pkcs11 .WAIT \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libpctx .WAIT \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libcpc \
395c95214142142854509945adf3293c0270e1c5Tinderbox User watchmalloc \
395c95214142142854509945adf3293c0270e1c5Tinderbox User extendedFILE \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User madv \
395c95214142142854509945adf3293c0270e1c5Tinderbox User mpss \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libdisasm \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libwrap \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libxcurses \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libxcurses2 \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libbrand .WAIT \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libzonecfg \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libzoneinfo \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libzonestat \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libtsnet \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libtsol \
395c95214142142854509945adf3293c0270e1c5Tinderbox User gss_mechs/mech_spnego \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User gss_mechs/mech_dummy \
6d45011a65dfc43f476ca15c3fd9ee5227eb968fTinderbox User gss_mechs/mech_dh \
395c95214142142854509945adf3293c0270e1c5Tinderbox User rpcsec_gss \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libraidcfg .WAIT \
395c95214142142854509945adf3293c0270e1c5Tinderbox User librcm .WAIT \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libcfgadm .WAIT \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libpicl .WAIT \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libpicltree .WAIT \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt raidcfg_plugins \
395c95214142142854509945adf3293c0270e1c5Tinderbox User cfgadm_plugins \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libmail \
395c95214142142854509945adf3293c0270e1c5Tinderbox User lvm \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libsmedia \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libipp \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libdiskmgt \
395c95214142142854509945adf3293c0270e1c5Tinderbox User liblgrp \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libfsmgt \
395c95214142142854509945adf3293c0270e1c5Tinderbox User fm \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libavl \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libcmdutils \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libcontract \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt ../cmd/sendmail/libmilter \
395c95214142142854509945adf3293c0270e1c5Tinderbox User sasl_plugins \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User udapl \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User libzpool \
76cf91b5df7a1bc450afcb9ce7585c61bb87de68Tinderbox User libzfs \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User libbe \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User pylibbe \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User libzfs_jni \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User pyzfs \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User pysolaris \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User libmapid \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User brand \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User policykit \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User hal \
76cf91b5df7a1bc450afcb9ce7585c61bb87de68Tinderbox User libshare \
c0cbdeedb5e119c640f098da1851cb1b9adcc739Tinderbox User libsqlite \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libidmap \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libadutils \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libipmi \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libexacct/demo \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libvrrpadm \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libvscan \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libgrubmgmt \
395c95214142142854509945adf3293c0270e1c5Tinderbox User smbsrv \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libilb \
395c95214142142854509945adf3293c0270e1c5Tinderbox User scsi \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libima \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsun_ima \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User mpapi \
395c95214142142854509945adf3293c0270e1c5Tinderbox User librstp \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libreparse \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libhotplug \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libfruutils .WAIT \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libfru \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $($(MACH)_SUBDIRS)
395c95214142142854509945adf3293c0270e1c5Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Useri386_SUBDIRS= \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libntfs \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libparted \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libfdisk
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox Usersparc_SUBDIRS= .WAIT \
4f9cb7bd58e2c0a7407fee3758ea265aee329ac6Tinderbox User efcode \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libds \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libdscp \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libprtdiag .WAIT \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libprtdiag_psr \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libpri \
395c95214142142854509945adf3293c0270e1c5Tinderbox User librsc \
395c95214142142854509945adf3293c0270e1c5Tinderbox User storage \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libpcp \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libtsalarm \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libv12n
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox UserFM_sparc_DEPLIBS= libpri
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox Userfm: \
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User libexacct \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libipmi \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libzfs \
395c95214142142854509945adf3293c0270e1c5Tinderbox User scsi \
395c95214142142854509945adf3293c0270e1c5Tinderbox User $(FM_$(MACH)_DEPLIBS)
395c95214142142854509945adf3293c0270e1c5Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
395c95214142142854509945adf3293c0270e1c5Tinderbox User# clean and clobber targets (for more information, see those targets, below).
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserNOWAIT_SUBDIRS= $(SUBDIRS:.WAIT=)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox UserDCSUBDIRS = \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User lvm
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox UserMSGSUBDIRS= \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User abi \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User auditd_plugins \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User brand \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User cfgadm_plugins \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt gss_mechs/mech_dh \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User gss_mechs/mech_krb5 \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User krb5 \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libast \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libbsm \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcfgadm \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libcmd \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcontract \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcurses \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdhcpsvc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdhcputil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipsecutil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdiskmgt \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libdladm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdll \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libgrubmgmt \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libgss \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libidmap \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipmp \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libilb \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libinetutil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libinstzones \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipadm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libnsl \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libnwam \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libpam \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libpicl \
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User libpool \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libpkg \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libpp \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libscf \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libsasl \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libldap5 \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libsecdb \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libshare \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libshell \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsldap \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libslp \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libsmbfs \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libsmedia \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsum \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libtsol \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libuutil \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libvrrpadm \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libvscan \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libwanboot \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libwanbootutil \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libzfs \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libzonecfg \
395c95214142142854509945adf3293c0270e1c5Tinderbox User lvm \
395c95214142142854509945adf3293c0270e1c5Tinderbox User madv \
395c95214142142854509945adf3293c0270e1c5Tinderbox User mpss \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User pam_modules \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt pyzfs \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User pysolaris \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User rpcsec_gss \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libreparse
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserMSGSUBDIRS += \
395c95214142142854509945adf3293c0270e1c5Tinderbox User $($(MACH)_MSGSUBDIRS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox Usersparc_MSGSUBDIRS= \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libprtdiag \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libprtdiag_psr
395c95214142142854509945adf3293c0270e1c5Tinderbox User
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Useri386_MSGSUBDIRS= libfdisk
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntHDRSUBDIRS= \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User auditd_plugins \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libast \
61ab11c0ec845606f85452b2c9f2e223772aae00Tinderbox User libbrand \
61ab11c0ec845606f85452b2c9f2e223772aae00Tinderbox User libbsm \
61ab11c0ec845606f85452b2c9f2e223772aae00Tinderbox User libc \
61ab11c0ec845606f85452b2c9f2e223772aae00Tinderbox User libcmd \
61ab11c0ec845606f85452b2c9f2e223772aae00Tinderbox User libcmdutils \
f5c27ecceb6dcba6ad8b75172fe5f9823d7a6d42Tinderbox User libcommputil \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libcontract \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcpc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libctf \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcurses \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libcryptoutil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdevice \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdevid \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdevinfo \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libdiskmgt \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdladm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdll \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdlpi \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdhcpagent \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdhcpsvc \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libdhcputil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdisasm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdns_sd \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdscfg \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdtrace \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libdtrace_jni \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libelfsign \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libeti \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libfru \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libfstyp \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libgen \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipadm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipsecutil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libinetsvc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libinetutil \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libinstzones \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipmi \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipmp \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libipp \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libiscsit \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libkstat \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libkvm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libmail \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libmd \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libmtmalloc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libndmp \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libnvpair \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libnsctl \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libnsl \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libnwam \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libpam \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libpctx \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libpicl \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libpicltree \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libpool \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libpp \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libproc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libraidcfg \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User librcm \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User librdc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libscf \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libsip \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libsmbios \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User librestart \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User librpcsvc \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User librsm \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User librstp \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsasl \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsec \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libshell \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libslp \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libsmedia \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsocket \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsqlite \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libfcoe \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsrpt \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libstmf \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libstmfproxy \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsum \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libsysevent \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libtecla \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libtnf \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libtnfctl \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libtnfprobe \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libtsnet \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libtsol \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libvrrpadm \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libvolmgt \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libumem \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libunistat \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libuutil \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libwanboot \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libwanbootutil \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libwrap \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libxcurses2 \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libzfs \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libzfs_jni \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libzoneinfo \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libzonestat \
395c95214142142854509945adf3293c0270e1c5Tinderbox User hal \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User policykit \
395c95214142142854509945adf3293c0270e1c5Tinderbox User lvm \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User pkcs11 \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User passwdutil \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User ../cmd/sendmail/libmilter \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User fm \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User udapl \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User libmapid \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User libkrb5 \
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox User libsmbfs \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libshare \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libidmap \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libvscan \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libgrubmgmt \
395c95214142142854509945adf3293c0270e1c5Tinderbox User smbsrv \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libilb \
395c95214142142854509945adf3293c0270e1c5Tinderbox User scsi \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User hbaapi \
395c95214142142854509945adf3293c0270e1c5Tinderbox User smhba \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libima \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libsun_ima \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User mpapi \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libreparse \
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User $($(MACH)_HDRSUBDIRS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox User$(CLOSED_BUILD)HDRSUBDIRS += \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User $(CLOSED)/lib/libc_i18n \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(CLOSED)/lib/libike
395c95214142142854509945adf3293c0270e1c5Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunti386_HDRSUBDIRS= \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libparted \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libfdisk
395c95214142142854509945adf3293c0270e1c5Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox Usersparc_HDRSUBDIRS= \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libds \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libdscp \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libpri \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User libv12n \
395c95214142142854509945adf3293c0270e1c5Tinderbox User storage
395c95214142142854509945adf3293c0270e1c5Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntall := TARGET= all
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntcheck := TARGET= check
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userclean := TARGET= clean
395c95214142142854509945adf3293c0270e1c5Tinderbox Userclobber := TARGET= clobber
395c95214142142854509945adf3293c0270e1c5Tinderbox Userinstall := TARGET= install
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userinstall_h := TARGET= install_h
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlint := TARGET= lint
395c95214142142854509945adf3293c0270e1c5Tinderbox User_dc := TARGET= _dc
395c95214142142854509945adf3293c0270e1c5Tinderbox User_msg := TARGET= _msg
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User.KEEP_STATE:
395c95214142142854509945adf3293c0270e1c5Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
395c95214142142854509945adf3293c0270e1c5Tinderbox User# For the all and install targets, we clearly must respect library
395c95214142142854509945adf3293c0270e1c5Tinderbox User# dependencies so that the libraries link correctly. However, for
395c95214142142854509945adf3293c0270e1c5Tinderbox User# the remaining targets (check, clean, clobber, install_h, lint, _dc
395c95214142142854509945adf3293c0270e1c5Tinderbox User# and _msg), libraries do not have any dependencies on one another
395c95214142142854509945adf3293c0270e1c5Tinderbox User# and thus respecting dependencies just slows down the build.
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User# As such, for these rules, we use pattern replacement to explicitly
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# avoid triggering the dependency information. Note that for clean,
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# clobber and lint, we must use $(NOWAIT_SUBDIRS) rather than
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User# $(SUBDIRS), to prevent `.WAIT' from expanding to `.WAIT-nodepend'.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
395c95214142142854509945adf3293c0270e1c5Tinderbox User
3e240d6559605696cadf630668683708b18de871Tinderbox Userall: $(SUBDIRS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox Userinstall: $(SUBDIRS) .WAIT install_extra
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# extra libraries kept in other source areas
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntinstall_extra:
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User @cd ../cmd/sgs; pwd; $(MAKE) install_lib
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User @pwd
395c95214142142854509945adf3293c0270e1c5Tinderbox User
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox Userclean clobber lint: $(NOWAIT_SUBDIRS:%=%-nodepend)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox Userinstall_h check: $(HDRSUBDIRS:%=%-nodepend)
395c95214142142854509945adf3293c0270e1c5Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt_msg: $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
395c95214142142854509945adf3293c0270e1c5Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox User_dc: $(DCSUBDIRS:%=%-nodepend)
395c95214142142854509945adf3293c0270e1c5Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox User#
395c95214142142854509945adf3293c0270e1c5Tinderbox User# Library interdependencies are called out explicitly here
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userauditd_plugins: libbsm libnsl libsecdb
395c95214142142854509945adf3293c0270e1c5Tinderbox Usergss_mechs/mech_krb5: libgss libnsl libsocket libresolv pkcs11
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibadt_jni: libbsm
395c95214142142854509945adf3293c0270e1c5Tinderbox User$(CLOSED_BUILD)libc: $(CLOSED)/lib/libc_i18n
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibast: libsocket
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibadutils: libldap5 libresolv libsocket libnsl
395c95214142142854509945adf3293c0270e1c5Tinderbox Usernsswitch: libadutils libidmap
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibbe: libzfs
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibbsm: libtsol
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibcmd: libsum libast libsocket libnsl
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibcmdutils: libavl
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibcontract: libnvpair
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox Userlibdevid: libdevinfo
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibdevinfo: libnvpair libsec
eaaf00efc02fdd4965f747afb51f881ac5a389d2Tinderbox Userlibdhcpagent: libsocket libdhcputil libuuid libdlpi libcontract
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox Userlibdhcpsvc: libinetutil
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibdhcputil: libnsl libgen libinetutil libdlpi
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibdladm: libdevinfo libinetutil libsocket libscf librcm libnvpair \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libexacct libnsl libkstat libcurses
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibdll: libast
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibdlpi: libinetutil libdladm
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibds: libsysevent
9d557856c2a19ec95ee73245f60a92f8675cf5baTinderbox Userlibdscfg: libnsctl libunistat libsocket libnsl
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibdtrace: libproc libgen libctf
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibdtrace_jni: libuutil libdtrace
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibefi: libuuid
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibfstyp: libnvpair
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibelfsign: libcryptoutil libkmf
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibidmap: libadutils libldap5 libavl libsldap libuutil
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibipadm: libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libdladm libsecdb
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibiscsit: libc libnvpair libstmf libuuid libnsl
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibkmf: libcryptoutil pkcs11
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibnsl: libmd5
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibmapid: libresolv
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibrdc: libsocket libnsl libnsctl libunistat libdscfg
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibuuid: libdlpi
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User$(CLOSED_BUILD)libike: libipsecutil libxnet libcryptoutil
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibinetutil: libsocket
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibipsecutil: libtecla libsocket
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibinstzones: libzonecfg libcontract
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibpkg: libwanboot libscf libadm
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibnwam: libscf
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibsecdb: libnsl
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibsasl: libgss libsocket pkcs11 libmd
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Usersasl_plugins: pkcs11 libgss libsocket libsasl
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibsctp: libsocket
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibshell: libast libcmd libdll libsocket libsecdb
9d557856c2a19ec95ee73245f60a92f8675cf5baTinderbox Userlibsip: libmd5
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibsmbfs: libcmdutils libsocket libnsl libkrb5
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibsocket: libnsl
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibstmfproxy: libstmf libsocket libnsl libpthread
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibsum: libast
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibsysevent: libsecdb
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibldap5: libsasl libsocket libnsl libmd
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibsldap: libldap5 libtsol libnsl libc libscf libresolv
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibpool: libnvpair libexacct
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibpp: libast
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibzonecfg: libc libsocket libnsl libuuid libnvpair libsysevent libsec \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libbrand libpool libscf
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibproc: ../cmd/sgs/librtld_db ../cmd/sgs/libelf libctf
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibproject: libpool libproc libsecdb
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibtsnet: libnsl libtsol libsecdb
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibwrap: libnsl libsocket
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibwanboot: libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox User libdhcputil
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibwanbootutil: libnsl
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userpam_modules: libproject passwdutil smbsrv
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibscf: libuutil libmd libgen libsmbios libnsl
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibinetsvc: libscf
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userlibrestart: libuutil libscf
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User../cmd/sgs/libdl: ../cmd/sgs/libconv
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt../cmd/sgs/libelf: ../cmd/sgs/libconv
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userpkcs11: libcryptoutil libkmsagent
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userprint: libldap5
659d063f23a35d77ad5826e6556d3137672bb937Tinderbox Userudapl/udapl_tavor: udapl/libdat
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibzfs: libdevid libgen libnvpair libuutil \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libadm libavl libefi libidmap libmd
eaaf00efc02fdd4965f747afb51f881ac5a389d2Tinderbox Userlibzfs_jni: libdiskmgt libnvpair libzfs
eaaf00efc02fdd4965f747afb51f881ac5a389d2Tinderbox Userlibzpool: libavl libumem libnvpair libcmdutils
eaaf00efc02fdd4965f747afb51f881ac5a389d2Tinderbox Userlibsec: libavl libidmap
eaaf00efc02fdd4965f747afb51f881ac5a389d2Tinderbox Userbrand: libc libsocket
eaaf00efc02fdd4965f747afb51f881ac5a389d2Tinderbox Userlibshare: libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibexacct/demo: libexacct libproject libsocket libnsl
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibtsalarm: libpcp
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Usersmbsrv: libsocket libnsl libmd libxnet libpthread librt \
395c95214142142854509945adf3293c0270e1c5Tinderbox User libshare libidmap pkcs11 libsqlite libcryptoutil \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt libreparse libcmdutils
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibv12n: libds libuuid
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibvrrpadm: libsocket libdladm libscf
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibvscan: libscf
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibfru: libfruutils
395c95214142142854509945adf3293c0270e1c5Tinderbox Userscsi: libnvpair libfru
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntmpapi: libpthread libdevinfo libsysevent libnvpair
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntsun_fc: libdevinfo libsysevent libnvpair
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibsun_ima: libdevinfo libsysevent libnsl
395c95214142142854509945adf3293c0270e1c5Tinderbox Usersun_sas: libdevinfo libsysevent libnvpair libkstat libdevid
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibgrubmgmt: libdevinfo libzfs libfstyp
395c95214142142854509945adf3293c0270e1c5Tinderbox Userpylibbe: libbe libzfs
395c95214142142854509945adf3293c0270e1c5Tinderbox Userpyzfs: libnvpair libzfs
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userpysolaris: libsec libidmap
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibreparse: libnvpair
395c95214142142854509945adf3293c0270e1c5Tinderbox Userlibhotplug: libnvpair
395c95214142142854509945adf3293c0270e1c5Tinderbox Usercfgadm_plugins: libhotplug
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlibilb: libsocket
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt$(INTEL_BUILD)libdiskmgt:libfdisk
395c95214142142854509945adf3293c0270e1c5Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox User#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# The reason this rule checks for the existence of the
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Makefile is that some of the directories do not exist
395c95214142142854509945adf3293c0270e1c5Tinderbox User# in certain situations (e.g., exportable source builds,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# OpenSolaris).
395c95214142142854509945adf3293c0270e1c5Tinderbox User#
395c95214142142854509945adf3293c0270e1c5Tinderbox User$(SUBDIRS): FRC
395c95214142142854509945adf3293c0270e1c5Tinderbox User @if [ -f $@/Makefile ]; then \
395c95214142142854509945adf3293c0270e1c5Tinderbox User cd $@; pwd; $(MAKE) $(TARGET); \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User else \
395c95214142142854509945adf3293c0270e1c5Tinderbox User true; \
395c95214142142854509945adf3293c0270e1c5Tinderbox User fi
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
395c95214142142854509945adf3293c0270e1c5Tinderbox User$(SUBDIRS:%=%-nodepend):
395c95214142142854509945adf3293c0270e1c5Tinderbox User @if [ -f $(@:%-nodepend=%)/Makefile ]; then \
395c95214142142854509945adf3293c0270e1c5Tinderbox User cd $(@:%-nodepend=%); pwd; $(MAKE) $(TARGET); \
395c95214142142854509945adf3293c0270e1c5Tinderbox User else \
395c95214142142854509945adf3293c0270e1c5Tinderbox User true; \
395c95214142142854509945adf3293c0270e1c5Tinderbox User fi
395c95214142142854509945adf3293c0270e1c5Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntFRC:
395c95214142142854509945adf3293c0270e1c5Tinderbox User