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