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