Makefile revision 4912
120N/A#
120N/A# CDDL HEADER START
120N/A#
120N/A# The contents of this file are subject to the terms of the
120N/A# Common Development and Distribution License (the "License").
120N/A# You may not use this file except in compliance with the License.
120N/A#
120N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
120N/A# or http://www.opensolaris.org/os/licensing.
120N/A# See the License for the specific language governing permissions
120N/A# and limitations under the License.
120N/A#
120N/A# When distributing Covered Code, include this CDDL HEADER in each
120N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
120N/A# If applicable, add the following below this CDDL HEADER, with the
120N/A# fields enclosed by brackets "[]" replaced with your own identifying
120N/A# information: Portions Copyright [yyyy] [name of copyright owner]
120N/A#
120N/A# CDDL HEADER END
120N/A#
120N/A
120N/A#
3817N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
120N/A#
120N/A
120N/Ainclude ../../make-rules/shared-macros.mk
120N/A
120N/ACOMPONENT_NAME= sed
1455N/ACOMPONENT_VERSION= 4.2.2
618N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/sed/
120N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
120N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
1455N/A sha256:fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff
120N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/sed/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/gnu-sed
120N/A
2899N/ATPNO= 12595
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
120N/A
120N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
120N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
120N/A
4730N/ACOMPONENT_TEST_DIR = $(@D)/testsuite
4730N/A
4730N/ACOMPONENT_TEST_TRANSFORMS += \
4730N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
4730N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
4730N/A '-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \
4730N/A '-e "s|^/usr/gnu/bin/make.*$$|XXX_CC_XXX|g" ' \
4730N/A '-e "/^XXX_CC_XXX$$/d" '
4730N/A
4912N/A# Modify test results for system-test
4912N/ACOMPONENT_PRE_SYSTEM_TEST_ACTION += \
4912N/A ($(GSED) -i -e "s|../sed/sed|/usr/gnu/bin/sed|" \
4912N/A $(@D)/testsuite/version.good) ;
4912N/ACOMPONENT_PRE_SYSTEM_TEST_ACTION += \
4912N/A ($(GSED) -i -e "s|../sed/sed|/usr/gnu/bin/sed|" \
4912N/A $(SOURCE_DIR)/testsuite/eval.good) ;
4912N/ACOMPONENT_PRE_SYSTEM_TEST_ACTION += \
4912N/A ($(GSED) -i -e "s|../sed/sed|/usr/gnu/bin/sed|" \
4912N/A $(SOURCE_DIR)/testsuite/eval.sed) ;
4912N/A
4730N/ACOMPONENT_SYSTEM_TEST_ENV += SED=/usr/gnu/bin/sed
4730N/ACOMPONENT_SYSTEM_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
4730N/ACOMPONENT_SYSTEM_TEST_DIR = $(@D)/testsuite
4730N/A
1455N/AASLR_MODE = $(ASLR_ENABLE)
120N/A
3477N/Aconfigure: $(CONFIGURE_64)
3477N/A
1455N/Abuild: $(BUILD_64)
181N/A
1455N/Ainstall: $(INSTALL_64)
1455N/A
1455N/Atest: $(TEST_64)
120N/A
4730N/Asystem-test: configure $(SYSTEM_TEST_64)
4337N/A
120N/A
3817N/AREQUIRED_PACKAGES += system/library