diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-09-29 02:02:03 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-09-29 02:43:28 -0500 |
commit | 311babc08009ff4014f9b6b14d82ca41f5e6f942 (patch) | |
tree | 9c37fb7787108cc3ca4a5ecb52e8b9afd8f9f172 /tomcat/ExternalProject_tomcat.mk | |
parent | d756f2a304ed0921e1791c8eb91ce7fb7a085529 (diff) |
gbuildify tomcat
Change-Id: Ibd7b71292450db8e3e98f9ede5a836182eb38770
Diffstat (limited to 'tomcat/ExternalProject_tomcat.mk')
-rw-r--r-- | tomcat/ExternalProject_tomcat.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tomcat/ExternalProject_tomcat.mk b/tomcat/ExternalProject_tomcat.mk new file mode 100644 index 000000000000..48c063f7c8f8 --- /dev/null +++ b/tomcat/ExternalProject_tomcat.mk @@ -0,0 +1,36 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +# for RSCREVISION +include $(SOLARENV)/inc/minor.mk + +$(eval $(call gb_ExternalProject_ExternalProject,tomcat)) + +$(eval $(call gb_ExternalProject_use_unpacked,tomcat,tomcat)) + +$(eval $(call gb_ExternalProject_register_targets,tomcat,\ + build \ +)) + +$(call gb_ExternalProject_get_state_target,tomcat,build) : + cd "$(call gb_UnpackedTarball_get_dir,tomcat)/jakarta-servletapi-5" && \ + "$(ANT)" \ + -q \ + -f build.xml \ + -Dbuild.label="build-$(RSCREVISION)" \ + $(if $(filter yes,$(JAVACISGCJ))\ + ,-Dbuild.compiler=gcj \ + ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \ + -Dant.build.javac.target=$(JAVA_TARGET_VER) \ + ) \ + $(if $(debug),-Dbuild.debug="on") \ + && \ + touch $@ + +# vim: set noet sw=4 ts=4: |