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