Makefile revision c5c4113dfcabb1eed3d4bdf7609de5170027a794
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# ident "%Z%%M% %I% %E% SMI"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Note that libcurses installs commands along with its library.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# This is a minor bug which probably should be fixed.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Note also that a few extra libraries are kept in cmd source.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Certain libraries are linked with, hence depend on, other libraries.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Although we have historically used .WAIT to express dependencies, it
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# reduces the amount of parallelism and thus lengthens the time it
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# takes to build the libraries. Thus, we now require that any new
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# libraries explicitly call out their dependencies. Eventually, all
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# the library dependencies will be called out explicitly. See
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# "Library interdependencies" near the end of this file.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Aside from explicit dependencies (and legacy .WAITs), all libraries
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# are built in parallel.
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# but required due to the "dependencies" of using .WAIT to barrier the
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# parallel dmake builds. once 4631488 has been fixed, they can be
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# shown in HDRSUBDIRS
libipmp \
libkmf \
libkstat \
libkvm \
liblm \
libnls \
libtecla \
libumem \
libplot \
libldap4 \
libsasl \
libldap5 \
libbsm \
libsys \
libnisdb \
libpool \
libproc \
SUBDIRS += \
abi \
libdevid \
libc_db \
libsec \
libtnf \
SUBDIRS += \
nsswitch \
libuutil \
libscf \
SUBDIRS += \
libcpc \
madv \
mpss \
libwrap \
libxnet \
libtsnet \
libtsol \
libmail \
lvm \
libipp \
openssl \
liblgrp \
libfsmgt \
fm \
libavl \
udapl \
libzpool \
libzfs \
libmapid \
brand \
hal \
libshare \
libidmap \
libipmi \
efcode \
libdscp \
libpri \
librsc \
libfru \
storage \
wrsm \
DCSUBDIRS = \
MSGSUBDIRS= \
abi \
brand \
krb5 \
libbsm \
libc \
libdladm \
libgss \
libidmap \
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 \
libidmap \
libdscp \
libpri \
print: libldap5
# in certain situations (e.g., exportable source builds,
@if [ -f $@/Makefile ]; then \
FRC: