Makefile revision 4337
126N/A#
126N/A# CDDL HEADER START
126N/A#
126N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License (the "License").
851N/A# You may not use this file except in compliance with the License.
126N/A#
126N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/Ainclude ../../make-rules/shared-macros.mk
919N/A
919N/ACOMPONENT_NAME= tar
126N/ACOMPONENT_VERSION= 1.27.1
126N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/tar/
126N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
126N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
493N/ACOMPONENT_ARCHIVE_HASH= \
126N/A sha256:9b0fb3ce8512059337add0da5f8f0f7d7647f2201f5ece24581d620ea60337c6
126N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE)
851N/ACOMPONENT_BUGDB= utility/gtar
126N/A
911N/ATPNO= 16886
911N/A
911N/Ainclude $(WS_MAKE_RULES)/prep.mk
911N/Ainclude $(WS_MAKE_RULES)/configure.mk
126N/Ainclude $(WS_MAKE_RULES)/ips.mk
126N/A
126N/A# Enforce tar binary to standard path
126N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
126N/A
126N/A# Use ssh (rather than rsh) for remote commands.
126N/ACONFIGURE_ENV += "RSH=/usr/bin/ssh"
126N/A
126N/ACONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt
493N/ACONFIGURE_OPTIONS += --libexecdir=/usr/sbin
126N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
126N/A
493N/ACOMPONENT_BUILD_TARGETS = all
126N/A
126N/A# Remove differences between 'gmake test' and 'gmake build test'.
493N/ACOMPONENT_TEST_TRANSFORMS += \
126N/A '-e "/make genfile/,/Leaving directory/d"'
126N/A
493N/AASLR_MODE = $(ASLR_ENABLE)
126N/A
126N/Aconfigure: $(CONFIGURE_64)
126N/A
126N/Abuild: $(BUILD_64)
126N/A
install: $(INSTALL_64)
test: $(TEST_64)
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
REQUIRED_PACKAGES += compress/bzip2
REQUIRED_PACKAGES += compress/gzip
REQUIRED_PACKAGES += network/ssh
REQUIRED_PACKAGES += network/openssh
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library