Makefile revision efd4c9b63ad77503c101fc6c2ed8ba96c9d52964
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Note that libcurses installs commands along with its library.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# This is a minor bug which probably should be fixed.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Note also that a few extra libraries are kept in cmd source.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Certain libraries are linked with, hence depend on, other libraries.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Although we have historically used .WAIT to express dependencies, it
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# reduces the amount of parallelism and thus lengthens the time it
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# takes to build the libraries. Thus, we now require that any new
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# libraries explicitly call out their dependencies. Eventually, all
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# the library dependencies will be called out explicitly. See
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# "Library interdependencies" near the end of this file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Aside from explicit dependencies (and legacy .WAITs), all libraries
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# are built in parallel.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# but required due to the "dependencies" of using .WAIT to barrier the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# parallel dmake builds. once 4631488 has been fixed, they can be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# shown in HDRSUBDIRS
6d382c9fcec316a84a237779fb64bb471b6f9d43Tinderbox User# Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User# clean and clobber targets (for more information, see those targets, below).
libdscfg \
libeti \
libfru \
libfstyp \
libgen \
libipadm \
libipmi \
libipmp \
libipp \
libkstat \
libkvm \
libmail \
libmd \
libndmp \
libnsctl \
libnsl \
libnwam \
libpam \
libpctx \
libpicl \
libplot \
libpool \
libpp \
libproc \
librcm \
librdc \
libscf \
libsip \
librsm \
librstp \
libsasl \
libsec \
libshell \
libslp \
libfcoe \
libsrpt \
libstmf \
libsum \
libtecla \
libtnf \
libtsnet \
libtsol \
libumem \
libuutil \
libwrap \
libzfs \
hal \
lvm \
pkcs11 \
fm \
udapl \
libmapid \
libkrb5 \
libsmbfs \
libshare \
libidmap \
libvscan \
smbsrv \
libilb \
scsi \
hbaapi \
smhba \
libima \
mpapi \
libds \
libdscp \
libpri \
libv12n \
print: libldap5
# in certain situations (e.g., exportable source builds,
@if [ -f $@/Makefile ]; then \
FRC: