561N/A#
561N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
911N/A#
837N/A# Permission is hereby granted, free of charge, to any person obtaining a
561N/A# copy of this software and associated documentation files (the "Software"),
561N/A# to deal in the Software without restriction, including without limitation
561N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
561N/A# and/or sell copies of the Software, and to permit persons to whom the
561N/A# Software is furnished to do so, subject to the following conditions:
561N/A#
561N/A# The above copyright notice and this permission notice (including the next
561N/A# paragraph) shall be included in all copies or substantial portions of the
561N/A# Software.
561N/A#
561N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
561N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
561N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
561N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
561N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
561N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
561N/A# DEALINGS IN THE SOFTWARE.
561N/A#
561N/A
561N/A# No upstream sources, only local sources
561N/AMODULE_NAME = build-tools
561N/AMODULE_VERSION = src
561N/ASOURCE_TARBALL_NAME = NONE
561N/ASOURCE_TARBALL_NAME_SET = yes
561N/ASOURCE_TARGETS =
561N/ASOURCE_TARGETS_SET = yes
561N/AACTUAL_SOURCE_DIR = ../sun-src
561N/A
561N/A# Package metadata
561N/AMODULE_DESC = custom tools used for building Solaris X11 consolidation
561N/AMODULE_LICENSE = Oracle
561N/AMODULE_LICENSE_SET = yes
837N/A
561N/A# Dates to show in Oracle copyright notice in pkg license file
911N/A# Earliest & latest of the copyrights in the Oracle files in this pkg
911N/AORACLE_COPYRIGHT_YEARS = 2008, 2012
911N/A
911N/A# No configure script to run, but need to make build dirs
561N/ACONFIGURE_TARGETS = $(BUILD_DIR)
561N/ACONFIGURE_TARGETS_SET = yes
# Build both 32-bit & 64-bit versions
BUILD_TYPES = 32 64
BUILD_TYPES_SET = yes
# Since we don't have a configure script, pass configure flags to make
MODULE_CONFIG_ENV = MACH="$(MACH$(BUILD_TYPE))" DESTDIR="$(TOOLS_DIR)"
MODULE_CONFIG_ENV += srcdir="$(ACTUAL_SOURCE_DIR)"
MODULE_MAKEFLAGS = $(CONFIG_ENV) -f "$(ACTUAL_SOURCE_DIR)/Makefile"
MODULE_MAKEFLAGS += VPATH="$(ACTUAL_SOURCE_DIR)"
include ../Makefile.inc