Makefile revision 75
70N/A#
70N/A# CDDL HEADER START
286N/A#
70N/A# The contents of this file are subject to the terms of the
70N/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)
321N/A
70N/Ainclude ../../make-rules/prep.mk
70N/Ainclude ../../make-rules/configure.mk
70N/Ainclude ../../make-rules/ips.mk
98N/A
321N/A# workaround for CR 6998994
321N/Asparc_COPTFLAG = -xO2
213N/A
304N/ACONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt
320N/ACONFIGURE_OPTIONS += --libexecdir=/usr/sbin
231N/ACONFIGURE_OPTIONS += --program-prefix=g
98N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
310N/A
316N/AGNUPROGS = tar
290N/AGNUMAN1 = tar.1
304N/ASFWPROGS = gtar
321N/A
309N/APROTOGNULINKS = $(GNUPROGS:%=$(PROTOGNUBIN)/%)
210N/A
128N/A$(PROTOGNULINKS): $(PROTOGNUBIN)
70N/A $(RM) $@ ; $(SYMLINK) ../../bin/g$(@F) $@
294N/A
98N/APROTOGNUMAN1LINKS = $(GNUMAN1:%=$(PROTOGNUSHAREMAN1)/%)
277N/A
289N/A$(PROTOGNUMAN1LINKS): $(PROTOGNUSHAREMAN1)
290N/A $(RM) $@ ; $(SYMLINK) ../../../../share/man/man1/g$(@F) $@
286N/A
90N/Ainclude ../../make-rules/shared-targets.mk
295N/A
70N/ACOMPONENT_BUILD_TARGETS = all
299N/A
262N/Abuild: $(BUILD_32)
277N/A
280N/Ainstall: $(PROTOUSRSHAREMAN1DIR) $(INSTALL_32) \
309N/A $(PROTOGNULINKS) $(PROTOGNUMAN1LINKS) $(PROTOSFWLINKS)
70N/A $(CP) -f $(COMPONENT_DIR)/gtar.1.sunman $(PROTOUSRSHAREMAN1DIR)/gtar.1
70N/A
319N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
280N/A
319N/Ainclude ../../make-rules/depend.mk
70N/A