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_liblayout
))
12 $(eval
$(call gb_ExternalProject_use_external_projects
,jfreereport_liblayout
,\
16 jfreereport_libloader \
18 jfreereport_libformula \
19 jfreereport_libfonts \
20 jfreereport_librepository \
21 jfreereport_libserializer \
24 $(eval
$(call gb_ExternalProject_register_targets
,jfreereport_liblayout
,\
28 $(call gb_ExternalProject_get_state_target
,jfreereport_liblayout
,build
) :
29 $(call gb_Trace_StartRange
,jfreereport_liblayout
,EXTERNAL
)
30 $(call gb_ExternalProject_run
,build
,\
31 unset MSYS_NO_PATHCONV
&& JAVA_HOME
=$(JAVA_HOME_FOR_BUILD
) \
32 $(ICECREAM_RUN
) "$(ANT)" \
33 $(if
$(verbose
),-v
,-q
) \
35 -Dbuild.label
="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
36 -Dflute.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_flute
/dist/flute-
$(FLUTE_VERSION
).jar \
37 -Dlibbase.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libbase
/dist/libbase-
$(LIBBASE_VERSION
).jar \
38 -Dlibformula.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libformula
/dist/libformula-
$(LIBFORMULA_VERSION
).jar \
39 -Dlibfonts.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libfonts
/dist/libfonts-
$(LIBFONTS_VERSION
).jar \
40 -Dlibloader.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libloader
/dist/libloader-
$(LIBLOADER_VERSION
).jar \
41 -Dlibrepository.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_librepository
/dist/librepository-
$(LIBREPOSITORY_VERSION
).jar \
42 -Dlibserializer.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libserializer
/dist/libserializer-
$(LIBBASE_VERSION
).jar \
43 -Dlibxml.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_libxml
/dist/libxml-
$(LIBXML_VERSION
).jar \
44 -Dsac.jar
=$(gb_UnpackedTarball_workdir
)/jfreereport_sac
/build
/lib
/sac.jar \
45 -Dant.build.javac.source
=$(JAVA_SOURCE_VER
) \
46 -Dant.build.javac.target
=$(JAVA_TARGET_VER
) \
47 -Dantcontrib.available
="true" \
49 $(if
$(debug
),-Dbuild.debug
="on") jar \
51 $(call gb_Trace_EndRange
,jfreereport_liblayout
,EXTERNAL
)
53 # vim: set noet sw=4 ts=4: