fix configmgr --enable-dconf build
[LibreOffice.git] / bridges / Module_bridges.mk
blob1c7fb1789b8e2ee7e002febefd17a4ee9921ebf7
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 ifneq ($(OS),EMSCRIPTEN)
13 $(eval $(call gb_Module_add_targets,bridges,\
14 Library_cpp_uno \
15 $(if $(ENABLE_JAVA),\
16 Jar_java_uno \
17 Library_java_uno \
18 $(if $(filter MACOSX,$(OS)),Package_jnilib_java_uno) \
19 ) \
20 $(if $(filter ARM,$(CPUNAME)),\
21 $(if $(filter ANDROID LINUX,$(OS)),\
22 CustomTarget_gcc3_linux_arm) \
23 ) \
26 ifeq (,$(filter build,$(gb_Module_SKIPTARGETS)))
27 ifeq ($(strip $(bridges_SELECTED_BRIDGE)),)
28 $(call gb_Output_error,no bridge selected for build: bailing out)
29 else ifneq ($(words $(bridges_SELECTED_BRIDGE)),1)
30 $(call gb_Output_error,multiple bridges selected for build: $(bridges_SELECTED_BRIDGE))
31 endif
32 endif
33 endif
35 # vim: set noet sw=4 ts=4: