Paren fix for Ubu 10.04 build (and fdo#58417 ?)
[LibreOffice.git] / jfreereport / ExternalProject_jfreereport_liblayout.mk
blob62c0497d35cd498dd7ada5826bb606012e90e4e2
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 # for RSCREVISION
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 \
21 endif
23 $(eval $(call gb_ExternalProject_use_packages,jfreereport_liblayout,\
24 jfreereport_sac \
25 jfreereport_libbase \
26 jfreereport_flute \
27 jfreereport_libloader \
28 jfreereport_libxml \
29 jfreereport_libformula \
30 jfreereport_libfonts \
31 jfreereport_librepository \
32 jfreereport_libserializer \
35 $(eval $(call gb_ExternalProject_register_targets,jfreereport_liblayout,\
36 build \
39 $(call gb_ExternalProject_get_state_target,jfreereport_liblayout,build) :
40 cd "$(call gb_UnpackedTarball_get_dir,jfreereport_liblayout)" && \
41 $(ICECREAM_RUN) "$(ANT)" \
42 -q \
43 -f build.xml \
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) \
52 ) \
53 -Dantcontrib.available="true" \
54 -Dbuild.id="10682" \
55 -Dlib=$(OUTDIR)/bin \
56 $(if $(debug),-Dbuild.debug="on") jar && \
57 touch $@
59 # vim: set noet sw=4 ts=4: