Makefile revision f595a68a3b8953a12aa778c2abd7642df8da8c3a
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# CDDL HEADER START
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# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# See the License for the specific language governing permissions
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# and limitations under the License.
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# CDDL HEADER END
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
78f31011c08503bf0d95da30e5f6326d4dd10f8acilix# Use is subject to license terms.
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelen# ident "%Z%%M% %I% %E% SMI"
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.
624e4bb114c588505c592e405dbad6570e5704feDiederik van Lierop# Certain libraries are linked with, hence depend on, other libraries.
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# Aside from explicit dependencies (and legacy .WAITs), all libraries
947fb2f89245c19c5bad9dbefb9fd44c2aaed2eccilix# are built in parallel.
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
libwrap \
libxnet \
libtsnet \
libtsol \
libmail \
lvm \
libipp \
openssl \
liblgrp \
libfsmgt \
fm \
libavl \
udapl \
libzpool \
libzfs \
libmapid \
brand \
hal \
libshare \
libipmi \
efcode \
libdscp \
libpri \
librsc \
libfru \
storage \
wrsm \
DCSUBDIRS = \
MSGSUBDIRS= \
abi \
brand \
krb5 \
libbsm \
libc \
libdladm \
libgss \
libipmp \
libnsl \
libpam \
libpicl \
libpool \
libscf \
libsasl \
libldap5 \
libsecdb \
libshare \
libsldap \
libslp \
libtsol \
libuutil \
libzfs \
lvm \
madv \
mpss \
MSGSUBDIRS += \
HDRSUBDIRS= \
libbrand \
libbsm \
libc \
libcpc \
libctf \
libdevid \
libdladm \
libdlpi \
libeti \
libfstyp \
libgen \
libipmi \
libipmp \
libipp \
libkstat \
libkvm \
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 \
libpri \
print: libldap5
# in certain situations (e.g., exportable source builds,
@if [ -f $@/Makefile ]; then \
FRC: