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