Makefile revision 4546
229N/A#
229N/A# CDDL HEADER START
229N/A#
229N/A# The contents of this file are subject to the terms of the
229N/A# Common Development and Distribution License (the "License").
229N/A# You may not use this file except in compliance with the License.
229N/A#
229N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
229N/A# or http://www.opensolaris.org/os/licensing.
229N/A# See the License for the specific language governing permissions
229N/A# and limitations under the License.
229N/A#
229N/A# When distributing Covered Code, include this CDDL HEADER in each
229N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
229N/A# If applicable, add the following below this CDDL HEADER, with the
229N/A# fields enclosed by brackets "[]" replaced with your own identifying
229N/A# information: Portions Copyright [yyyy] [name of copyright owner]
229N/A#
229N/A# CDDL HEADER END
229N/A#
3817N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
229N/A#
229N/Ainclude ../../make-rules/shared-macros.mk
229N/A
1244N/ACOMPONENT_NAME= tar
229N/ACOMPONENT_VERSION= 1.28
229N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/tar/
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
229N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
1258N/ACOMPONENT_ARCHIVE_HASH= \
229N/A sha256:60e4bfe0602fef34cd908d91cf638e17eeb09394d7b98c2487217dc4d3147562
3817N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE)
3817N/ACOMPONENT_BUGDB= utility/gtar
229N/A
229N/ATPNO= 23088
229N/A
229N/Ainclude $(WS_MAKE_RULES)/prep.mk
229N/Ainclude $(WS_MAKE_RULES)/configure.mk
229N/Ainclude $(WS_MAKE_RULES)/ips.mk
229N/A
229N/APATCH_LEVEL=0
229N/A
1522N/A# tests (ttyemu.c) requires c99
1522N/Astudio_C99MODE = $(studio_C99_ENABLE)
1522N/A
1938N/A# Enforce tar binary to standard path
1938N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
3817N/A
231N/A# Use ssh (rather than rsh) for remote commands.
231N/ACONFIGURE_ENV += "RSH=/usr/bin/ssh"
814N/A
229N/ACONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt
229N/ACONFIGURE_OPTIONS += --libexecdir=/usr/sbin
229N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
229N/A
229N/ACOMPONENT_SYSTEM_TEST_DIR = $(BUILD_DIR_64)/tests
229N/ACOMPONENT_SYSTEM_TEST_TARGETS = installcheck-local
229N/A
229N/A# Remove everything except test output.
229N/ACOMPONENT_TEST_TRANSFORMS = \
229N/A '-e "/^\#\# ----/,/tests were skipped\./p" ' \
229N/A '-e "/.*/d" '
229N/A
229N/AASLR_MODE = $(ASLR_ENABLE)
229N/A
229N/Aconfigure: $(CONFIGURE_64)
3817N/A
3817N/Abuild: $(BUILD_64)
3817N/A
install: $(INSTALL_64)
test: $(TEST_64)
system-test: $(BUILD_64) $(SYSTEM_TEST_64)
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