Makefile revision 99ebb4ca412cb0a19d77a3899a87c055b9c30fa8
daf3e28fff47a65b53d6fb65155301763b9f166eEugen Kuksa# CDDL HEADER START
abc834c020080fe44a1ea4e34278327e99e3e12eEugen Kuksa# The contents of this file are subject to the terms of the
abc834c020080fe44a1ea4e34278327e99e3e12eEugen Kuksa# Common Development and Distribution License (the "License").
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# You may not use this file except in compliance with the License.
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# See the License for the specific language governing permissions
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# and limitations under the License.
0978722f6ca27f5d5f5ed4ec8400703dfe211184Eugen Kuksa# When distributing Covered Code, include this CDDL HEADER in each
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# If applicable, add the following below this CDDL HEADER, with the
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# fields enclosed by brackets "[]" replaced with your own identifying
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# information: Portions Copyright [yyyy] [name of copyright owner]
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# CDDL HEADER END
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# Use is subject to license terms.
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# ident "%Z%%M% %I% %E% SMI"
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# Note that libcurses installs commands along with its library.
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# This is a minor bug which probably should be fixed.
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# Note also that a few extra libraries are kept in cmd source.
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# Certain libraries are linked with, hence depend on, other libraries.
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# Although we have historically used .WAIT to express dependencies, it
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# reduces the amount of parallelism and thus lengthens the time it
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# takes to build the libraries. Thus, we now require that any new
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# libraries explicitly call out their dependencies. Eventually, all
f0264afd33a980b6584747fc8159ee950805d9e3Eugen Kuksa# the library dependencies will be called out explicitly. See
b51057b860560bf3ee454c03a121af3d5d34f482Eugen Kuksa# "Library interdependencies" near the end of this file.
daf3e28fff47a65b53d6fb65155301763b9f166eEugen Kuksa# Aside from explicit dependencies (and legacy .WAITs), all libraries
28001d576e67ba46ed481c5695f1e0827ff26007Eugen Kuksa# are built in parallel.
d89f470f7da0b9f8295d0ac0defff09884894b8bEugen Kuksa# The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
d89f470f7da0b9f8295d0ac0defff09884894b8bEugen Kuksa# but required due to the "dependencies" of using .WAIT to barrier the
d89f470f7da0b9f8295d0ac0defff09884894b8bEugen Kuksa# parallel dmake builds. once 4631488 has been fixed, they can be
5efadb4662f2a63d5f5f1a5b303ab7c3371069a8Eugen Kuksa# consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
daf3e28fff47a65b53d6fb65155301763b9f166eEugen Kuksa# shown in HDRSUBDIRS
dd553f2f8b8abb774ba64a4fb9ebe3abea9f7f17Eugen Kuksa# Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
dd553f2f8b8abb774ba64a4fb9ebe3abea9f7f17Eugen Kuksa# clean and clobber targets (for more information, see those targets, below).
libipmp \
libipp \
libkstat \
libkvm \
liblaadm \
libmail \
libmd \
libnsl \
libpam \
libpctx \
libpicl \
libplot \
libpool \
libproc \
librcm \
libscf \
libsip \
librsm \
libsasl \
libsec \
libslp \
libtecla \
libtnf \
libtsnet \
libtsol \
libumem \
libuutil \
libwrap \
libzfs \
hal \
lvm \
openssl \
pkcs11 \
fm \
udapl \
libmapid \
libkrb5 \
libshare \
libdscp \
print: libldap5
# in certain situations (e.g., exportable source builds,
@if [ -f $@/Makefile ]; then \
FRC: