Makefile revision 7c1d35456b77b833f089b886b99aa431a24e1377
7d5ac94fda90b837211dadf2585c0fe8c5dc3e5djerenkrantz# CDDL HEADER START
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz# The contents of this file are subject to the terms of the
62f7716b14b71603a8004434ca3536902bfb8899wrowe# Common Development and Distribution License (the "License").
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# You may not use this file except in compliance with the License.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# See the License for the specific language governing permissions
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# and limitations under the License.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# When distributing Covered Code, include this CDDL HEADER in each
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# If applicable, add the following below this CDDL HEADER, with the
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# fields enclosed by brackets "[]" replaced with your own identifying
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# CDDL HEADER END
38dc50ae00a1ea57fa41500d74f4e818747e3cefpquerna# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
80464b326874ee15d74742ae39708ec3f2eae1d7wrowe# Note that libcurses installs commands along with its library.
38dc50ae00a1ea57fa41500d74f4e818747e3cefpquerna# This is a minor bug which probably should be fixed.
5eb27f5ecb5daa4252c36cf6f049a2058ebe7bd6jim# Note also that a few extra libraries are kept in cmd source.
53e66a2931d02e84628ba946055cc92e56b43db8wrowe# Certain libraries are linked with, hence depend on, other libraries.
cd365a1ad6798c1faef19b445c00ae97eb94a234pquerna# Although we have historically used .WAIT to express dependencies, it
6507aa1a5709a9122f2e0b9be8bb9bd6d78715c3pquerna# reduces the amount of parallelism and thus lengthens the time it
6507aa1a5709a9122f2e0b9be8bb9bd6d78715c3pquerna# takes to build the libraries. Thus, we now require that any new
b6c98ce4a43f123af0a691fd7b833efcf0ce1d6apquerna# libraries explicitly call out their dependencies. Eventually, all
af4c982a7cf4515f124935f99a329744035fc699slive# the library dependencies will be called out explicitly. See
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe# "Library interdependencies" near the end of this file.
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe# Aside from explicit dependencies (and legacy .WAITs), all libraries
d96ee8cda2799e1f2743c1603adeb4833ed0e15fslive# are built in parallel.
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe# The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz# but required due to the "dependencies" of using .WAIT to barrier the
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe# parallel dmake builds. once 4631488 has been fixed, they can be
d96ee8cda2799e1f2743c1603adeb4833ed0e15fslive# consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe# shown in HDRSUBDIRS
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe# Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe# clean and clobber targets (for more information, see those targets, below).
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: