Makefile revision 1694
209N/A#
209N/A# CDDL HEADER START
209N/A#
209N/A# The contents of this file are subject to the terms of the
209N/A# Common Development and Distribution License (the "License").
209N/A# You may not use this file except in compliance with the License.
209N/A#
209N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
209N/A# or http://www.opensolaris.org/os/licensing.
209N/A# See the License for the specific language governing permissions
209N/A# and limitations under the License.
209N/A#
209N/A# When distributing Covered Code, include this CDDL HEADER in each
209N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
209N/A# If applicable, add the following below this CDDL HEADER, with the
209N/A# fields enclosed by brackets "[]" replaced with your own identifying
209N/A# information: Portions Copyright [yyyy] [name of copyright owner]
209N/A#
209N/A# CDDL HEADER END
209N/A#
209N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
209N/A#
209N/Ainclude ../../make-rules/shared-macros.mk
209N/A
209N/ACOMPONENT_NAME= junit
209N/ACOMPONENT_VERSION= 4.11
209N/ACOMPONENT_PROJECT_URL= https://github.com/junit-team/junit/archive
209N/ACOMPONENT_SRC= $(COMPONENT_NAME)-r$(COMPONENT_VERSION)
611N/ACOMPONENT_ARCHIVE= r$(COMPONENT_VERSION).zip
611N/ACOMPONENT_ARCHIVE_HASH= \
618N/A sha256:3048cb3f2b07fada9d85b2c042bbedb93892ef70c1dcfe0594124850418f9ffb
611N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
209N/ACOMPONENT_BUGDB= utility/junit
611N/A
611N/Ainclude ../../make-rules/prep.mk
209N/Ainclude ../../make-rules/ant.mk
209N/Ainclude ../../make-rules/ips.mk
209N/A
209N/A# These ARGS override what is set in build.xml
209N/ACOMPONENT_BUILD_ARGS += -Ddist=${PROTO_DIR}
209N/ACOMPONENT_BUILD_ARGS += -Djavadocdir=${PROTO_DIR}
209N/ACOMPONENT_BUILD_ARGS += -Dversion-status=""
209N/ACOMPONENT_BUILD_TARGETS += dist
209N/A
209N/A# common targets
209N/Abuild: $(BUILD_32)
209N/A
209N/Ainstall: build
209N/A
209N/A# Testing is run as part of the build.
209N/A# To really test AFTER you have installed the resulting package do:
209N/A# $ java -cp /usr/share/lib/java/junit.jar:/usr/share/doc/junit/samples/org \
611N/A# junit/samples/money/MoneyTest
209N/A# ......................
209N/A# Time: 0.003
209N/A#
209N/A# OK (22 tests)
209N/Atest: $(NO_TESTS)
209N/A
209N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
209N/A
209N/Ainclude ../../make-rules/depend.mk
209N/A