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