Makefile revision 126
70N/A#
70N/A# CDDL HEADER START
70N/A#
70N/A# The contents of this file are subject to the terms of the
371N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
70N/A#
70N/Ainclude ../../make-rules/shared-macros.mk
70N/A
70N/ACOMPONENT_NAME= tar
70N/ACOMPONENT_VERSION= 1.25
70N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
70N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
70N/ACOMPONENT_ARCHIVE_HASH= sha1:0f0c090e51d127cbeffbb9aeeb90db1181d82aed
70N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE)
70N/A
70N/Ainclude ../../make-rules/prep.mk
371N/Ainclude ../../make-rules/configure.mk
70N/Ainclude ../../make-rules/ips.mk
70N/A
70N/A# workaround for CR 6998994
70N/Asparc_COPTFLAG = -xO2
70N/A
70N/ACONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt
371N/ACONFIGURE_OPTIONS += --libexecdir=/usr/sbin
70N/ACONFIGURE_OPTIONS += --program-prefix=g
70N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
70N/A
70N/AGNUPROGS = tar
70N/AGNUMAN1 = tar.1
70N/ASFWPROGS = gtar
70N/A
70N/Ainclude ../../make-rules/shared-targets.mk
70N/A
70N/ACOMPONENT_BUILD_TARGETS = all
build: $(BUILD_32)
install: $(PROTOUSRSHAREMAN1DIR) $(INSTALL_32) \
$(PROTOGNULINKS) $(PROTOGNUMAN1LINKS) $(PROTOSFWLINKS)
$(CP) -f $(COMPONENT_DIR)/gtar.1.sunman $(PROTOUSRSHAREMAN1DIR)/gtar.1
test: build
@cd $(BUILD_DIR_32); $(MAKE) check
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk