Makefile revision 883
78N/A#
78N/A# CDDL HEADER START
78N/A#
78N/A# The contents of this file are subject to the terms of the
78N/A# Common Development and Distribution License (the "License").
78N/A# You may not use this file except in compliance with the License.
78N/A#
78N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78N/A# or http://www.opensolaris.org/os/licensing.
78N/A# See the License for the specific language governing permissions
78N/A# and limitations under the License.
78N/A#
78N/A# When distributing Covered Code, include this CDDL HEADER in each
78N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
78N/A# If applicable, add the following below this CDDL HEADER, with the
78N/A# fields enclosed by brackets "[]" replaced with your own identifying
78N/A# information: Portions Copyright [yyyy] [name of copyright owner]
78N/A#
78N/A# CDDL HEADER END
78N/A#
78N/A
78N/A#
78N/A# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
78N/A#
78N/A
78N/Ainclude ../../make-rules/shared-macros.mk
78N/A
78N/A# for now, everything with a Makefile should be built
78N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
78N/A
78N/A.PHONY: $(SUBDIRS)
78N/A
78N/Adownload: TARGET = download
78N/Aprep: TARGET = prep
78N/Abuild: TARGET = build
78N/Ainstall: TARGET = install
78N/Apublish: TARGET = publish
78N/Aclean: TARGET = clean
78N/Aclobber: TARGET = clobber
78N/Atest: TARGET = test
78N/A
78N/A.DEFAULT: publish
78N/A
78N/Adownload prep build install publish test: $(SUBDIRS)
78N/A
78N/Aclean: $(SUBDIRS)
181N/A $(RM) -r prototype build
78N/A
181N/Aclobber: $(SUBDIRS) clean
83N/A
78N/A$(SUBDIRS): FORCE
78N/A @cd $@ && echo "$(TARGET) $@" && $(MAKE) $(TARGET)
78N/A
# dependencies
apache: core smf
coreadm: core
examples: core
firewall: core
smf: core
sysmon: core
time: core
usermgr: core
zconsole: core
FORCE: