Makefile revision 716
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# CDDL HEADER START
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# The contents of this file are subject to the terms of the
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Common Development and Distribution License (the "License").
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# You may not use this file except in compliance with the License.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# or http://www.opensolaris.org/os/licensing.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# See the License for the specific language governing permissions
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# and limitations under the License.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# When distributing Covered Code, include this CDDL HEADER in each
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# If applicable, add the following below this CDDL HEADER, with the
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# information: Portions Copyright [yyyy] [name of copyright owner]
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# CDDL HEADER END
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinclude ../../make-rules/shared-macros.mk
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/sbin
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_NAME= unrar
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_VERSION= 3.8.5
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_SRC= $(COMPONENT_NAME)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_PROJECT_URL= http://www.rarlabs.com/rar_add.htm
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_ARCHIVE= $(COMPONENT_NAME)src-$(COMPONENT_VERSION).tar.gz
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_ARCHIVE_HASH= sha1:911d3ef2c279d9522afa22b452176dd86883a751
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_ARCHIVE_URL= http://www.rarlab.com/rar/$(COMPONENT_ARCHIVE)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinclude ../../make-rules/prep.mk
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinclude ../../make-rules/justmake.mk
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinclude ../../make-rules/ips.mk
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontPKG_PROTO_DIRS = $(MANGLED_DIR)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontPKG_PROTO_DIRS += $(BUILD_DIR_32)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontPKG_PROTO_DIRS += $(COMPONENT_DIR)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontPATCH_LEVEL = 0
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCXXFLAGS += "-erroff=wvarhidemem"
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_BUILD_ENV += CXX="$(CXX)"
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_BUILD_ENV += CXXFLAGS="$(CXXFLAGS)"
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_BUILD_ENV += LDFLAGS="$(studio_NORUNPATH)"
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_BUILD_ENV += DEFINES="$(CPP_LARGEFILES)"
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_BUILD_ARGS += -f makefile.unix
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_BUILD_ARGS += STRIP="/bin/true"
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# common targets
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontbuild: $(BUILD_32)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinstall: $(BUILD_32)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Duponttest: $(NO_TESTS)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinclude ../../make-rules/depend.mk
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont