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