Makefile revision 536
418N/A# The contents of this file are subject to the terms of the 418N/A# Common Development and Distribution License (the "License"). 418N/A# You may not use this file except in compliance with the License. 418N/A# See the License for the specific language governing permissions 418N/A# and limitations under the License. 418N/A# When distributing Covered Code, include this CDDL HEADER in each 418N/A# If applicable, add the following below this CDDL HEADER, with the 418N/A# fields enclosed by brackets "[]" replaced with your own identifying 418N/A# information: Portions Copyright [yyyy] [name of copyright owner] 418N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. 418N/A# for now, the assumption is we build any directory with a Makefile. This may 418N/A# not always be the case. If we build a new make-like tool to drive the upper 418N/A# level build, it may make different decisions and will need to include 418N/A# appropriate dependency information. 418N/A# COMPONENT_DIRS macro with a list of all directories in the workspace that 418N/A @
echo "Generating component list..." 418N/A |
sed -e
's;^$(shell pwd)/;COMPONENT_DIRS += ;g' >$@
418N/A @
echo "Generating component dependencies..." 418N/A# turn off pkglint for the individual component builds. # $(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...'