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