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