Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / tomcat / ExternalProject_tomcat.mk
blob03316a932f7e293af36da87302180ae21ec03eb6
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 # for RSCREVISION
11 include $(SOLARENV)/inc/minor.mk
13 $(eval $(call gb_ExternalProject_ExternalProject,tomcat))
15 $(eval $(call gb_ExternalProject_use_unpacked,tomcat,tomcat))
17 $(eval $(call gb_ExternalProject_register_targets,tomcat,\
18 build \
21 $(call gb_ExternalProject_get_state_target,tomcat,build) :
22 cd "$(call gb_UnpackedTarball_get_dir,tomcat)/jakarta-servletapi-5" && \
23 $(ICECREAM_RUN) "$(ANT)" \
24 -q \
25 -f build.xml \
26 -Dbuild.label="build-$(RSCREVISION)" \
27 $(if $(filter yes,$(JAVACISGCJ))\
28 ,-Dbuild.compiler=gcj \
29 ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
30 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
31 ) \
32 $(if $(debug),-Dbuild.debug="on") \
33 && \
34 touch $@
36 # vim: set noet sw=4 ts=4: