tdf#154546 skip dispatch when presenter controller is not set
[LibreOffice.git] / bridges / Module_bridges.mk
blob3016bf2c404f1eb6634bb55b5989827732c47173
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,bridges))
12 $(eval $(call gb_Module_add_targets,bridges,\
13 Library_cpp_uno \
14 $(if $(ENABLE_JAVA),\
15 Jar_java_uno \
16 Library_java_uno \
17 $(if $(filter MACOSX,$(OS)),Package_jnilib_java_uno) \
18 ) \
19 $(if $(filter ARM,$(CPUNAME)),\
20 $(if $(filter ANDROID LINUX,$(OS)),\
21 CustomTarget_gcc3_linux_arm) \
22 ) \
25 ifeq (,$(filter build,$(gb_Module_SKIPTARGETS)))
26 ifeq ($(strip $(bridges_SELECTED_BRIDGE)),)
27 $(call gb_Output_error,no bridge selected for build: bailing out)
28 else ifneq ($(words $(bridges_SELECTED_BRIDGE)),1)
29 $(call gb_Output_error,multiple bridges selected for build: $(bridges_SELECTED_BRIDGE))
30 endif
31 endif
33 # vim: set noet sw=4 ts=4: