Makefile revision 5636
0N/A#
2945N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
1472N/A# CDDL HEADER END
1472N/A#
1472N/A
0N/A#
0N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
1879N/A
1879N/Ainclude ../../make-rules/shared-macros.mk
1879N/A
1879N/ACOMPONENT_NAME= ant
1879N/ACOMPONENT_VERSION= 1.9.6
1879N/ACOMPONENT_PROJECT_URL= http://ant.apache.org/
1879N/ACOMPONENT_SRC_NAME= apache-ant
1879N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
1879N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.bz2
1879N/ACOMPONENT_ARCHIVE_HASH= \
1879N/A sha256:2ad98dd3a4805452e546e0f5b682360370ae11692a2157fff8ec6d177c957123
1879N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/ant/source/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= utility/ant
941N/A
0N/ATPNO= 25967
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/justmake.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/AGMAKE=./build.sh
0N/A
0N/AANT_ENV+=JAVA_HOME=$(JAVA_HOME)
0N/A
0N/AANT_DIST_DIRS+=-Ddist.dir=$(PROTO_DIR)
0N/AANT_DIST_DIRS+=-Ddist.bin=$(PROTO_DIR)/usr/bin
0N/AANT_DIST_DIRS+=-Ddist.etc=$(PROTO_DIR)/usr/share/lib/ant
0N/AANT_DIST_DIRS+=-Ddist.docs=$(PROTO_DIR)/usr/share/doc/ant
0N/AANT_DIST_DIRS+=-Ddist.manual=$(PROTO_DIR)/usr/share/doc/ant/manual
0N/AANT_DIST_DIRS+=-Ddist.javadocs=$(PROTO_DIR)/usr/share/doc/ant/manual/api
0N/AANT_DIST_DIRS+=-Ddist.lib=$(PROTO_DIR)/usr/share/lib/ant
0N/A
0N/AOPTIONAL_LIBS+=/usr/share/lib/java/junit.jar
0N/AOPTIONAL_LIBS+=/usr/share/antlr-2.7.7/antlr.jar
0N/A
0N/ACOMPONENT_PRE_BUILD_ACTION = $(CP) $(OPTIONAL_LIBS) $(@D)/lib/optional
0N/A
0N/ACOMPONENT_BUILD_TARGETS = build
0N/ACOMPONENT_BUILD_ENV += $(ANT_ENV)
0N/A
0N/ACOMPONENT_INSTALL_ARGS = $(ANT_DIST_DIRS)
0N/ACOMPONENT_INSTALL_TARGETS = dist
113N/ACOMPONENT_INSTALL_ENV += $(ANT_ENV)
0N/A
113N/ACOMPONENT_TEST_TARGETS = test
0N/ACOMPONENT_TEST_ENV += $(ANT_ENV)
113N/A
113N/ACOMPONENT_TEST_TRANSFORMS += \
0N/A '-e "/=/d" ' \
0N/A '-e "s/, Time elapsed: [0-9][0-9]*\.*[0-9]* sec//" ' \
0N/A '-e "/propertyfilecli/d" ' \
0N/A '-e "/Building zip:/d" ' \
113N/A '-e "/Processing /d" ' \
113N/A '-e "/Transform time: /d" ' \
941N/A '-e "/Deleting: /d" ' \
941N/A '-e "/^Buildfile: /d" ' \
0N/A '-e "/^Total time: /d" '
0N/A
0N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
0N/A
113N/Abuild: $(BUILD_32)
0N/A
0N/Ainstall: $(INSTALL_32)
0N/A
113N/Atest: $(TEST_32)
0N/A
0N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
0N/A
113N/A
113N/AREQUIRED_PACKAGES += developer/java/junit
0N/AREQUIRED_PACKAGES += developer/parser/antlr-2
0N/AREQUIRED_PACKAGES += runtime/perl-522
0N/AREQUIRED_PACKAGES += shell/ksh93
0N/A