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_externals
,jfreereport_liblayout
,\
16 $(eval
$(call gb_ExternalProject_use_external_projects
,jfreereport_liblayout
,\
20 jfreereport_libloader \
22 jfreereport_libformula \
23 jfreereport_libfonts \
24 jfreereport_librepository \
25 jfreereport_libserializer \
28 $(eval
$(call gb_ExternalProject_register_targets
,jfreereport_liblayout
,\
32 $(call gb_ExternalProject_get_state_target
,jfreereport_liblayout
,build
) :
33 $(call gb_ExternalProject_run
,build
,\
34 $(ICECREAM_RUN
) "$(ANT)" \
37 -Dbuild.label
="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
38 $(if
$(SYSTEM_APACHE_COMMONS
),\
39 -Dcommons-logging.jar
=$(COMMONS_LOGGING_JAR
), \
40 -Dcommons-logging.jar
="$(call gb_UnpackedTarball_get_dir,apache_commons_logging)/target/commons-logging-$(COMMONS_LOGGING_VERSION).jar") \
41 -Dflute.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_flute
)/dist/flute-
$(FLUTE_VERSION
).jar \
42 -Dlibbase.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_libbase
)/dist/libbase-
$(LIBBASE_VERSION
).jar \
43 -Dlibformula.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_libformula
)/dist/libformula-
$(LIBFORMULA_VERSION
).jar \
44 -Dlibfonts.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_libfonts
)/dist/libfonts-
$(LIBFONTS_VERSION
).jar \
45 -Dlibloader.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_libloader
)/dist/libloader-
$(LIBLOADER_VERSION
).jar \
46 -Dlibrepository.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_librepository
)/dist/librepository-
$(LIBREPOSITORY_VERSION
).jar \
47 -Dlibserializer.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_libserializer
)/dist/libserializer-
$(LIBBASE_VERSION
).jar \
48 -Dlibxml.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_libxml
)/dist/libxml-
$(LIBXML_VERSION
).jar \
49 -Dsac.jar
=$(call gb_UnpackedTarball_get_dir
,jfreereport_sac
)/build
/lib
/sac.jar \
50 $(if
$(filter yes
,$(JAVACISGCJ
))\
51 ,-Dbuild.compiler
=gcj \
52 ,-Dant.build.javac.source
=$(JAVA_SOURCE_VER
) \
53 -Dant.build.javac.target
=$(JAVA_TARGET_VER
) \
55 -Dantcontrib.available
="true" \
57 $(if
$(debug
),-Dbuild.debug
="on") jar \
60 # vim: set noet sw=4 ts=4: