Makefile revision 493
6db1357c34f26079dc2516b02d712df228e3db99Jeremy Reed#
6db1357c34f26079dc2516b02d712df228e3db99Jeremy Reed# CDDL HEADER START
1b7dd640e8d125854b5abff12d9ed84c80050b99Mark Andrews#
0f39e477c54929f3da65b083b4e3c8500ac8152eMark Andrews# The contents of this file are subject to the terms of the
52dec6996a1f305200211ff44bddf4cbb2edbb46Mark Andrews# Common Development and Distribution License (the "License").
52dec6996a1f305200211ff44bddf4cbb2edbb46Mark Andrews# You may not use this file except in compliance with the License.
52dec6996a1f305200211ff44bddf4cbb2edbb46Mark Andrews#
8f196ee82b5465d2060de279f68535076ddbad64Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8f196ee82b5465d2060de279f68535076ddbad64Mark Andrews# or http://www.opensolaris.org/os/licensing.
8f196ee82b5465d2060de279f68535076ddbad64Mark Andrews# See the License for the specific language governing permissions
8f196ee82b5465d2060de279f68535076ddbad64Mark Andrews# and limitations under the License.
56907aff69cabc391e672d360c88cb1856a839efMark Andrews#
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews# If applicable, add the following below this CDDL HEADER, with the
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews#
56907aff69cabc391e672d360c88cb1856a839efMark Andrews# CDDL HEADER END
598da901aba066208ab57ef5a44661f00f6c7dc6Mark Andrews#
598da901aba066208ab57ef5a44661f00f6c7dc6Mark Andrews# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
598da901aba066208ab57ef5a44661f00f6c7dc6Mark Andrews#
56907aff69cabc391e672d360c88cb1856a839efMark Andrewsinclude ../../make-rules/shared-macros.mk
cac4576405a48a84f3c4d5de0ffa28a865a13309Mark Andrews
cac4576405a48a84f3c4d5de0ffa28a865a13309Mark AndrewsCOMPONENT_NAME= which
7d211b458fed36326b9e125b9d74089f9dccc140Mark AndrewsCOMPONENT_VERSION= 2.16
7d211b458fed36326b9e125b9d74089f9dccc140Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7d211b458fed36326b9e125b9d74089f9dccc140Mark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
d2ef5b3c5c8e08694f8f755cf2f14f8ec2f248a6Mark AndrewsCOMPONENT_ARCHIVE_HASH= sha1:247804c95e91583020b4d57ccb517a2997041bd5
d2ef5b3c5c8e08694f8f755cf2f14f8ec2f248a6Mark AndrewsCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/which/$(COMPONENT_ARCHIVE)
45c3c12ed3415e5cce50d73a735034e32aed1f73Mark Andrews
45c3c12ed3415e5cce50d73a735034e32aed1f73Mark Andrewsinclude ../../make-rules/prep.mk
45c3c12ed3415e5cce50d73a735034e32aed1f73Mark Andrewsinclude ../../make-rules/configure.mk
692ce6c31351481644ce6167cb66edaff68cd493Mark Andrewsinclude ../../make-rules/ips.mk
692ce6c31351481644ce6167cb66edaff68cd493Mark Andrews
0807f596b58e22dd123539d0a351ef061c5eaae4Mark AndrewsCONFIGURE_PREFIX = /usr/gnu
0807f596b58e22dd123539d0a351ef061c5eaae4Mark AndrewsCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
0807f596b58e22dd123539d0a351ef061c5eaae4Mark AndrewsCONFIGURE_OPTIONS += --disable-iberty
6cf047f100e35ef9ea0dc1aed3f05cd3c4ee3c3dMark AndrewsCONFIGURE_OPTIONS += --disable-dependency-tracking
6cf047f100e35ef9ea0dc1aed3f05cd3c4ee3c3dMark AndrewsCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
6cf047f100e35ef9ea0dc1aed3f05cd3c4ee3c3dMark Andrews
b663e99af61e032273bdffa2f8d26de539ae6930Mark Andrews# common targets
b663e99af61e032273bdffa2f8d26de539ae6930Mark Andrewsbuild: $(BUILD_32)
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉install: $(INSTALL_32)
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉test: $(TEST_32)
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉
7558bd3e3824fb2ae349b8ab80f73d17d3ef5a77Francis DupontBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
7558bd3e3824fb2ae349b8ab80f73d17d3ef5a77Francis Dupont
7558bd3e3824fb2ae349b8ab80f73d17d3ef5a77Francis Dupontinclude ../../make-rules/depend.mk
7558bd3e3824fb2ae349b8ab80f73d17d3ef5a77Francis Dupont