Makefile revision 3061
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#
3061N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
318N/A#
318N/Ainclude ../../make-rules/shared-macros.mk
318N/A
318N/ACOMPONENT_NAME= junit
1459N/ACOMPONENT_VERSION= 4.11
1459N/ACOMPONENT_PROJECT_URL= https://github.com/junit-team/junit/archive
1459N/ACOMPONENT_SRC= $(COMPONENT_NAME)-r$(COMPONENT_VERSION)
1459N/ACOMPONENT_ARCHIVE= r$(COMPONENT_VERSION).zip
844N/ACOMPONENT_ARCHIVE_HASH= \
1459N/A sha256:3048cb3f2b07fada9d85b2c042bbedb93892ef70c1dcfe0594124850418f9ffb
1459N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/junit
318N/A
3061N/ATPNO= 9070
3061N/A
318N/Ainclude ../../make-rules/prep.mk
318N/Ainclude ../../make-rules/ant.mk
318N/Ainclude ../../make-rules/ips.mk
318N/A
1459N/A# These ARGS override what is set in build.xml
318N/ACOMPONENT_BUILD_ARGS += -Ddist=${PROTO_DIR}
318N/ACOMPONENT_BUILD_ARGS += -Djavadocdir=${PROTO_DIR}
1459N/ACOMPONENT_BUILD_ARGS += -Dversion-status=""
318N/ACOMPONENT_BUILD_TARGETS += dist
318N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
318N/A# common targets
318N/Abuild: $(BUILD_32)
318N/A
318N/Ainstall: build
1459N/A
1459N/A# Testing is run as part of the build.
1459N/A# To really test AFTER you have installed the resulting package do:
1459N/A# $ java -cp /usr/share/lib/java/junit.jar:/usr/share/doc/junit/samples/org \
1459N/A# junit/samples/money/MoneyTest
1459N/A# ......................
1459N/A# Time: 0.003
1459N/A#
1459N/A# OK (22 tests)
318N/Atest: $(NO_TESTS)
318N/A
318N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
318N/A
318N/Ainclude ../../make-rules/depend.mk