Makefile revision 606
153N/A#
153N/A# CDDL HEADER START
153N/A#
153N/A# The contents of this file are subject to the terms of the
153N/A# Common Development and Distribution License (the "License").
153N/A# You may not use this file except in compliance with the License.
153N/A#
153N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
153N/A# or http://www.opensolaris.org/os/licensing.
153N/A# See the License for the specific language governing permissions
153N/A# and limitations under the License.
153N/A#
153N/A# When distributing Covered Code, include this CDDL HEADER in each
153N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153N/A# If applicable, add the following below this CDDL HEADER, with the
153N/A# fields enclosed by brackets "[]" replaced with your own identifying
153N/A# information: Portions Copyright [yyyy] [name of copyright owner]
153N/A#
153N/A# CDDL HEADER END
153N/A#
844N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
153N/A#
153N/Ainclude ../../make-rules/shared-macros.mk
153N/A
153N/ACOMPONENT_NAME= grep
153N/ACOMPONENT_VERSION= 2.5.4
153N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
618N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
153N/ACOMPONENT_ARCHIVE_HASH= sha1:9bbd4f02b18bb264e0fcb17293b6f0445c8694d2
153N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/grep/$(COMPONENT_ARCHIVE)
844N/A
844N/Ainclude ../../make-rules/prep.mk
153N/Ainclude ../../make-rules/configure.mk
153N/Ainclude ../../make-rules/ips.mk
153N/A
153N/A# We need to be able to return from void functions
153N/ACFLAGS += $(studio_FEATURES_EXTENSIONS)
1273N/A
1273N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
153N/ACONFIGURE_OPTIONS += --prefix=/usr
153N/A
153N/A# common targets
153N/Abuild: $(BUILD_32)
153N/A
153N/Ainstall: $(INSTALL_32)
153N/A
153N/Atest: $(TEST_32)
153N/A
153N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
153N/A
153N/Ainclude ../../make-rules/depend.mk
153N/A