Makefile revision 1273
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The contents of this file are subject to the terms of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Common Development and Distribution License (the "License").
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# You may not use this file except in compliance with the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# or http://www.opensolaris.org/os/licensing.
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg# See the License for the specific language governing permissions
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# and limitations under the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# When distributing Covered Code, include this CDDL HEADER in each
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If applicable, add the following below this CDDL HEADER, with the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER END
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../make-rules/shared-macros.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME= beanshell
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_VERSION= 2.0b4
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PROJECT_URL= http://www.beanshell.org/
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH= \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes sha256:a6f02b46796ed6b6a212cfc2d17e4797212db3206e21a3f4959adb60bddfff5f
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# This should come from http://www.beanshell.org/ however they do not
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# maintain previous versions of archives there anymore. When/if this
f7d723f1ad88ed006c6caf4c2c6604b7c59dd172bnicholes# component is upgraded the download location should revert back to
f300a833b20ab4dee4839f186ebb01a488c59752fuankg# beanshell.org if possible. Note also a fork of beanshell is receiving
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# more attention at the google code repository of late.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_BUGDB= utility/beanshell
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesIPS_COMPONENT_VERSION= 2.0
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../make-rules/prep.mk
148d643cf7bf8b3067f3d949e3e01e27d4c8b4fcbnicholesinclude ../../make-rules/ant.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../make-rules/ips.mk
5b0c702735f2049038c50c7dc5dd2606086ee110bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_BUILD_ARGS += -Ddist-dir=${PROTO_DIR}
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_BUILD_ARGS += -Djavadoc-dir=${PROTO_DIR}
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_BUILD_TARGETS += dist
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# We use the solaris-transform file to pick up files in the prototype area
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# that are not found in the directories we install them to on Solaris.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Doing this obviates the need to add it's location to each line in the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# associated beanshell.p5m file.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPUBLISH_TRANSFORMS += solaris-transform
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Needed to pick up scripts/bsh and bshcommands-bshdoc.xml
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_PROTO_DIRS += $(COMPONENT_DIR)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_PROTO_DIRS += $(BUILD_DIR_32)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# common targets
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesbuild: $(BUILD_32)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall: build
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholestest: $(NO_TESTS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../make-rules/depend.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes