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