Makefile revision 5685
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# CDDL HEADER START
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# The contents of this file are subject to the terms of the
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# Common Development and Distribution License (the "License").
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# You may not use this file except in compliance with the License.
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4b311579b2c8aebac85fb7cb8ac89e6c37b4bc1asf# or http://www.opensolaris.org/os/licensing.
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# See the License for the specific language governing permissions
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# and limitations under the License.
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# When distributing Covered Code, include this CDDL HEADER in each
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# If applicable, add the following below this CDDL HEADER, with the
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# fields enclosed by brackets "[]" replaced with your own identifying
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# information: Portions Copyright [yyyy] [name of copyright owner]
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# CDDL HEADER END
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
65a611af7093423efb91e5794b8887a527d4cf63trawick
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crboweninclude ../../../make-rules/shared-macros.mk
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenCOMPONENT_NAME= developer/opensolaris/userland
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenCOMPONENT_VERSION=
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenCOMPONENT_SRC=
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenCOMPONENT_ARCHIVE=
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenCOMPONENT_PROJECT_URL= http://solaris-userland.java.net/
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenCOMPONENT_ARCHIVE_URL= http://hg.java.net/solaris-userland-gate/
0734f81384d5f2528bb119f89d135043a280d5b2minfrinCOMPONENT_BUGDB= gate-stuff/userland
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crboweninclude $(WS_MAKE_RULES)/prep.mk
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# This has a dependency on every REQUIRED_PACKAGE in Userland, some of which
7906201913b68fe78b9d6a22ab33bf21d82c490eminfrin# are not available on S11.
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenifeq ($(BUILD_TYPE), evaluation)
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenPUBLISH_STAMP=
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenendif
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crboweninclude $(WS_MAKE_RULES)/ips.mk
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen$(WS_MACH)/requires.mk:
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen (cd $(WS_COMPONENTS) ; $(GMAKE) $@)
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen-include $(WS_MACH)/requires.mk
2eb7a8afc318286c210a1fbb2ff2ba904471956frjung
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# The package is created in two parts: the checked-in manifest and a generated
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# file of actions based on the REQUIRED_PACKAGES macro value.
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenPKG_OPTIONS += -I $(BUILD_DIR)
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
343a568a3281a6a0a4c562407aef7b0dfc299b98minfrin$(BUILD_DIR)/package.list: $(BUILD_DIR) $(WS_MACH)/requires.mk
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen @echo $(REQUIRED_PACKAGES:%="depend type=require fmri=pkg:/%\\n") >$@
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenbuild install: $(BUILD_DIR)/package.list
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crbowentest: $(NO_TESTS)
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
d474d8ef01ec5c2a09341cd148851ed383c3287crbowensystem-test: $(NO_TESTS)
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen
6c4ef4a72d9897e53365b94103f4bd819fd0d3acndclean clobber::
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen $(RM) -r $(BUILD_DIR)
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen