Makefile revision 4337
667N/A#
667N/A# CDDL HEADER START
667N/A#
667N/A# The contents of this file are subject to the terms of the
667N/A# Common Development and Distribution License (the "License").
667N/A# You may not use this file except in compliance with the License.
667N/A#
667N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
667N/A# or http://www.opensolaris.org/os/licensing.
667N/A# See the License for the specific language governing permissions
667N/A# and limitations under the License.
667N/A#
667N/A# When distributing Covered Code, include this CDDL HEADER in each
667N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
667N/A# If applicable, add the following below this CDDL HEADER, with the
667N/A# fields enclosed by brackets "[]" replaced with your own identifying
667N/A# information: Portions Copyright [yyyy] [name of copyright owner]
667N/A#
667N/A# CDDL HEADER END
667N/A#
3639N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
667N/A#
667N/Ainclude ../../make-rules/shared-macros.mk
667N/A
667N/ACOMPONENT_NAME= xz
4061N/ACOMPONENT_VERSION= 5.2.1
667N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
667N/ACOMPONENT_PROJECT_URL= http://tukaani.org/xz/
667N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
4061N/A sha256:b918b6648076e74f8d7ae19db5ee663df800049e187259faf5eb997a7b974681
667N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/xz
667N/A
4061N/ATPNO= 21937
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
667N/A
4061N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
4061N/ACONFIGURE_OPTIONS += --bindir=$(USRBINDIR)
667N/A
3639N/ACOMPONENT_TEST_DIR = $(@D)/tests
3639N/A
3639N/A# Master test results are the same for 32-bit and 64-bit, so override
3639N/A# here, rather than create multiple identical master files.
3639N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3639N/A
3639N/A# The additional xz specific set of transforms to be applied to the
3639N/A# test results to try to normalize them.
3639N/ACOMPONENT_TEST_TRANSFORMS += \
3854N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
3854N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
3854N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
3854N/A '-e "/^XXX_CC_XXX$$/d" '
3639N/A
1475N/AASLR_MODE = $(ASLR_ENABLE)
1475N/A
667N/A# common targets
3477N/Aconfigure: $(CONFIGURE_32_and_64)
3477N/A
667N/Abuild: $(BUILD_32_and_64)
667N/A
3817N/Ainclude $(WS_MAKE_RULES)/shared-targets.mk
667N/A
667N/Ainstall: $(INSTALL_32_and_64)
667N/A
667N/Atest: $(TEST_32_and_64)
667N/A
4337N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4337N/A
3817N/AREQUIRED_PACKAGES += shell/bash
3817N/AREQUIRED_PACKAGES += system/library
4061N/AREQUIRED_PACKAGES += system/library/security/crypto