Makefile revision 1356
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#
670N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
142N/A#
142N/A
142N/Ainclude ../../make-rules/shared-macros.mk
142N/A
1273N/ACOMPONENT_NAME= tomcat
670N/ACOMPONENT_VERSION= 6.0.35
618N/ACOMPONENT_PROJECT_URL= http://tomcat.apache.org/
1273N/ACOMPONENT_SRC_NAME= apache-tomcat
1273N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)-src
142N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:6e5205834bd595250c8e0b640e2345ef643f23364ae0e099334b5132103be764
479N/ACOMPONENT_ARCHIVE_URL= http://www.apache.org/dist/tomcat/tomcat-6/v$(COMPONENT_VERSION)/src/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/tomcat
142N/A
142N/A# Tomcat subcomponents
142N/ACOMPONENT_ARCHIVE_1= commons-dbcp-1.4-src.tar.gz
844N/ACOMPONENT_ARCHIVE_HASH_1= \
844N/A sha256:f5f10846e79fc71121fe7402c61d71575506b01b59e719e974ebc4d99e6df283
142N/ACOMPONENT_ARCHIVE_URL_1= http://archive.apache.org/dist/commons/dbcp/source/$(COMPONENT_ARCHIVE_1)
479N/ACOMPONENT_ARCHIVE_2= commons-pool-1.5.6-src.tar.gz
844N/ACOMPONENT_ARCHIVE_HASH_2= \
844N/A sha256:0681c7394b3b6813dd9e06f985d4ddefe200e2abf81907352175477d91b41424
142N/ACOMPONENT_ARCHIVE_URL_2= http://archive.apache.org/dist/commons/pool/source/$(COMPONENT_ARCHIVE_2)
670N/ACOMPONENT_ARCHIVE_3= ecj-3.7.jar
844N/ACOMPONENT_ARCHIVE_HASH_3= \
844N/A sha256:8387454f3557d2a03077cc5e96f4cfa4313e0fcd4b0febb4c385ada183de0c96
670N/ACOMPONENT_ARCHIVE_URL_3= http://download.eclipse.org/eclipse/downloads/drops/R-3.7-201106131736/$(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