fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / apache-commons / ExternalProject_apache_commons_httpclient.mk
blobc2cec42dff86f32a84c4fe8cf894d47b4a446353
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,apache_commons_httpclient))
12 $(eval $(call gb_ExternalProject_use_external,apache_commons_httpclient,commons-codec))
13 $(eval $(call gb_ExternalProject_use_external,apache_commons_httpclient,commons-logging))
15 $(eval $(call gb_ExternalProject_register_targets,apache_commons_httpclient,\
16 build \
19 $(call gb_ExternalProject_get_state_target,apache_commons_httpclient,build) :
20 $(call gb_ExternalProject_run,build,\
21 ANT_OPTS="$$ANT_OPTS -Dfile.encoding=ISO-8859-1" \
22 $(ICECREAM_RUN) "$(ANT)" \
23 -q \
24 -f build.xml \
25 -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
26 -Dcommons-logging.jar="$(call gb_UnpackedTarball_get_dir,apache_commons_logging)/target/commons-logging-$(COMMONS_LOGGING_VERSION).jar" \
27 $(if $(filter TRUE,$(HAVE_JAVA6))\
28 ,-Dcommons-codec.jar="$(call gb_UnpackedTarball_get_dir,apache_commons_codec)/dist/commons-codec-1.9.jar" \
29 ,-Dcommons-codec.jar="$(call gb_UnpackedTarball_get_dir,apache_commons_codec)/dist/commons-codec-1.6-SNAPSHOT.jar" \
30 ) \
31 $(if $(filter yes,$(JAVACISGCJ))\
32 ,-Dbuild.compiler=gcj \
33 ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
34 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
35 ) \
36 $(if $(debug),-Dbuild.debug="on") \
37 dist \
40 # vim: set noet sw=4 ts=4: