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