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
,jfreereport_flow_engine
))
12 $(eval
$(call gb_ExternalProject_use_external_projects
,jfreereport_flow_engine
,\
13 jfreereport_liblayout \
16 $(eval
$(call gb_ExternalProject_register_targets
,jfreereport_flow_engine
,\
20 $(call gb_ExternalProject_get_state_target
,jfreereport_flow_engine
,build
) :
21 $(call gb_Trace_StartRange
,jfreereport_flow_engine
,EXTERNAL
)
22 $(call gb_ExternalProject_run
,build
,\
23 unset MSYS_NO_PATHCONV
&& JAVA_HOME
=$(JAVA_HOME_FOR_BUILD
) \
24 $(ICECREAM_RUN
) "$(ANT)" \
25 $(if
$(verbose
),-v
,-q
) \
27 -Dbuild.label
="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
28 -Dlibbase.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libbase
/dist/libbase-
$(LIBBASE_VERSION
).jar \
29 -Dlibformula.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libformula
/dist/libformula-
$(LIBFORMULA_VERSION
).jar \
30 -Dliblayout.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_liblayout
/build
/lib
/liblayout.jar \
31 -Dlibloader.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libloader
/dist/libloader-
$(LIBLOADER_VERSION
).jar \
32 -Dlibserializer.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libserializer
/dist/libserializer-
$(LIBBASE_VERSION
).jar \
33 -Dlibxml.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libxml
/dist/libxml-
$(LIBXML_VERSION
).jar \
34 -Dant.build.javac.source
=$(JAVA_SOURCE_VER
) \
35 -Dant.build.javac.target
=$(JAVA_TARGET_VER
) \
36 $(if
$(debug
),-Dbuild.debug
="on") jar \
38 $(call gb_Trace_EndRange
,jfreereport_flow_engine
,EXTERNAL
)
40 # vim: set noet sw=4 ts=4: