Makefile revision 74b5a35d491a5d9569dd85fa6d4037ba66246430
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER START
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# The contents of this file are subject to the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Common Development and Distribution License (the "License").
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You may not use this file except in compliance with the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# See the License for the specific language governing permissions
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# and limitations under the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# When distributing Covered Code, include this CDDL HEADER in each
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45405cce0657d01714b3d014a0facf3bdce45736Alexander Eremin# If applicable, add the following below this CDDL HEADER, with the
95c635efb7c3b86efc493e0447eaec7aecca3f0fGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# information: Portions Copyright [yyyy] [name of copyright owner]
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov# CDDL HEADER END
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# Note that libcurses installs commands along with its library.
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# This is a minor bug which probably should be fixed.
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# Note also that a few extra libraries are kept in cmd source.
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# Certain libraries are linked with, hence depend on, other libraries.
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# Although we have historically used .WAIT to express dependencies, it
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# reduces the amount of parallelism and thus lengthens the time it
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# takes to build the libraries. Thus, we now require that any new
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# libraries explicitly call out their dependencies. Eventually, all
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# the library dependencies will be called out explicitly. See
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# "Library interdependencies" near the end of this file.
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# Aside from explicit dependencies (and legacy .WAITs), all libraries
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# are built in parallel.
95c635efb7c3b86efc493e0447eaec7aecca3f0fGarrett D'Amore# The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# but required due to the "dependencies" of using .WAIT to barrier the
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# parallel dmake builds. once 4631488 has been fixed, they can be
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# shown in HDRSUBDIRS
libwrap \
libtsnet \
libtsol \
libmail \
lvm \
libipp \
liblgrp \
libfsmgt \
fm \
libavl \
udapl \
libzpool \
libzfs \
pyzfs \
libmapid \
brand \
hal \
libshare \
libidmap \
libipmi \
libvscan \
smbsrv \
libilb \
scsi \
libima \
mpapi \
librstp \
libfru \
i386_SUBDIRS= \
libntfs \
efcode \
libds \
libdscp \
libpri \
librsc \
storage \
libpcp \
fm: \
libipmi \
libzfs \
scsi \
DCSUBDIRS = \
MSGSUBDIRS= \
abi \
brand \
krb5 \
libast \
libbsm \
libc \
libcmd \
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 \
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: