Makefile revision a74858089ab88f6b5b2788e8ca504c5586da8af5
90f050286227cf4c4f8aa425555d04723d331d48yq# CDDL HEADER START
90f050286227cf4c4f8aa425555d04723d331d48yq# The contents of this file are subject to the terms of the
90f050286227cf4c4f8aa425555d04723d331d48yq# Common Development and Distribution License (the "License").
90f050286227cf4c4f8aa425555d04723d331d48yq# You may not use this file except in compliance with the License.
90f050286227cf4c4f8aa425555d04723d331d48yq# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90f050286227cf4c4f8aa425555d04723d331d48yq# See the License for the specific language governing permissions
90f050286227cf4c4f8aa425555d04723d331d48yq# and limitations under the License.
90f050286227cf4c4f8aa425555d04723d331d48yq# When distributing Covered Code, include this CDDL HEADER in each
90f050286227cf4c4f8aa425555d04723d331d48yq# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
90f050286227cf4c4f8aa425555d04723d331d48yq# If applicable, add the following below this CDDL HEADER, with the
90f050286227cf4c4f8aa425555d04723d331d48yq# fields enclosed by brackets "[]" replaced with your own identifying
90f050286227cf4c4f8aa425555d04723d331d48yq# information: Portions Copyright [yyyy] [name of copyright owner]
90f050286227cf4c4f8aa425555d04723d331d48yq# CDDL HEADER END
90f050286227cf4c4f8aa425555d04723d331d48yq# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
bf56214c0556fa6864189c826d39dbe156bb22a0stevel# Use is subject to license terms.
90f050286227cf4c4f8aa425555d04723d331d48yq# ident "%Z%%M% %I% %E% SMI"
90f050286227cf4c4f8aa425555d04723d331d48yq# Note that libcurses installs commands along with its library.
90f050286227cf4c4f8aa425555d04723d331d48yq# This is a minor bug which probably should be fixed.
90f050286227cf4c4f8aa425555d04723d331d48yq# Note also that a few extra libraries are kept in cmd source.
90f050286227cf4c4f8aa425555d04723d331d48yq# Certain libraries are linked with, hence depend on, other libraries.
90f050286227cf4c4f8aa425555d04723d331d48yq# Although we have historically used .WAIT to express dependencies, it
90f050286227cf4c4f8aa425555d04723d331d48yq# reduces the amount of parallelism and thus lengthens the time it
90f050286227cf4c4f8aa425555d04723d331d48yq# takes to build the libraries. Thus, we now require that any new
90f050286227cf4c4f8aa425555d04723d331d48yq# libraries explicitly call out their dependencies. Eventually, all
90f050286227cf4c4f8aa425555d04723d331d48yq# the library dependencies will be called out explicitly. See
90f050286227cf4c4f8aa425555d04723d331d48yq# "Library interdependencies" near the end of this file.
90f050286227cf4c4f8aa425555d04723d331d48yq# Aside from explicit dependencies (and legacy .WAITs), all libraries
90f050286227cf4c4f8aa425555d04723d331d48yq# are built in parallel.
90f050286227cf4c4f8aa425555d04723d331d48yq# The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
90f050286227cf4c4f8aa425555d04723d331d48yq# but required due to the "dependencies" of using .WAIT to barrier the
90f050286227cf4c4f8aa425555d04723d331d48yq# parallel dmake builds. once 4631488 has been fixed, they can be
90f050286227cf4c4f8aa425555d04723d331d48yq# consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
90f050286227cf4c4f8aa425555d04723d331d48yq# shown in HDRSUBDIRS
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 \
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: