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