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