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