Makefile revision 2644
1583N/A#
1583N/A# CDDL HEADER START
1583N/A#
1583N/A# The contents of this file are subject to the terms of the
1583N/A# Common Development and Distribution License (the "License").
1583N/A# You may not use this file except in compliance with the License.
1583N/A#
1583N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1583N/A# or http://www.opensolaris.org/os/licensing.
1583N/A# See the License for the specific language governing permissions
1583N/A# and limitations under the License.
1583N/A#
1583N/A# When distributing Covered Code, include this CDDL HEADER in each
1583N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1583N/A# If applicable, add the following below this CDDL HEADER, with the
1583N/A# fields enclosed by brackets "[]" replaced with your own identifying
1583N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1583N/A#
1583N/A# CDDL HEADER END
1583N/A#
1583N/A
3661N/A#
1583N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
1583N/A#
1583N/A
1583N/Ainclude ../../make-rules/shared-macros.mk
1583N/A
1583N/ACOMPONENT_NAME= tomcat
1583N/ACOMPONENT_VERSION= 6.0.39
1583N/ACOMPONENT_PROJECT_URL= http://tomcat.apache.org/
1583N/ACOMPONENT_SRC_NAME= apache-tomcat
1583N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)-src
1583N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1583N/ACOMPONENT_ARCHIVE_HASH= \
1583N/A sha256:f31eba79138f5ac8223ff706fb2637205837ea44ba27c39bfb18ce9aada0f7ec
1583N/ACOMPONENT_ARCHIVE_URL= http://www.apache.org/dist/tomcat/tomcat-6/v$(COMPONENT_VERSION)/src/$(COMPONENT_ARCHIVE)
3661N/ACOMPONENT_BUGDB= utility/tomcat
3661N/A
1583N/A# Tomcat subcomponents
1583N/ACOMPONENT_ARCHIVE_1= commons-dbcp-1.4-src.tar.gz
1583N/ACOMPONENT_ARCHIVE_HASH_1= \
1583N/A sha256:f5f10846e79fc71121fe7402c61d71575506b01b59e719e974ebc4d99e6df283
1583N/ACOMPONENT_ARCHIVE_URL_1= http://archive.apache.org/dist/commons/dbcp/source/$(COMPONENT_ARCHIVE_1)
1583N/ACOMPONENT_ARCHIVE_2= commons-pool-1.5.7-src.tar.gz
1583N/ACOMPONENT_ARCHIVE_HASH_2= \
1583N/A sha256:e9f414555c41e9584da1f6953af28208ece5cd4664ef2fea297e6a6aadc4377e
1583N/ACOMPONENT_ARCHIVE_URL_2= http://archive.apache.org/dist/commons/pool/source/$(COMPONENT_ARCHIVE_2)
1583N/ACOMPONENT_ARCHIVE_3= ecj-4.3.1.jar
1583N/ACOMPONENT_ARCHIVE_HASH_3= \
1583N/A sha256:5f86314f67dc57a0a9865265a48fd7831f16ab177c0c1349eea798c2c6297295
1583N/ACOMPONENT_ARCHIVE_URL_3= http://download.eclipse.org/eclipse/downloads/drops4/R-4.3.1-201309111000/$(COMPONENT_ARCHIVE_3)
1583N/A
1583N/Ainclude ../../make-rules/prep.mk
1583N/Ainclude ../../make-rules/ant.mk
1583N/Ainclude ../../make-rules/ips.mk
1583N/A
1583N/ACOMPONENT_BUILD_ARGS=-Dbase.path=$(BUILD_DIR_32) -Dtomcat.build=$(PROTO_DIR)
1583N/ACOMPONENT_BUILD_TARGETS=download deploy
1583N/A
# Create configuration backup archive for custom user's deployments.
COMPONENT_POST_BUILD_ACTION= \
(cd $(PROTO_DIR) ; $(RM) conf/CONF.tar.gz ; \
gtar cfz conf/CONF.tar.gz conf/* )
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
build: $(BUILD_32)
install: build
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