Makefile revision 370
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# CDDL HEADER START
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# The contents of this file are subject to the terms of the
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# Common Development and Distribution License (the "License").
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# You may not use this file except in compliance with the License.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# See the License for the specific language governing permissions
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# and limitations under the License.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# When distributing Covered Code, include this CDDL HEADER in each
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# If applicable, add the following below this CDDL HEADER, with the
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# fields enclosed by brackets "[]" replaced with your own identifying
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# information: Portions Copyright [yyyy] [name of copyright owner]
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# CDDL HEADER END
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# for now, the assumption is we build any directory with a Makefile. This may
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# not always be the case. If we build a new make-like tool to drive the upper
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# level build, it may make different decisions and will need to include
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# appropriate dependency information.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# components.mk is auto-generated by the build tools. It populates the
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# COMPONENT_DIRS macro with a list of all directories in the workspace that
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# contain a component.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa @echo "Generating component list..."
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa @$(BASS_O_MATIC) --workspace=$(WS_TOP) --components=paths \
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa | sed -e 's;^$(shell pwd)/;COMPONENT_DIRS += ;g' >$@
# depends.mk is auto-generated by concatenating 'depend.mk' files in each
test: TARGET = test
$(WS_LOGS):
$(MKDIR) $@
$(WS_REPO):
.profile: