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