Makefile revision 288
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate#
2448c87741afa48b1d5792432891c24b89dca0eemrate# CDDL HEADER START
2448c87741afa48b1d5792432891c24b89dca0eemrate#
2448c87741afa48b1d5792432891c24b89dca0eemrate# The contents of this file are subject to the terms of the
2448c87741afa48b1d5792432891c24b89dca0eemrate# Common Development and Distribution License (the "License").
2448c87741afa48b1d5792432891c24b89dca0eemrate# You may not use this file except in compliance with the License.
2448c87741afa48b1d5792432891c24b89dca0eemrate#
2448c87741afa48b1d5792432891c24b89dca0eemrate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2448c87741afa48b1d5792432891c24b89dca0eemrate# or http://www.opensolaris.org/os/licensing.
2448c87741afa48b1d5792432891c24b89dca0eemrate# See the License for the specific language governing permissions
2448c87741afa48b1d5792432891c24b89dca0eemrate# and limitations under the License.
2448c87741afa48b1d5792432891c24b89dca0eemrate#
2448c87741afa48b1d5792432891c24b89dca0eemrate# When distributing Covered Code, include this CDDL HEADER in each
2448c87741afa48b1d5792432891c24b89dca0eemrate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2448c87741afa48b1d5792432891c24b89dca0eemrate# If applicable, add the following below this CDDL HEADER, with the
2448c87741afa48b1d5792432891c24b89dca0eemrate# fields enclosed by brackets "[]" replaced with your own identifying
2448c87741afa48b1d5792432891c24b89dca0eemrate# information: Portions Copyright [yyyy] [name of copyright owner]
2448c87741afa48b1d5792432891c24b89dca0eemrate#
2448c87741afa48b1d5792432891c24b89dca0eemrate# CDDL HEADER END
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Kosco#
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Kosco
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate#
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate#
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateinclude ../../make-rules/shared-macros.mk
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateCOMPONENT_NAME= apache-tomcat
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateCOMPONENT_VERSION= 6.0.32
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-src
0ce5682e5e726a6f9492dd83a131ee4c92588d15mrateCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateCOMPONENT_ARCHIVE_HASH= sha1:ec94c511e54da2b02dd2ba45b9fd1703d5771a45
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/tomcat/tomcat-6/v$(COMPONENT_VERSION)/src/$(COMPONENT_ARCHIVE)
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate# Tomcat subcomponents
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateCOMPONENT_ARCHIVE_1= commons-dbcp-1.4-src.tar.gz
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateCOMPONENT_ARCHIVE_HASH_1= sha1:48702486eaba6ec40fb65e912c8f597d80654f54
e94351dfdca192305581a6c67c7e45e3f86db967Lubos KoscoCOMPONENT_ARCHIVE_URL_1= http://archive.apache.org/dist/commons/dbcp/source/$(COMPONENT_ARCHIVE_1)
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateCOMPONENT_ARCHIVE_2= commons-pool-1.5.5-src.tar.gz
e94351dfdca192305581a6c67c7e45e3f86db967Lubos KoscoCOMPONENT_ARCHIVE_HASH_2= sha1:375408d445be1b87e935bb8e68cc9f746a3b59fb
5ade1f27afd25a6ff5ee1934345700bed0c067a6mrateCOMPONENT_ARCHIVE_URL_2= http://archive.apache.org/dist/commons/pool/source/$(COMPONENT_ARCHIVE_2)
5ade1f27afd25a6ff5ee1934345700bed0c067a6mrateCOMPONENT_ARCHIVE_3= ecj.jar
5ade1f27afd25a6ff5ee1934345700bed0c067a6mrateCOMPONENT_ARCHIVE_HASH_3= sha1:f4ddfbb80cb97b0bdfa8730102db9fec1630a983
e051ddf466fdbb2401e2251c304dcde5cbda002bmrateCOMPONENT_ARCHIVE_URL_3= http://archive.eclipse.org/eclipse/downloads/drops/R-3.3.1-200709211145/$(COMPONENT_ARCHIVE_3)
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Kosco
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateinclude ../../make-rules/prep.mk
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateinclude ../../make-rules/ant.mk
5ade1f27afd25a6ff5ee1934345700bed0c067a6mrateinclude ../../make-rules/ips.mk
5ade1f27afd25a6ff5ee1934345700bed0c067a6mrate
5ade1f27afd25a6ff5ee1934345700bed0c067a6mrateCOMPONENT_BUILD_ARGS=-Dbase.path=$(BUILD_DIR_32) -Dtomcat.build=$(PROTO_DIR)
e94351dfdca192305581a6c67c7e45e3f86db967Lubos KoscoCOMPONENT_BUILD_TARGETS=download deploy
5ade1f27afd25a6ff5ee1934345700bed0c067a6mrate
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate# Create configuration backup archive for custom user's deployments.
e94351dfdca192305581a6c67c7e45e3f86db967Lubos KoscoCOMPONENT_POST_BUILD_ACTION= \
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Kosco (cd $(PROTO_DIR) ; $(RM) conf/CONF.tar.gz ; \
c20d3778ebce9a90a7fa5f3870e5b20f04fab3eamrate gtar cfz conf/CONF.tar.gz conf/* )
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Kosco
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Koscobuild: $(BUILD_32)
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate
55cf33bed98b1ae48e842ed61648c2d0b623168cmrateinstall: build
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Koscotest: build
1676e8c2291b5dd6545258d8abcbcb7ae4cedc8emrate @cd $(BUILD_DIR_32)/test; $(ENV) $(COMPONENT_BUILD_ENV) \
55cf33bed98b1ae48e842ed61648c2d0b623168cmrate $(ANT) $(COMPONENT_BUILD_ARGS) -Djunit.home=/usr/share/lib/java
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Kosco
0ce5682e5e726a6f9492dd83a131ee4c92588d15mrateBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
0ce5682e5e726a6f9492dd83a131ee4c92588d15mrate
0ce5682e5e726a6f9492dd83a131ee4c92588d15mrateinclude ../../make-rules/depend.mk
e94351dfdca192305581a6c67c7e45e3f86db967Lubos Kosco