Makefile revision 1422
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf#
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf#
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Permission is hereby granted, free of charge, to any person obtaining a
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# copy of this software and associated documentation files (the "Software"),
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# to deal in the Software without restriction, including without limitation
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# the rights to use, copy, modify, merge, publish, distribute, sublicense,
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# and/or sell copies of the Software, and to permit persons to whom the
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Software is furnished to do so, subject to the following conditions:
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf#
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# The above copyright notice and this permission notice (including the next
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# paragraph) shall be included in all copies or substantial portions of the
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Software.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf#
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# DEALINGS IN THE SOFTWARE.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf#
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# No upstream sources, only local sources
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_NAME = build-tools
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_VERSION = src
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfSOURCE_TARBALL_NAME = NONE
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfSOURCE_TARBALL_NAME_SET = yes
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfSOURCE_TARGETS =
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfSOURCE_TARGETS_SET = yes
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfACTUAL_SOURCE_DIR = ../sun-src
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng# Package metadata
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_DESC = custom tools used for building Solaris X11 consolidation
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_LICENSE = Oracle
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_LICENSE_SET = yes
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Dates to show in Oracle copyright notice in pkg license file
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Earliest & latest of the copyrights in the Oracle files in this pkg
1a932f2eab9b00d713acc4205d96ca2485bf2712Quaker FangORACLE_COPYRIGHT_YEARS = 2008, 2012
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# No configure script to run, but need to make build dirs
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfCONFIGURE_TARGETS = $(BUILD_DIR)
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfCONFIGURE_TARGETS_SET = yes
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Build both 32-bit & 64-bit versions
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfBUILD_TYPES = 32 64
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfBUILD_TYPES_SET = yes
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Since we don't have a configure script, pass configure flags to make
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_CONFIG_ENV = MACH="$(MACH$(BUILD_TYPE))" DESTDIR="$(TOOLS_DIR)"
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_CONFIG_ENV += srcdir="$(ACTUAL_SOURCE_DIR)"
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_MAKEFLAGS = $(CONFIG_ENV) -f "$(ACTUAL_SOURCE_DIR)/Makefile"
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfMODULE_MAKEFLAGS += VPATH="$(ACTUAL_SOURCE_DIR)"
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfinclude ../Makefile.inc
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf