Makefile revision 3817
98N/A#
98N/A# CDDL HEADER START
1265N/A#
98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
98N/Ainclude ../../make-rules/shared-macros.mk
98N/A
98N/ACOMPONENT_NAME= grep
493N/ACOMPONENT_VERSION= 2.20
493N/ACOMPONENT_PROJECT_URL= http://gnu.org/software/grep/
98N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
970N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
970N/A
970N/ACOMPONENT_ARCHIVE_HASH= \
970N/A sha256:f0af452bc0d09464b6d089b6d56a0a3c16672e9ed9118fbe37b0b6aeaf069a65
970N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/grep/$(COMPONENT_ARCHIVE)
970N/A
970N/ACOMPONENT_BUGDB= utility/ggrep
1003N/A
970N/ATPNO= 18300
970N/A
970N/Ainclude $(WS_MAKE_RULES)/prep.mk
970N/Ainclude $(WS_MAKE_RULES)/configure.mk
970N/Ainclude $(WS_MAKE_RULES)/ips.mk
98N/A
1265N/A# We need to be able to return from void functions
98N/ACFLAGS += $(studio_FEATURES_EXTENSIONS)
911N/A
1265N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1265N/ACONFIGURE_OPTIONS += --prefix=/usr
911N/A
98N/A# Enable aslr for this component
493N/AASLR_MODE = $(ASLR_ENABLE)
493N/A
98N/A# Needed for "gmake test" to work.
98N/A# SHELLOPTS is exported via make-rules/shared-macros.mk,
1089N/A# causing the braceexpand option to be set.
156N/A# This option causes "$1: unbound variable" errors during the check-TESTS,
493N/A# and the gnulib-tests don't even run at all.
493N/A# Note that the below unexports SHELLOPTS, even for targets
493N/A# other than "test."
493N/Aunexport SHELLOPTS
493N/A
493N/A# common targets
493N/Aconfigure: $(CONFIGURE_64)
98N/A
98N/Abuild: $(BUILD_64)
98N/A
1265N/Ainstall: $(INSTALL_64)
1265N/A
1089N/A# 3 expected failures in gnulib-tests:
705N/A# test-mbrtowc3.sh, test-mbrtowc4.sh, test-mbsrtowcs4.sh
1265N/Atest: $(TEST_64)
606N/A
606N/A
606N/AREQUIRED_PACKAGES += library/pcre
606N/AREQUIRED_PACKAGES += shell/bash
705N/AREQUIRED_PACKAGES += system/library
967N/A