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