Makefile revision c0e7977a434048a8bc7386ea0e8befaa77a646cf
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# CDDL HEADER START
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# The contents of this file are subject to the terms of the
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Common Development and Distribution License (the "License").
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# You may not use this file except in compliance with the License.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# See the License for the specific language governing permissions
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# and limitations under the License.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# When distributing Covered Code, include this CDDL HEADER in each
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# If applicable, add the following below this CDDL HEADER, with the
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# fields enclosed by brackets "[]" replaced with your own identifying
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
110d1702731f42dd620879c1d765ebe91f3920ceMichael Graff# CDDL HEADER END
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Copyright (c) 2012 by Delphix. All rights reserved.
54f959d12b5a1f9315fbf6a776c6d349316e9686Bob Halley# Copyright (c) 2012, Joyent, Inc. All rights reserved.
0d0d9a9d9895605aba3a44fd03c051e15f88ecf5Bob Halley# Copyright (c) 2013 Gary Mills
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Note that libcurses installs commands along with its library.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# This is a minor bug which probably should be fixed.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Note also that a few extra libraries are kept in cmd source.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Certain libraries are linked with, hence depend on, other libraries.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Although we have historically used .WAIT to express dependencies, it
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# reduces the amount of parallelism and thus lengthens the time it
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# takes to build the libraries. Thus, we now require that any new
078d49b63324f01d98301ee21671abee0c41fcdeBob Halley# libraries explicitly call out their dependencies. Eventually, all
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# the library dependencies will be called out explicitly. See
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# "Library interdependencies" near the end of this file.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Aside from explicit dependencies (and legacy .WAITs), all libraries
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# are built in parallel.
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Graff# Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Graff# clean and clobber targets (for more information, see those targets, below).
libdladm \
libdll \
libgss \
libidmap \
libipmp \
libilb \
libipadm \
libnsl \
libnwam \
libpam \
libpicl \
libpool \
libpkg \
libpp \
libscf \
libsasl \
libldap5 \
libsecdb \
libshare \
libshell \
libsldap \
libslp \
libsmbfs \
libsum \
libtsol \
libuutil \
libvscan \
libzfs \
lvm \
madv \
mpss \
pyzfs \
MSGSUBDIRS += \
HDRSUBDIRS= \
libast \
libbrand \
libbsm \
libc \
libcmd \
libcpc \
libctf \
libdevid \
libdladm \
libdll \
libdlpi \
libdscfg \
libeti \
libfru \
libfstyp \
libgen \
libipadm \
libipmi \
libipmp \
libipp \
libkstat \
libkvm \
libmail \
libmd \
libndmp \
libnsctl \
libnsl \
libnwam \
libpam \
libpcidb \
libpctx \
libpicl \
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 \
libfdisk \
libds \
libdscp \
libpri \
libv12n \
print: libldap5
# in certain situations (e.g., exportable source builds,
@if [ -f $@/Makefile ]; then \
FRC: