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