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
,\
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)" \
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" \
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
) \
36 $(if
$(debug
),-Dbuild.debug
="on") \
40 # vim: set noet sw=4 ts=4: