Makefile revision fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# CDDL HEADER START
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# The contents of this file are subject to the terms of the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Common Development and Distribution License (the "License").
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# You may not use this file except in compliance with the License.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# See the License for the specific language governing permissions
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# and limitations under the License.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# When distributing Covered Code, include this CDDL HEADER in each
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# If applicable, add the following below this CDDL HEADER, with the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# fields enclosed by brackets "[]" replaced with your own identifying
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# information: Portions Copyright [yyyy] [name of copyright owner]
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# CDDL HEADER END
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Copyright (c) 2012 by Delphix. All rights reserved.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Copyright (c) 2012, Joyent, Inc. All rights reserved.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Copyright (c) 2013 Gary Mills
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Note that libcurses installs commands along with its library.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# This is a minor bug which probably should be fixed.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Note also that a few extra libraries are kept in cmd source.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Certain libraries are linked with, hence depend on, other libraries.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Although we have historically used .WAIT to express dependencies, it
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# reduces the amount of parallelism and thus lengthens the time it
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# takes to build the libraries. Thus, we now require that any new
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# libraries explicitly call out their dependencies. Eventually, all
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# the library dependencies will be called out explicitly. See
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# "Library interdependencies" near the end of this file.
.PARALLEL:
SUBDIRS= \
SUBDIRS += \
libmd \
libmd5 \
librsm \
libnsl \
libsctp \
libsip \
libaio \
libast \
libdll \
libcmd \
libshell \
libsum \
librt \
libadm \
libctf \
libgen \
libgss \
libpam \
libuuid \
libslp \
libdoor \
libdladm \
libdlpi \
libeti \
libcrypt \
libefi \
libfstyp \
libipadm \
libipd \
libipmp \
libkmf \
libkstat \
libkvm \
liblm \
libnls \
libnwam \
libtecla \
libumem \
libsasl \
libldap5 \
libbsm \
libsys \
libnisdb \
libpool \
libpp \
libproc \
hbaapi \
smhba \
sun_fc \
sun_sas \
libsmbfs \
libfcoe \
libsrpt \
libstmf \
libnsctl \
libdscfg \
librdc \
libpkg \
SUBDIRS += \
abi \
libdevid \
libc_db \
libndmp \
libsec \
libtnf \
libxnet \
nsswitch \
libuutil \
libscf \
libsched \
libcpc \
madv \
mpss \
libwrap \
libtsnet \
libtsol \
libmail \
lvm \
libipp \
liblgrp \
libfsmgt \
fm \
libavl \
udapl \
libzpool \
libzfs \
libbe \
pylibbe \
pyzfs \
libmapid \
brand \
hal \
libshare \
libidmap \
libipmi \
libvscan \
smbsrv \
libilb \
scsi \
libima \
mpapi \
librstp \
libfru \
i386_SUBDIRS= \
libntfs \
libfdisk \
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 \
libipd \
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: