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