Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / external / languagetool / ExternalProject_languagetool.mk
blob20ebdf576fecdd72ef6c757a792dd4a720da6f22
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 $(eval $(call gb_ExternalProject_ExternalProject,languagetool))
12 $(eval $(call gb_ExternalProject_register_targets,languagetool,\
13 build \
16 $(eval $(call gb_ExternalProject_use_jars,languagetool,\
17 juh \
18 jurt \
19 ridl \
20 unoil \
23 $(call gb_ExternalProject_get_state_target,languagetool,build) :
24 cd "$(call gb_UnpackedTarball_get_dir,languagetool)" && \
25 $(ICECREAM_RUN) "$(ANT)" \
26 -q \
27 -f build.xml \
28 -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
29 $(if $(filter yes,$(JAVACISGCJ))\
30 ,-Dbuild.compiler=gcj \
31 ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
32 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
33 ) \
34 $(if $(debug),-Dbuild.debug="on") \
35 -Dext.ooo.juh.lib="$(call gb_Jar_get_target,juh)" \
36 -Dext.ooo.jurt.lib="$(call gb_Jar_get_target,jurt)" \
37 -Dext.ooo.ridl.lib="$(call gb_Jar_get_target,ridl)" \
38 -Dext.ooo.unoil.lib="$(call gb_Jar_get_target,unoil)" \
39 dist && \
40 touch $@
42 # vim: set noet sw=4 ts=4: