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