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