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