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/.
11 include $(SOLARENV
)/inc
/minor.mk
13 $(eval
$(call gb_ExternalProject_ExternalProject
,jfreereport_liblayout
))
15 $(eval
$(call gb_ExternalProject_use_unpacked
,jfreereport_liblayout
,jfreereport_liblayout
))
17 ifneq ($(SYSTEM_APACHE_COMMONS
),YES
)
18 $(eval
$(call gb_ExternalProject_use_packages
,jfreereport_liblayout
,\
19 apache_commons_logging_inc \
23 $(eval
$(call gb_ExternalProject_use_packages
,jfreereport_liblayout
,\
27 jfreereport_libloader \
29 jfreereport_libformula \
30 jfreereport_libfonts \
31 jfreereport_librepository \
32 jfreereport_libserializer \
35 $(eval
$(call gb_ExternalProject_register_targets
,jfreereport_liblayout
,\
39 $(call gb_ExternalProject_get_state_target
,jfreereport_liblayout
,build
) :
40 cd
"$(call gb_UnpackedTarball_get_dir,jfreereport_liblayout)" && \
41 $(ICECREAM_RUN
) "$(ANT)" \
44 -Dbuild.label
="build-$(RSCREVISION)" \
45 $(if
$(filter YES
,$(SYSTEM_APACHE_COMMONS
))\
46 ,-Dcommons-logging.jar
=$(COMMONS_LOGGING_JAR
) \
48 $(if
$(filter yes
,$(JAVACISGCJ
))\
49 ,-Dbuild.compiler
=gcj \
50 ,-Dant.build.javac.source
=$(JAVA_SOURCE_VER
) \
51 -Dant.build.javac.target
=$(JAVA_TARGET_VER
) \
53 -Dantcontrib.available
="true" \
56 $(if
$(debug
),-Dbuild.debug
="on") jar
&& \
59 # vim: set noet sw=4 ts=4: