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
,\
14 $(if
$(ENABLE_DOTNET
),Library_net_uno
) \
18 $(if
$(filter MACOSX
,$(OS
)),Package_jnilib_java_uno
) \
20 $(if
$(filter ARM
,$(CPUNAME
)),\
21 $(if
$(filter ANDROID LINUX
,$(OS
)),\
22 CustomTarget_gcc3_linux_arm
) \
24 $(if
$(filter EMSCRIPTEN
,$(OS
)), \
25 CustomTarget_gcc3_wasm \
26 StaticLibrary_emscriptencxxabi \
30 ifeq (,$(filter build
,$(gb_Module_SKIPTARGETS
)))
31 ifeq ($(strip $(bridges_SELECTED_BRIDGE
)),)
32 $(call gb_Output_error
,no bridge selected for build
: bailing out
)
33 else ifneq ($(words $(bridges_SELECTED_BRIDGE
)),1)
34 $(call gb_Output_error
,multiple bridges selected for build
: $(bridges_SELECTED_BRIDGE
))
38 # vim: set noet sw=4 ts=4: