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
) \
24 $(eval
$(call gb_Module_add_targets_for_build
,unoidl
, \
25 Executable_unoidl-write \
28 $(eval
$(call gb_Module_add_check_targets
,unoidl
, \
29 CustomTarget_unoidl-write_test \
30 $(if
$(filter ODK
,$(BUILD_TYPE
)),CustomTarget_unoidl-check_test
) \
32 # vim: set noet sw=4 ts=4: