Makefile revision 844
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright#
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
89dc44ce9705974a8bc4a39f1e878a0491a5be61jose borrego
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../../make-rules/shared-macros.mk
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/sbin
12b65585e720714b31036daaa2b30eb76014048eGordon Ross
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossCOMPONENT_NAME= unrar
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossCOMPONENT_VERSION= 4.1.4
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossCOMPONENT_SRC= $(COMPONENT_NAME)
12b65585e720714b31036daaa2b30eb76014048eGordon RossCOMPONENT_PROJECT_URL= http://www.rarlabs.com/rar_add.htm
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossCOMPONENT_ARCHIVE= $(COMPONENT_NAME)src-$(COMPONENT_VERSION).tar.gz
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossCOMPONENT_ARCHIVE_HASH= \
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross sha256:705d93285fcd3b9c11f68e52d96395d942bf3c20172dcee14f0d78f1fee57361
12b65585e720714b31036daaa2b30eb76014048eGordon RossCOMPONENT_ARCHIVE_URL= http://www.rarlab.com/rar/$(COMPONENT_ARCHIVE)
68b2bbf26c7040fea4281dcb58b81e7627e46f34Gordon Ross
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Rossinclude ../../make-rules/prep.mk
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Rossinclude ../../make-rules/justmake.mk
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Rossinclude ../../make-rules/ips.mk
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossPKG_PROTO_DIRS = $(MANGLED_DIR)
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossPKG_PROTO_DIRS += $(BUILD_DIR_32)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwPKG_PROTO_DIRS += $(COMPONENT_DIR)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwPATCH_LEVEL = 0
eb1a34638eba7c5add1421327f3eb225a8ea7518Truong Nguyen
eb1a34638eba7c5add1421327f3eb225a8ea7518Truong Nguyen
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesCXXFLAGS += "-erroff=wvarhidemem"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_BUILD_ENV += CXX="$(CXX)"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_BUILD_ENV += CXXFLAGS="$(CXXFLAGS)"
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesCOMPONENT_BUILD_ENV += LDFLAGS="$(studio_NORUNPATH)"
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesCOMPONENT_BUILD_ENV += DEFINES="$(CPP_LARGEFILES)"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesCOMPONENT_BUILD_ARGS += -f makefile.unix
eb1a34638eba7c5add1421327f3eb225a8ea7518Truong NguyenCOMPONENT_BUILD_ARGS += STRIP="/bin/true"
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States
eb1a34638eba7c5add1421327f3eb225a8ea7518Truong Nguyen# common targets
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Rossbuild: $(BUILD_32)
12b65585e720714b31036daaa2b30eb76014048eGordon Ross
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Rossinstall: $(BUILD_32)
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross
c7e79765a5bdcd4e6f05ea8effc8c7ce07e8a37aAlexander Pyhalovtest: $(NO_TESTS)
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Rossinclude ../../make-rules/depend.mk
12b65585e720714b31036daaa2b30eb76014048eGordon Ross