Update git submodules
[LibreOffice.git] / unoidl / Module_unoidl.mk
blob15533717748d660bf154da5b0cfc588d83d8a7ba
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_Module_Module,unoidl))
12 # unoidl-check is needed as a component of the ODK / SDK package and
13 # a build-tool. In case of cross-compiling a build-native tool must
14 # be provided in addtion to the ODK one (!CROSS_COMPLING phase).
16 $(eval $(call gb_Module_add_targets,unoidl, \
17 $(if $(filter DESKTOP,$(BUILD_TYPE)), \
18 Executable_unoidl-read) \
19 $(if $(or $(filter ODK,$(BUILD_TYPE)),$(call gb_not,$(CROSS_COMPILING))), \
20 Executable_unoidl-check \
21 Executable_unoidl-write \
22 ) \
23 Library_unoidl \
26 $(eval $(call gb_Module_add_check_targets,unoidl, \
27 CustomTarget_unoidl-write_test \
28 $(if $(filter ODK,$(BUILD_TYPE)),CustomTarget_unoidl-check_test) \
30 # vim: set noet sw=4 ts=4: