build fix: no comphelper/profilezone.hxx in this branch
[LibreOffice.git] / bridges / Module_bridges.mk
bloba876f0b01debacf4f5ec6aedc7c5ca78d2a5bd5e
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 IOS,$(OS)),\
21 CustomTarget_gcc3_ios_arm) \
22 $(if $(filter ANDROID LINUX,$(OS)),\
23 CustomTarget_gcc3_linux_arm) \
24 ) \
27 ifneq ($(OS), EMSCRIPTEN)
28 ifeq (,$(filter build,$(gb_Module_SKIPTARGETS)))
29 ifeq ($(strip $(bridges_SELECTED_BRIDGE)),)
30 $(call gb_Output_error,no bridge selected for build: bailing out)
31 else ifneq ($(words $(bridges_SELECTED_BRIDGE)),1)
32 $(call gb_Output_error,multiple bridges selected for build: $(bridges_SELECTED_BRIDGE))
33 endif
34 endif
35 endif
37 # vim: set noet sw=4 ts=4: