Makefile revision 844
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#
682N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
80N/A#
80N/Ainclude ../../make-rules/shared-macros.mk
80N/A
80N/ACOMPONENT_NAME= grep
682N/ACOMPONENT_VERSION= 2.10
618N/ACOMPONENT_PROJECT_URL= http://gnu.org/software/grep/
80N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
80N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
682N/A
682N/A# Note that the 2.10 version of the compressed GNU grep tarball on
682N/A# ftp.gnu.org is only available in .xz format. We cannot use this
682N/A# as xz is not currently part of the Solaris 11 Update CBE. We
682N/A# have recompressed that tarball as a .bz2 file and placed it in the
844N/A# special Userland cache. The sha256 hash is for the payload .tar file.
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:299d0ccb0238894cc674da3c5a6a6fb82c3d63286f7f127e448e2ff97d21e2fb
80N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/grep/$(COMPONENT_ARCHIVE)
80N/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
80N/A# common targets
80N/Abuild: $(BUILD_32)
80N/A
181N/Ainstall: $(INSTALL_32)
80N/A
181N/Atest: $(TEST_32)
80N/A
80N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
80N/A
80N/Ainclude ../../make-rules/depend.mk