Makefile revision 1273
174N/A#
174N/A# CDDL HEADER START
174N/A#
174N/A# The contents of this file are subject to the terms of the
174N/A# Common Development and Distribution License (the "License").
174N/A# You may not use this file except in compliance with the License.
174N/A#
174N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
174N/A# or http://www.opensolaris.org/os/licensing.
174N/A# See the License for the specific language governing permissions
174N/A# and limitations under the License.
174N/A#
174N/A# When distributing Covered Code, include this CDDL HEADER in each
174N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
174N/A# If applicable, add the following below this CDDL HEADER, with the
174N/A# fields enclosed by brackets "[]" replaced with your own identifying
174N/A# information: Portions Copyright [yyyy] [name of copyright owner]
174N/A#
174N/A# CDDL HEADER END
174N/A#
3996N/A
174N/A#
174N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
174N/A#
174N/A
174N/Ainclude ../../make-rules/shared-macros.mk
174N/A
174N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/sbin
174N/A
844N/ACOMPONENT_NAME= unrar
844N/ACOMPONENT_VERSION= 4.2.4
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)
1273N/ACOMPONENT_PROJECT_URL= http://www.rarlabs.com/rar_add.htm
174N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)src-$(COMPONENT_VERSION).tar.gz
3661N/ACOMPONENT_ARCHIVE_HASH= \
3661N/A sha256:9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686
3996N/ACOMPONENT_ARCHIVE_URL= http://www.rarlab.com/rar/$(COMPONENT_ARCHIVE)
3996N/ACOMPONENT_BUGDB= utility/unrar
3996N/A
3996N/Ainclude ../../make-rules/prep.mk
174N/Ainclude ../../make-rules/justmake.mk
174N/Ainclude ../../make-rules/ips.mk
174N/A
174N/APKG_PROTO_DIRS = $(MANGLED_DIR)
174N/APKG_PROTO_DIRS += $(BUILD_DIR_32)
174N/APKG_PROTO_DIRS += $(COMPONENT_DIR)
206N/A
694N/APATCH_LEVEL = 0
694N/A
174N/A
174N/ACXXFLAGS += "-erroff=wvarhidemem"
694N/ACOMPONENT_BUILD_ENV += CXX="$(CXX)"
206N/ACOMPONENT_BUILD_ENV += CXXFLAGS="$(CXXFLAGS)"
174N/ACOMPONENT_BUILD_ENV += LDFLAGS="$(studio_NORUNPATH)"
174N/ACOMPONENT_BUILD_ENV += DEFINES="$(CPP_LARGEFILES)"
174N/A
174N/ACOMPONENT_BUILD_ARGS += -f makefile.unix
174N/ACOMPONENT_BUILD_ARGS += STRIP="/bin/true"
174N/A
174N/A# common targets
174N/Abuild: $(BUILD_32)
174N/A
174N/Ainstall: $(BUILD_32)
174N/A
174N/Atest: $(NO_TESTS)
174N/A
174N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
174N/A
174N/Ainclude ../../make-rules/depend.mk
174N/A