Makefile revision 4280
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#
727N/A
2N/A#
2N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
32N/A#
32N/A
313N/Ainclude ../../make-rules/shared-macros.mk
313N/A
313N/ACOMPONENT_NAME= tomcat
313N/ACOMPONENT_VERSION= 8.0.21
313N/ACOMPONENT_PROJECT_URL= http://tomcat.apache.org/
313N/ACOMPONENT_SRC_NAME= apache-tomcat
313N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)-src
313N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
313N/ACOMPONENT_ARCHIVE_HASH= \
313N/A sha256:9fe0d4f0f86593a78eec952b257c7282765604926c30fe13c9dbe6f9f35674d8
313N/ACOMPONENT_ARCHIVE_URL= http://www.apache.org/dist/tomcat/tomcat-8/v$(COMPONENT_VERSION)/src/$(COMPONENT_ARCHIVE)
313N/ACOMPONENT_BUGDB= utility/tomcat
313N/A
313N/A# Tomcat subcomponents
313N/ACOMPONENT_ARCHIVE_1= ecjsrc-4.4.2.jar
313N/ACOMPONENT_ARCHIVE_HASH_1= \
127N/A sha256:ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858
127N/ACOMPONENT_ARCHIVE_URL_1= http://archive.eclipse.org/eclipse/downloads/drops4/R-4.4.2-201502041700/$(COMPONENT_ARCHIVE_1)
127N/A
127N/ATPNO= 22471
538N/A
538N/Ainclude $(WS_MAKE_RULES)/prep.mk
538N/Ainclude $(WS_MAKE_RULES)/ant.mk
538N/Ainclude $(WS_MAKE_RULES)/ips.mk
538N/A
538N/APATCH_LEVEL=0
538N/A
538N/ACOMPONENT_BUILD_ARGS=-Dbase.path=$(BUILD_DIR_32) -Dtomcat.build=$(PROTO_DIR)
327N/A
327N/A# Tomcat tests doesn't like cloning.
327N/ACLONEY=echo
327N/ACOMPONENT_PRE_BUILD_ACTION= \
327N/A $(CP) -r $(SOURCE_DIR)/* $(@D);
327N/A
327N/A# Build ECJ jar from sources.
327N/ACOMPONENT_PRE_BUILD_ACTION+= \
327N/A ($(MKDIR) $(@D)/ECJ/scripts/binary/META-INF; cd $(@D)/ECJ ; \
327N/A $(JAVA_HOME)/bin/jar xf $(COMPONENT_DIR)/$(COMPONENT_ARCHIVE_1); \
327N/A $(CP) META-INF/MANIFEST.MF scripts/binary/META-INF/; \
327N/A JAVA_HOME="$(JAVA_HOME)" LC_ALL="en_US.UTF-8" $(ANT) )
177N/A
177N/A# Create configuration backup archive for custom user's deployments.
2N/ACOMPONENT_POST_BUILD_ACTION= \
145N/A (cd $(PROTO_DIR) ; $(RM) conf/CONF.tar.gz ; \
883N/A gtar cfz conf/CONF.tar.gz conf/* )
26N/A
38N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
38N/A
26N/Abuild: $(BUILD_32)
26N/A
477N/Ainstall: build
538N/A
38N/Atest: $(SKIP_TEST)
2N/A
6N/AREQUIRED_PACKAGES += developer/java/junit
2N/AREQUIRED_PACKAGES += runtime/java/jre-8
727N/AREQUIRED_PACKAGES += shell/ksh93
2N/AREQUIRED_PACKAGES += system/core-os
34N/AREQUIRED_PACKAGES += system/network
34N/A