Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / rhino / ExternalProject_rhino.mk
blob133b04f89e2205bde01274e9cdba02e03db85599
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,rhino))
12 $(eval $(call gb_ExternalProject_register_targets,rhino,\
13 build \
16 $(call gb_ExternalProject_get_state_target,rhino,build) :
17 $(call gb_ExternalProject_run,build,\
18 $(ICECREAM_RUN) "$(ANT)" \
19 $(if $(verbose),-v,-q) \
20 -f build.xml \
21 -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
22 -DTARFILE_LOCATION="$(if $(findstring -cygwin,$(BUILD_PLATFORM)),$(shell cygpath -m $(TARFILE_LOCATION)),$(TARFILE_LOCATION))" \
23 -Dant.build.javac.source=$(JAVA_SOURCE_VER) \
24 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
25 $(if $(debug),-Dbuild.debug="on") \
26 jar \
29 # vim: set noet sw=4 ts=4: