Makefile revision 83
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# CDDL HEADER START
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# The contents of this file are subject to the terms of the
080575042aba2197b425ebfd52061dea061a9aa1xy# Common Development and Distribution License (the "License").
080575042aba2197b425ebfd52061dea061a9aa1xy# You may not use this file except in compliance with the License.
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d5c3073dbbd835e1e9b7dca0c6c770cf3cc20afachenlu chen - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
080575042aba2197b425ebfd52061dea061a9aa1xy# See the License for the specific language governing permissions
080575042aba2197b425ebfd52061dea061a9aa1xy# and limitations under the License.
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# When distributing Covered Code, include this CDDL HEADER in each
080575042aba2197b425ebfd52061dea061a9aa1xy# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
080575042aba2197b425ebfd52061dea061a9aa1xy# If applicable, add the following below this CDDL HEADER, with the
080575042aba2197b425ebfd52061dea061a9aa1xy# fields enclosed by brackets "[]" replaced with your own identifying
080575042aba2197b425ebfd52061dea061a9aa1xy# information: Portions Copyright [yyyy] [name of copyright owner]
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# CDDL HEADER END
080575042aba2197b425ebfd52061dea061a9aa1xy#
d5c3073dbbd835e1e9b7dca0c6c770cf3cc20afachenlu chen - Sun Microsystems - Beijing China# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
f0f2c3a5cf65a61de34af42edac38b2a7bda3416Girish Moodalbail#
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/shared-macros.mk
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_NAME= tar
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_VERSION= 1.25
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_ARCHIVE_HASH= sha1:0f0c090e51d127cbeffbb9aeeb90db1181d82aed
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/prep.mk
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/configure.mk
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/ips.mk
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xy# workaround for CR 6998994
080575042aba2197b425ebfd52061dea061a9aa1xysparc_COPTFLAG = -xO2
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --libexecdir=/usr/sbin
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --program-prefix=g
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyGNUPROGS = tar
080575042aba2197b425ebfd52061dea061a9aa1xyGNUMAN1 = tar.1
080575042aba2197b425ebfd52061dea061a9aa1xySFWPROGS = gtar
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/shared-targets.mk
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_BUILD_TARGETS = all
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xybuild: $(BUILD_32)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinstall: $(PROTOUSRSHAREMAN1DIR) $(INSTALL_32) \
080575042aba2197b425ebfd52061dea061a9aa1xy $(PROTOGNULINKS) $(PROTOGNUMAN1LINKS) $(PROTOSFWLINKS)
080575042aba2197b425ebfd52061dea061a9aa1xy $(CP) -f $(COMPONENT_DIR)/gtar.1.sunman $(PROTOUSRSHAREMAN1DIR)/gtar.1
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xytest: build
080575042aba2197b425ebfd52061dea061a9aa1xy @cd $(BUILD_DIR_32); $(MAKE) check
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/depend.mk
080575042aba2197b425ebfd52061dea061a9aa1xy