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