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