Bump for 4.0-11
[LibreOffice.git] / languagetool / ExternalProject_languagetool.mk
blob363fde5c17da30e01cf8faadb4d31c648c0baa02
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_use_unpacked,languagetool,languagetool))
14 $(eval $(call gb_ExternalProject_register_targets,languagetool,\
15 build \
18 $(call gb_ExternalProject_get_state_target,languagetool,build) : $(call gb_Jar_get_outdir_target,juh)
19 cd "$(call gb_UnpackedTarball_get_dir,languagetool)" && \
20 $(ICECREAM_RUN) "$(ANT)" \
21 -q \
22 -f build.xml \
23 -Dbuild.label="build-libreoffice" \
24 $(if $(filter yes,$(JAVACISGCJ))\
25 ,-Dbuild.compiler=gcj \
26 ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
27 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
28 ) \
29 $(if $(debug),-Dbuild.debug="on") \
30 -Dsolver.ooo.dir="$(OUTDIR_FOR_BUILD)/bin" dist && \
31 touch $@
33 # vim: set noet sw=4 ts=4: