Makefile revision 3051
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# CDDL HEADER START
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# The contents of this file are subject to the terms of the
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Common Development and Distribution License (the "License").
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# You may not use this file except in compliance with the License.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# or http://www.opensolaris.org/os/licensing.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# See the License for the specific language governing permissions
0662ed52e814f8f08ef0e09956413a792584eddffuankg# and limitations under the License.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# When distributing Covered Code, include this CDDL HEADER in each
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If applicable, add the following below this CDDL HEADER, with the
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# CDDL HEADER END
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes#
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg
16b55a35cff91315d261d1baa776138af465c4e4fuankg#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude ../../make-rules/shared-macros.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/sbin
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_NAME= unrar
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_VERSION= 4.2.4
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_SRC= $(COMPONENT_NAME)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_PROJECT_URL= http://www.rarlabs.com/rar_add.htm
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_ARCHIVE= $(COMPONENT_NAME)src-$(COMPONENT_VERSION).tar.gz
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_ARCHIVE_HASH= \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes sha256:9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_ARCHIVE_URL= http://www.rarlab.com/rar/$(COMPONENT_ARCHIVE)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_BUGDB= utility/unrar
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesTPNO= 18537
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude ../../make-rules/prep.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude ../../make-rules/justmake.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude ../../make-rules/ips.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesPKG_PROTO_DIRS = $(MANGLED_DIR)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesPKG_PROTO_DIRS += $(BUILD_DIR_64)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesPKG_PROTO_DIRS += $(COMPONENT_DIR)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesPATCH_LEVEL = 0
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Needed by .../unrar/os.hpp to correctly define platform endianness.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCXXFLAGS.i386 = -DLITTLE_ENDIAN
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCXXFLAGS.sparc = -DBIG_ENDIAN
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCXXFLAGS += $(CXXFLAGS.$(MACH))
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCXXFLAGS += "-erroff=wvarhidemem"
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgCOMPONENT_BUILD_ENV += CXX="$(CXX)"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_BUILD_ENV += CXXFLAGS="$(CXXFLAGS)"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_BUILD_ENV += LDFLAGS="$(studio_NORUNPATH) -m64"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_BUILD_ENV += DEFINES="$(CPP_LARGEFILES)"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_BUILD_ARGS += -f makefile.unix
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_BUILD_ARGS += STRIP="/bin/true"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesASLR_MODE = $(ASLR_ENABLE)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# common targets
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesbuild: $(BUILD_64)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinstall: $(BUILD_64)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholestest: $(NO_TESTS)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude ../../make-rules/depend.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes