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
,apache_commons_httpclient
))
15 $(eval
$(call gb_ExternalProject_use_unpacked
,apache_commons_codec
,apache_commons_httpclient
))
17 $(eval
$(call gb_ExternalProject_use_external
,apache_commons_httpclient
,commons-codec
))
18 $(eval
$(call gb_ExternalProject_use_external
,apache_commons_httpclient
,commons-logging
))
20 $(eval
$(call gb_ExternalProject_register_targets
,apache_commons_httpclient
,\
24 $(call gb_ExternalProject_get_state_target
,apache_commons_httpclient
,build
) :
25 cd
"$(call gb_UnpackedTarball_get_dir,apache_commons_httpclient)" && \
26 ANT_OPTS
="$$ANT_OPTS -Dfile.encoding=ISO-8859-1" \
27 $(ICECREAM_RUN
) "$(ANT)" \
30 -Dbuild.label
="build-$(RSCREVISION)" \
31 -Dcommons-logging.jar
="$(call gb_UnpackedTarball_get_dir,apache_commons_logging)/target/commons-logging-1.1.1-SNAPSHOT.jar" \
32 -Dcommons-codec.jar
="$(call gb_UnpackedTarball_get_dir,apache_commons_codec)/dist/commons-codec-1.3.jar" \
33 $(if
$(filter yes
,$(JAVACISGCJ
))\
34 ,-Dbuild.compiler
=gcj \
35 ,-Dant.build.javac.source
=$(JAVA_SOURCE_VER
) \
36 -Dant.build.javac.target
=$(JAVA_TARGET_VER
) \
38 $(if
$(debug
),-Dbuild.debug
="on") \
42 # vim: set noet sw=4 ts=4: