Makefile revision 5680
0N/A#
3364N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
1472N/A# CDDL HEADER END
1472N/A#
1472N/A
1703N/A#
0N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/ABUILD_BITS= NO_ARCH
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= tomcat
0N/ACOMPONENT_VERSION= 8.0.32
0N/ACOMPONENT_PROJECT_URL= http://tomcat.apache.org/
0N/ACOMPONENT_SRC_NAME= apache-tomcat
0N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)-src
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:b8f7770ae947a0c0aed9b5a6f3e2ff18fd27a07f068cc6029f019b5d4c6de560
0N/ACOMPONENT_ARCHIVE_URL= http://www.apache.org/dist/tomcat/tomcat-8/v$(COMPONENT_VERSION)/src/$(COMPONENT_ARCHIVE)
0N/A
0N/A# Tomcat subcomponents
0N/ACOMPONENT_ARCHIVE_1= ecjsrc-4.4.2.jar
0N/ACOMPONENT_ARCHIVE_HASH_1= \
0N/A sha256:ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858
0N/ACOMPONENT_ARCHIVE_URL_1= http://archive.eclipse.org/eclipse/downloads/drops4/R-4.4.2-201502041700/$(COMPONENT_ARCHIVE_1)
0N/A
0N/ATPNO= 26981
0N/A
0N/ABUILD_STYLE= ant
0N/ATEST_TARGET= $(SKIP_TEST)
0N/ASYSTEM_TEST_TARGET= $(SKIP_TEST)
1703N/Ainclude $(WS_MAKE_RULES)/common.mk
1703N/A
0N/APATCH_LEVEL=0
0N/A
0N/ACOMPONENT_BUILD_ARGS=-Dbase.path=$(BUILD_DIR_NO_ARCH) -Dtomcat.build=$(PROTO_DIR)
0N/A
1703N/A# Tomcat tests doesn't like cloning.
0N/ACLONEY=echo
0N/ACOMPONENT_PRE_BUILD_ACTION= \
0N/A $(CP) -r $(SOURCE_DIR)/* $(@D);
0N/A
0N/A# Build ECJ jar from sources.
0N/ACOMPONENT_PRE_BUILD_ACTION+= \
0N/A ($(MKDIR) $(@D)/ECJ/scripts/binary/META-INF; cd $(@D)/ECJ ; \
91N/A $(JAVA_HOME)/bin/jar xf $(COMPONENT_DIR)/$(COMPONENT_ARCHIVE_1); \
0N/A $(CP) META-INF/MANIFEST.MF scripts/binary/META-INF/; \
0N/A JAVA_HOME="$(JAVA_HOME)" LC_ALL="en_US.UTF-8" $(ANT) )
1838N/A
1838N/A# Create configuration backup archive for custom user's deployments.
1838N/ACOMPONENT_POST_BUILD_ACTION= \
0N/A (cd $(PROTO_DIR) ; $(RM) conf/CONF.tar.gz ; \
0N/A gtar cfz conf/CONF.tar.gz conf/* )
0N/A
0N/A# Used by this Makefile
0N/AREQUIRED_PACKAGES += archiver/gnu-tar
0N/A
0N/AREQUIRED_PACKAGES += developer/java/junit
0N/AREQUIRED_PACKAGES += runtime/java/jre-8
0N/AREQUIRED_PACKAGES += shell/ksh93
0N/AREQUIRED_PACKAGES += system/core-os
0N/AREQUIRED_PACKAGES += system/network
0N/A