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