Makefile revision 4337
116N/A#
116N/A# CDDL HEADER START
116N/A#
116N/A# The contents of this file are subject to the terms of the
116N/A# Common Development and Distribution License (the "License").
116N/A# You may not use this file except in compliance with the License.
116N/A#
116N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
116N/A# or http://www.opensolaris.org/os/licensing.
116N/A# See the License for the specific language governing permissions
116N/A# and limitations under the License.
116N/A#
116N/A# When distributing Covered Code, include this CDDL HEADER in each
116N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
116N/A# If applicable, add the following below this CDDL HEADER, with the
116N/A# fields enclosed by brackets "[]" replaced with your own identifying
116N/A# information: Portions Copyright [yyyy] [name of copyright owner]
116N/A#
116N/A# CDDL HEADER END
116N/A#
116N/A
116N/A#
3817N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
116N/A#
116N/A
116N/Ainclude ../../make-rules/shared-macros.mk
116N/A
1244N/ACOMPONENT_NAME= ant
3867N/ACOMPONENT_VERSION= 1.9.4
618N/ACOMPONENT_PROJECT_URL= http://ant.apache.org/
1244N/ACOMPONENT_SRC_NAME= apache-ant
1244N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
116N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
3867N/A sha256:ac594ff7dcd461ebb3e607493af7682f84b1ceaa0621e17ec6367b8d2c410a1c
116N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/ant/source/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/ant
116N/A
3867N/ATPNO= 21446
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/justmake.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
116N/A
116N/AGMAKE=./build.sh
116N/A
116N/AANT_ENV+=JAVA_HOME=$(JAVA_HOME)
116N/A
116N/AANT_DIST_DIRS+=-Ddist.dir=$(PROTO_DIR)
116N/AANT_DIST_DIRS+=-Ddist.bin=$(PROTO_DIR)/usr/bin
116N/AANT_DIST_DIRS+=-Ddist.etc=$(PROTO_DIR)/usr/share/lib/ant
116N/AANT_DIST_DIRS+=-Ddist.docs=$(PROTO_DIR)/usr/share/doc/ant
1137N/AANT_DIST_DIRS+=-Ddist.manual=$(PROTO_DIR)/usr/share/doc/ant/manual
116N/AANT_DIST_DIRS+=-Ddist.javadocs=$(PROTO_DIR)/usr/share/doc/ant/manual/api
116N/AANT_DIST_DIRS+=-Ddist.lib=$(PROTO_DIR)/usr/share/lib/ant
116N/A
1137N/AOPTIONAL_LIBS+=/usr/share/lib/java/junit.jar
1137N/AOPTIONAL_LIBS+=/usr/share/antlr-2.7.7/antlr.jar
1137N/A
1137N/ACOMPONENT_PRE_BUILD_ACTION = $(CP) $(OPTIONAL_LIBS) $(@D)/lib/optional
1137N/A
151N/ACOMPONENT_BUILD_TARGETS = build
151N/ACOMPONENT_BUILD_ENV += $(ANT_ENV)
116N/A
151N/ACOMPONENT_INSTALL_ARGS = $(ANT_DIST_DIRS)
151N/ACOMPONENT_INSTALL_TARGETS = dist
151N/ACOMPONENT_INSTALL_ENV += $(ANT_ENV)
116N/A
181N/ACOMPONENT_TEST_TARGETS = test
181N/ACOMPONENT_TEST_ENV += $(ANT_ENV)
116N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
116N/Abuild: $(BUILD_32)
116N/A
181N/Ainstall: $(INSTALL_32)
116N/A
181N/Atest: $(TEST_32)
116N/A
4337N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4337N/A
116N/A
3817N/AREQUIRED_PACKAGES += developer/java/junit
3817N/AREQUIRED_PACKAGES += developer/parser/antlr-2
3817N/AREQUIRED_PACKAGES += runtime/perl-512
3817N/AREQUIRED_PACKAGES += runtime/perl-516
3817N/AREQUIRED_PACKAGES += shell/ksh93