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