Makefile revision 844
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# CDDL HEADER START
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# The contents of this file are subject to the terms of the
c0c79a3f09914f35651895ffc111883455b7f62dtz# Common Development and Distribution License (the "License").
c0c79a3f09914f35651895ffc111883455b7f62dtz# You may not use this file except in compliance with the License.
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c0c79a3f09914f35651895ffc111883455b7f62dtz# or http://www.opensolaris.org/os/licensing.
c0c79a3f09914f35651895ffc111883455b7f62dtz# See the License for the specific language governing permissions
c0c79a3f09914f35651895ffc111883455b7f62dtz# and limitations under the License.
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# When distributing Covered Code, include this CDDL HEADER in each
c0c79a3f09914f35651895ffc111883455b7f62dtz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c0c79a3f09914f35651895ffc111883455b7f62dtz# If applicable, add the following below this CDDL HEADER, with the
c0c79a3f09914f35651895ffc111883455b7f62dtz# fields enclosed by brackets "[]" replaced with your own identifying
c0c79a3f09914f35651895ffc111883455b7f62dtz# information: Portions Copyright [yyyy] [name of copyright owner]
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# CDDL HEADER END
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtzinclude ../../make-rules/shared-macros.mk
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzCOMPONENT_NAME= tar
c0c79a3f09914f35651895ffc111883455b7f62dtzCOMPONENT_VERSION= 1.26
c0c79a3f09914f35651895ffc111883455b7f62dtzCOMPONENT_PROJECT_URL= http://www.gnu.org/software/tar/
c0c79a3f09914f35651895ffc111883455b7f62dtzCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c0c79a3f09914f35651895ffc111883455b7f62dtzCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
c0c79a3f09914f35651895ffc111883455b7f62dtzCOMPONENT_ARCHIVE_HASH= \
c0c79a3f09914f35651895ffc111883455b7f62dtz sha256:5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41
c0c79a3f09914f35651895ffc111883455b7f62dtzCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzinclude ../../make-rules/prep.mk
c0c79a3f09914f35651895ffc111883455b7f62dtzinclude ../../make-rules/configure.mk
c0c79a3f09914f35651895ffc111883455b7f62dtzinclude ../../make-rules/ips.mk
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtz# workaround for CR 6998994
c0c79a3f09914f35651895ffc111883455b7f62dtzsparc_COPTFLAG = -xO2
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtz# Use ssh (rather than rsh) for remote commands.
c0c79a3f09914f35651895ffc111883455b7f62dtzCONFIGURE_ENV += "RSH=/usr/bin/ssh"
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzCONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt
c0c79a3f09914f35651895ffc111883455b7f62dtzCONFIGURE_OPTIONS += --libexecdir=/usr/sbin
c0c79a3f09914f35651895ffc111883455b7f62dtzCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzCOMPONENT_BUILD_TARGETS = all
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzbuild: $(BUILD_32)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzinstall: $(INSTALL_32)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtztest: $(TEST_32)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzinclude ../../make-rules/depend.mk
c0c79a3f09914f35651895ffc111883455b7f62dtz