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