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