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