bump product version to 4.1.6.2
[LibreOffice.git] / apache-commons / ExternalProject_apache_commons_logging.mk
blob98a77eb7ab45838f759342caf2f223f10fd78174
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_logging))
12 # TODO: this should go into RepositoryExternal.mk
13 ifneq ($(SYSTEM_TOMCAT),YES)
14 $(eval $(call gb_ExternalProject_use_packages,apache_commons_logging,\
15 tomcat_inc \
17 endif
19 $(eval $(call gb_ExternalProject_register_targets,apache_commons_logging,\
20 build \
23 $(call gb_ExternalProject_get_state_target,apache_commons_logging,build) :
24 $(call gb_ExternalProject_run,build,\
25 ANT_OPTS="$$ANT_OPTS -Dfile.encoding=ISO-8859-1" \
26 $(ICECREAM_RUN) "$(ANT)" \
27 -q \
28 -f build.xml \
29 -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
30 $(if $(filter YES,$(SYSTEM_TOMCAT))\
31 ,-Dservletapi.jar=$(SERVLETAPI_JAR) \
32 ,-Dservletapi.jar=$(SOLARVER)/$(INPATH)/bin/servlet-api.jar \
34 $(if $(filter yes,$(JAVACISGCJ))\
35 ,-Dbuild.compiler=gcj \
36 ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
37 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
38 ) \
39 $(if $(debug),-Dbuild.debug="on") \
40 compile build-jar \
43 # vim: set noet sw=4 ts=4: