Updated core
[LibreOffice.git] / apache-commons / ExternalProject_apache_commons_codec.mk
blob2135cb4c70d2625405e673532343893ad308ce79
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_codec))
12 $(eval $(call gb_ExternalProject_register_targets,apache_commons_codec,\
13 build \
16 $(call gb_ExternalProject_get_state_target,apache_commons_codec,build) :
17 $(call gb_ExternalProject_run,build,\
18 ANT_OPTS="$$ANT_OPTS -Dfile.encoding=ISO-8859-1" \
19 $(ICECREAM_RUN) "$(ANT)" \
20 -q \
21 -f build.xml \
22 -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
23 $(if $(filter yes,$(JAVACISGCJ))\
24 ,-Dbuild.compiler=gcj \
25 ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
26 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
27 ) \
28 $(if $(debug),-Dbuild.debug="on") \
29 jar \
32 # vim: set noet sw=4 ts=4: