Makefile revision 1273
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff#
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence# CDDL HEADER START
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# The contents of this file are subject to the terms of the
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Common Development and Distribution License (the "License").
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# You may not use this file except in compliance with the License.
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff#
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# or http://www.opensolaris.org/os/licensing.
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# See the License for the specific language governing permissions
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence# and limitations under the License.
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer#
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# When distributing Covered Code, include this CDDL HEADER in each
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# If applicable, add the following below this CDDL HEADER, with the
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# fields enclosed by brackets "[]" replaced with your own identifying
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# information: Portions Copyright [yyyy] [name of copyright owner]
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence#
95be83b467e2384d414693982318a5c06cccf1d7Andreas Gustafsson# CDDL HEADER END
f9354808d122036e66e9f007a4bb12d4aa936aaeAndreas Gustafsson#
f9354808d122036e66e9f007a4bb12d4aa936aaeAndreas Gustafsson# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
f9354808d122036e66e9f007a4bb12d4aa936aaeAndreas Gustafsson#
f9354808d122036e66e9f007a4bb12d4aa936aaeAndreas Gustafssoninclude ../../make-rules/shared-macros.mk
b1d234eb75e2804e09d89178a76df39c321db51bBrian Wellington
b1d234eb75e2804e09d89178a76df39c321db51bBrian WellingtonCOMPONENT_NAME= tar
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCOMPONENT_VERSION= 1.26
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCOMPONENT_PROJECT_URL= http://www.gnu.org/software/tar/
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCOMPONENT_ARCHIVE_HASH= \
58007c5fde59b756174280d26916eb27f593e6ccBob Halley sha256:5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE)
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyCOMPONENT_BUGDB= utility/gtar
58007c5fde59b756174280d26916eb27f593e6ccBob Halley
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinclude ../../make-rules/prep.mk
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinclude ../../make-rules/configure.mk
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinclude ../../make-rules/ips.mk
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# workaround for CR 6998994
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffsparc_COPTFLAG = -xO2
a55d0a9080c8ef4117d2fc27f63220a56afb2434Andreas Gustafsson
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Use ssh (rather than rsh) for remote commands.
353dcaf1cc77d122d9b4b750bbbfc4c96b4b292bAndreas GustafssonCONFIGURE_ENV += "RSH=/usr/bin/ssh"
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence
615f17d0171dd807c6803b25a255a8ea2051fbd4David LawrenceCONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += --libexecdir=/usr/sbin
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
58007c5fde59b756174280d26916eb27f593e6ccBob Halley
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffCOMPONENT_BUILD_TARGETS = all
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffbuild: $(BUILD_32)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graffinstall: $(INSTALL_32)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff
a55d0a9080c8ef4117d2fc27f63220a56afb2434Andreas Gustafssontest: $(TEST_32)
7e4d75a5daeaaf8a7f559f9bd7fbf540184e235cMark Andrews
353dcaf1cc77d122d9b4b750bbbfc4c96b4b292bAndreas GustafssonBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrenceinclude ../../make-rules/depend.mk
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence