Makefile revision 618
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# CDDL HEADER START
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# The contents of this file are subject to the terms of the
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Common Development and Distribution License (the "License").
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# You may not use this file except in compliance with the License.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# or http://www.opensolaris.org/os/licensing.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# See the License for the specific language governing permissions
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# and limitations under the License.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# If applicable, add the following below this CDDL HEADER, with the
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# CDDL HEADER END
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinclude ../../make-rules/shared-macros.mk
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCOMPONENT_NAME= coreutils
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCOMPONENT_VERSION= 8.5
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntCOMPONENT_PROJECT_URL= http://www.gnu.org/software/coreutils/
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCOMPONENT_ARCHIVE_HASH= sha1:939144f16d05691753a87134436dd2bb8ea89851
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/coreutils/$(COMPONENT_ARCHIVE)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinclude ../../make-rules/prep.mk
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinclude ../../make-rules/configure.mk
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinclude ../../make-rules/ips.mk
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCONFIGURE_PREFIX = /usr/gnu
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCONFIGURE_OPTIONS += --libdir=/usr/lib
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCONFIGURE_OPTIONS += CPPFLAGS=-I/usr/include/gmp
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# common targets
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsbuild: $(BUILD_32)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# whoami is in both /usr/bin and /usr/gnu/bin; mistake?
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinstall: $(INSTALL_32)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewstest: $(TEST_32)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinclude ../../make-rules/depend.mk
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews