Makefile revision 2157
259N/A# The contents of this file are subject to the terms of the 259N/A# Common Development and Distribution License (the "License"). 259N/A# You may not use this file except in compliance with the License. 259N/A# See the License for the specific language governing permissions 259N/A# and limitations under the License. 259N/A# When distributing Covered Code, include this CDDL HEADER in each 259N/A# If applicable, add the following below this CDDL HEADER, with the 259N/A# fields enclosed by brackets "[]" replaced with your own identifying 259N/A# information: Portions Copyright [yyyy] [name of copyright owner] 817N/A# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 259N/A# for now, the assumption is we build any directory with a Makefile. This may 259N/A# not always be the case. If we build a new make-like tool to drive the upper 259N/A# level build, it may make different decisions and will need to include 259N/A# appropriate dependency information. 817N/A# COMPONENT_DIRS macro with a list of all directories in the workspace that 259N/A @
echo "Generating component list..." 259N/A |
sed -e
's;^$(shell pwd)/;COMPONENT_DIRS += ;g' >$@
259N/A @
echo "Generating component dependencies..." 259N/A# turn off pkglint for the individual component builds. 259N/A# In order to work around an IPS simultaneous publication issue and to improve 259N/A# top level build performance, we postpone catalog and index updates until the 259N/A# end of the build. Individual component builds postpone the updates until 259N/A# they have published all of their packages. @
echo "Generating pkglint(1) cache from CANONICAL_REPO $(CANONICAL_REPO)..." ( echo "pkglint(1) failed, please see $(WS_LOGS)/naughty-canonical-repo-actions"; \ # $(WS_COMPONENTS) is the home directory for the zone user, so create a profile # to pass a few things on to zone based builds echo "export PATH WS_TOP" >>$@
@
cd $@ &&
echo "$(TARGET) $@" && \
-d
"This incorporation constrains packages from the $(CONSOLIDATION) consolidation" \
# pkglint all of the published manifests in one batch. @
echo 'pkglinting all package manifests...'