Makefile revision 618
198N/A#
198N/A# CDDL HEADER START
198N/A#
198N/A# The contents of this file are subject to the terms of the
198N/A# Common Development and Distribution License (the "License").
198N/A# You may not use this file except in compliance with the License.
198N/A#
198N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
198N/A# or http://www.opensolaris.org/os/licensing.
198N/A# See the License for the specific language governing permissions
198N/A# and limitations under the License.
198N/A#
198N/A# When distributing Covered Code, include this CDDL HEADER in each
198N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
198N/A# If applicable, add the following below this CDDL HEADER, with the
198N/A# fields enclosed by brackets "[]" replaced with your own identifying
198N/A# information: Portions Copyright [yyyy] [name of copyright owner]
198N/A#
198N/A# CDDL HEADER END
198N/A#
198N/A
198N/A#
198N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
198N/A#
198N/A
198N/Ainclude ../../make-rules/shared-macros.mk
198N/A
198N/ACOMPONENT_NAME= apache-tomcat
198N/ACOMPONENT_VERSION= 6.0.33
198N/ACOMPONENT_PROJECT_URL= http://tomcat.apache.org/
198N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-src
198N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
198N/ACOMPONENT_ARCHIVE_HASH= sha1:437db0ba55c6e398fe3af73c4fa5eed3c4666842
198N/ACOMPONENT_ARCHIVE_URL= http://www.apache.org/dist/tomcat/tomcat-6/v$(COMPONENT_VERSION)/src/$(COMPONENT_ARCHIVE)
198N/A
198N/A# Tomcat subcomponents
198N/ACOMPONENT_ARCHIVE_1= commons-dbcp-1.4-src.tar.gz
198N/ACOMPONENT_ARCHIVE_HASH_1= sha1:48702486eaba6ec40fb65e912c8f597d80654f54
198N/ACOMPONENT_ARCHIVE_URL_1= http://archive.apache.org/dist/commons/dbcp/source/$(COMPONENT_ARCHIVE_1)
198N/ACOMPONENT_ARCHIVE_2= commons-pool-1.5.6-src.tar.gz
198N/ACOMPONENT_ARCHIVE_HASH_2= sha1:d97caa6670d7683f97749defb96aee6a7bcdbdf9
198N/ACOMPONENT_ARCHIVE_URL_2= http://archive.apache.org/dist/commons/pool/source/$(COMPONENT_ARCHIVE_2)
198N/ACOMPONENT_ARCHIVE_3= ecj.jar
198N/ACOMPONENT_ARCHIVE_HASH_3= sha1:f4ddfbb80cb97b0bdfa8730102db9fec1630a983
198N/ACOMPONENT_ARCHIVE_URL_3= http://archive.eclipse.org/eclipse/downloads/drops/R-3.3.1-200709211145/$(COMPONENT_ARCHIVE_3)
198N/A
198N/Ainclude ../../make-rules/prep.mk
198N/Ainclude ../../make-rules/ant.mk
198N/Ainclude ../../make-rules/ips.mk
198N/A
198N/ACOMPONENT_BUILD_ARGS=-Dbase.path=$(BUILD_DIR_32) -Dtomcat.build=$(PROTO_DIR)
198N/ACOMPONENT_BUILD_TARGETS=download deploy
198N/A
198N/A# Create configuration backup archive for custom user's deployments.
198N/ACOMPONENT_POST_BUILD_ACTION= \
198N/A (cd $(PROTO_DIR) ; $(RM) conf/CONF.tar.gz ; \
198N/A gtar cfz conf/CONF.tar.gz conf/* )
198N/A
198N/Abuild: $(BUILD_32)
198N/A
198N/Ainstall: build
198N/A
198N/Atest: build
198N/A @cd $(BUILD_DIR_32)/test; $(ENV) $(COMPONENT_BUILD_ENV) \
198N/A $(ANT) $(COMPONENT_BUILD_ARGS) -Djunit.home=/usr/share/lib/java
198N/A
198N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
198N/A
198N/Ainclude ../../make-rules/depend.mk
198N/A