Makefile revision 618
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews#
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# CDDL HEADER START
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews#
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# The contents of this file are subject to the terms of the
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# Common Development and Distribution License (the "License").
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# You may not use this file except in compliance with the License.
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews#
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# or http://www.opensolaris.org/os/licensing.
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# See the License for the specific language governing permissions
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# and limitations under the License.
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews#
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews#
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# CDDL HEADER END
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews#
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews#
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrewsinclude ../../make-rules/shared-macros.mk
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark Andrews
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark AndrewsCOMPONENT_NAME= which
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark AndrewsCOMPONENT_VERSION= 2.16
ce76952df3c1a8d5da2e98849a1464f500c0aa38Mark AndrewsCOMPONENT_PROJECT_URL= http://www.xs4all.nl/~carlo17/which/
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= sha1:247804c95e91583020b4d57ccb517a2997041bd5
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/which/$(COMPONENT_ARCHIVE)
include ../../make-rules/prep.mk
include ../../make-rules/configure.mk
include ../../make-rules/ips.mk
CONFIGURE_PREFIX = /usr/gnu
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
CONFIGURE_OPTIONS += --disable-iberty
CONFIGURE_OPTIONS += --disable-dependency-tracking
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(TEST_32)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk