Makefile revision 3639
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi#
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# CDDL HEADER START
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi#
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# The contents of this file are subject to the terms of the
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# Common Development and Distribution License (the "License").
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# You may not use this file except in compliance with the License.
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi#
1d980e5489836e977ba59b419e27b0ec875c4bd3takashi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# or http://www.opensolaris.org/os/licensing.
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# See the License for the specific language governing permissions
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# and limitations under the License.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen#
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# When distributing Covered Code, include this CDDL HEADER in each
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# If applicable, add the following below this CDDL HEADER, with the
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# fields enclosed by brackets "[]" replaced with your own identifying
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# information: Portions Copyright [yyyy] [name of copyright owner]
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen#
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# CDDL HEADER END
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi#
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi#
3f08db06526d6901aa08c110b5bc7dde6bc39905ndinclude ../../make-rules/shared-macros.mk
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi
1d980e5489836e977ba59b419e27b0ec875c4bd3takashiCOMPONENT_NAME= xz
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCOMPONENT_VERSION= 5.0.1
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjungCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCOMPONENT_PROJECT_URL= http://tukaani.org/xz/
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCOMPONENT_ARCHIVE_HASH= \
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi sha256:3770b8872a4322b9502937b4781d523303bf193962c4822899fd3a210878fc80
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCOMPONENT_BUGDB= utility/xz
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiTPNO= 4463
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfinclude ../../make-rules/prep.mk
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawickinclude ../../make-rules/configure.mk
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiinclude ../../make-rules/ips.mk
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCOMPONENT_TEST_DIR = $(@D)/tests
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# Master test results are the same for 32-bit and 64-bit, so override
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick# here, rather than create multiple identical master files.
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawickCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick# The additional xz specific set of transforms to be applied to the
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# test results to try to normalize them.
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# The cc and libtool lines need to be deleted because x86 and SPARC have
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# different line arguments.
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiCOMPONENT_TEST_TRANSFORMS += \
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi '-e "/^\/ws\/on12-tools\/SUNWspro\/solarisstudio12.3\/bin\/cc/d" ' \
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi '-e "/^\/bin\/bash ..\/libtool/d" ' \
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi '-e "/^libtool: link:/d" '
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiASLR_MODE = $(ASLR_ENABLE)
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick# common targets
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawickconfigure: $(CONFIGURE_32_and_64)
f538c1c51c0d8d53be040a5b8e93fffcce4dba34jim
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawickbuild: $(BUILD_32_and_64)
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashiinclude ../../make-rules/shared-targets.mk
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedoohinstall: $(INSTALL_32_and_64)
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawicktest: $(TEST_32_and_64)
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawickBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawick
c8fa0a6b7b2b6beb23bf4684720100e60e4e5764trawickinclude ../../make-rules/depend.mk
e487d6c09669296f94a5190cc34586a98e624a00nd