Makefile revision 181
38dc50ae00a1ea57fa41500d74f4e818747e3cefpquerna#
7d5ac94fda90b837211dadf2585c0fe8c5dc3e5djerenkrantz# CDDL HEADER START
c330021bf3f45cbf187fa644781e67f7e470a58awrowe#
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz# The contents of this file are subject to the terms of the
62f7716b14b71603a8004434ca3536902bfb8899wrowe# Common Development and Distribution License (the "License").
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# You may not use this file except in compliance with the License.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# or http://www.opensolaris.org/os/licensing.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# See the License for the specific language governing permissions
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# and limitations under the License.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# When distributing Covered Code, include this CDDL HEADER in each
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# If applicable, add the following below this CDDL HEADER, with the
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# fields enclosed by brackets "[]" replaced with your own identifying
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# CDDL HEADER END
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
38dc50ae00a1ea57fa41500d74f4e818747e3cefpquerna#
366616a5cc6212cbf7134ccf877f965d668c6b04wroweinclude ../../make-rules/shared-macros.mk
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantzCOMPONENT_NAME= which
80464b326874ee15d74742ae39708ec3f2eae1d7wroweCOMPONENT_VERSION= 2.16
80464b326874ee15d74742ae39708ec3f2eae1d7wroweCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
38dc50ae00a1ea57fa41500d74f4e818747e3cefpquernaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
53e66a2931d02e84628ba946055cc92e56b43db8wroweCOMPONENT_ARCHIVE_HASH= sha1:247804c95e91583020b4d57ccb517a2997041bd5
53e66a2931d02e84628ba946055cc92e56b43db8wroweCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/which/$(COMPONENT_ARCHIVE)
53e66a2931d02e84628ba946055cc92e56b43db8wrowe
cd365a1ad6798c1faef19b445c00ae97eb94a234pquernainclude ../../make-rules/prep.mk
6507aa1a5709a9122f2e0b9be8bb9bd6d78715c3pquernainclude ../../make-rules/configure.mk
6507aa1a5709a9122f2e0b9be8bb9bd6d78715c3pquernainclude ../../make-rules/ips.mk
b6c98ce4a43f123af0a691fd7b833efcf0ce1d6apquerna
af4c982a7cf4515f124935f99a329744035fc699sliveCONFIGURE_PREFIX = /usr/gnu
f610c7c704235bc327dbe9b62982f5b3f8e30a77wroweCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
f610c7c704235bc327dbe9b62982f5b3f8e30a77wroweCONFIGURE_OPTIONS += --disable-iberty
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewroweCONFIGURE_OPTIONS += --disable-dependency-tracking
d96ee8cda2799e1f2743c1603adeb4833ed0e15fsliveCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz# common targets
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowebuild: $(BUILD_32)
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewroweinstall: $(INSTALL_32)
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowetest: $(TEST_32)
d96ee8cda2799e1f2743c1603adeb4833ed0e15fslive
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewroweBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe
62f7716b14b71603a8004434ca3536902bfb8899wroweinclude ../../make-rules/depend.mk
4b62424416882687387923b3130b96241503cbe0jerenkrantz