Makefile revision 851
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha#
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# CDDL HEADER START
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha#
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# The contents of this file are subject to the terms of the
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# Common Development and Distribution License (the "License").
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# You may not use this file except in compliance with the License.
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha#
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# or http://www.opensolaris.org/os/licensing.
5727f68f33838686d447f55a100309e54efb20f8fielding# See the License for the specific language governing permissions
5727f68f33838686d447f55a100309e54efb20f8fielding# and limitations under the License.
5727f68f33838686d447f55a100309e54efb20f8fielding#
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# When distributing Covered Code, include this CDDL HEADER in each
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# If applicable, add the following below this CDDL HEADER, with the
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# fields enclosed by brackets "[]" replaced with your own identifying
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# information: Portions Copyright [yyyy] [name of copyright owner]
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha#
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# CDDL HEADER END
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude ../../make-rules/shared-macros.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_NAME= which
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_VERSION= 2.16
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_ARCHIVE_HASH= sha1:247804c95e91583020b4d57ccb517a2997041bd5
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/which/$(COMPONENT_ARCHIVE)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude ../../make-rules/prep.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude ../../make-rules/configure.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude ../../make-rules/ips.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_PREFIX = /usr/gnu
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += --disable-iberty
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += --disable-dependency-tracking
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# common targets
6ca0e6973c8176100f4a426444823ae5e777e28fsaschabuild: $(BUILD_32)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall: $(INSTALL_32)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschatest: $(TEST_32)
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanoj
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanoj
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude ../../make-rules/depend.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsascha