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