Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / beanshell / ExternalProject_beanshell.mk
blob983537c573488f8b4823d109417ba20d6b06da91
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,beanshell))
12 $(eval $(call gb_ExternalProject_use_unpacked,beanshell,beanshell))
14 $(eval $(call gb_ExternalProject_register_targets,beanshell,\
15 build \
18 $(call gb_ExternalProject_get_state_target,beanshell,build) :
19 cd "$(call gb_UnpackedTarball_get_dir,beanshell)" && \
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 touch $@
32 # vim: set noet sw=4 ts=4: