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 ifneq ($(SYSTEM_APACHE_COMMONS
),YES
)
13 $(eval
$(call gb_ExternalProject_use_packages
,jfreereport_liblayout
,\
14 apache_commons_logging_inc \
18 $(eval
$(call gb_ExternalProject_use_packages
,jfreereport_liblayout
,\
22 jfreereport_libloader \
24 jfreereport_libformula \
25 jfreereport_libfonts \
26 jfreereport_librepository \
27 jfreereport_libserializer \
30 $(eval
$(call gb_ExternalProject_register_targets
,jfreereport_liblayout
,\
34 $(call gb_ExternalProject_get_state_target
,jfreereport_liblayout
,build
) :
35 $(call gb_ExternalProject_run
,build
,\
36 $(ICECREAM_RUN
) "$(ANT)" \
39 -Dbuild.label
="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
40 $(if
$(filter YES
,$(SYSTEM_APACHE_COMMONS
)),-Dcommons-logging.jar
=$(COMMONS_LOGGING_JAR
) )\
41 $(if
$(filter yes
,$(JAVACISGCJ
))\
42 ,-Dbuild.compiler
=gcj \
43 ,-Dant.build.javac.source
=$(JAVA_SOURCE_VER
) \
44 -Dant.build.javac.target
=$(JAVA_TARGET_VER
) \
46 -Dantcontrib.available
="true" \
49 $(if
$(debug
),-Dbuild.debug
="on") jar \
52 # vim: set noet sw=4 ts=4: