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/.
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
,\
21 $(call gb_ExternalProject_get_state_target
,tomcat
,build
) :
22 cd
"$(call gb_UnpackedTarball_get_dir,tomcat)/jakarta-servletapi-5" && \
23 $(ICECREAM_RUN
) "$(ANT)" \
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
) \
32 $(if
$(debug
),-Dbuild.debug
="on") \
36 # vim: set noet sw=4 ts=4: