Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / hsqldb / ExternalProject_hsqldb.mk
blob6863145767993c7d3dd4cc81a940829271ccfcbf
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,hsqldb))
12 $(eval $(call gb_ExternalProject_use_unpacked,hsqldb,hsqldb))
14 $(eval $(call gb_ExternalProject_register_targets,hsqldb,\
15 build \
18 $(call gb_ExternalProject_get_state_target,hsqldb,build) :
19 cd $(EXTERNAL_WORKDIR) && \
20 $(ICECREAM_RUN) "$(ANT)" \
21 -q \
22 -f build/build.xml \
23 -Dbuild.label="build-libreoffice" \
24 $(if $(filter yes,$(JAVACISGCJ))\
25 ,-Dbuild.compiler=gcj \
26 ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
27 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
28 ) \
29 $(if $(debug),-Dbuild.debug="on") \
30 jar && \
31 touch $@
33 # vim: set noet sw=4 ts=4: