Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / bridges / Library_gcc3_linux_arm.mk
blob94711eaecbab4957bb6e1678c7c82780f87b94b6
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 ifneq ($(strip $(bridges_SELECTED_BRIDGE)),)
11 $(eval $(call gb_Output_error,cannot build bridge gcc3_linux_arm: bridge $(bridges_SELECTED_BRIDGE) already selected))
12 endif
13 bridges_SELECTED_BRIDGE := gcc3_linux_arm
15 $(eval $(call gb_Library_Library,gcc3_uno))
17 $(eval $(call gb_Library_use_internal_comprehensive_api,gcc3_uno,\
18 udkapi \
21 $(eval $(call gb_Library_set_include,gcc3_uno,\
22 -I$(SRCDIR)/bridges/inc \
23 $$(INCLUDE) \
26 ifeq ($(HAVE_POSIX_FALLOCATE),YES)
27 $(eval $(call gb_Library_add_defs,gcc3_uno,\
28 -DHAVE_POSIX_FALLOCATE \
30 endif
32 # In case someone enabled the non-standard -fomit-frame-pointer which does not
33 # work with the .cxx sources of this library.
34 $(eval $(call gb_Library_add_cxxflags,gcc3_uno,\
35 -fno-omit-frame-pointer \
36 -fno-strict-aliasing \
39 ifneq ($(OS),ANDROID)
40 $(eval $(call gb_Library_add_libs,gcc3_uno,\
41 -ldl \
43 endif
45 $(eval $(call gb_Library_use_libraries,gcc3_uno,\
46 cppu \
47 sal \
50 $(eval $(call gb_Library_add_exception_objects,gcc3_uno,\
51 bridges/source/cpp_uno/shared/bridge \
52 bridges/source/cpp_uno/shared/component \
53 bridges/source/cpp_uno/shared/types \
54 bridges/source/cpp_uno/shared/unointerfaceproxy \
55 bridges/source/cpp_uno/shared/vtablefactory \
56 bridges/source/cpp_uno/shared/vtables \
59 $(eval $(call gb_Library_add_cxxobjects,gcc3_uno,\
60 bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno \
61 bridges/source/cpp_uno/gcc3_linux_arm/except \
62 bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp \
63 bridges/source/cpp_uno/shared/cppinterfaceproxy \
64 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
67 # HACK
68 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,gcc3_uno)) : \
69 $(call gb_CustomTarget_get_workdir,bridges/source/cpp_uno/gcc3_linux_arm)/armhelper.objectlist
70 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,gcc3_uno)) : \
71 EXTRAOBJECTLISTS += $(call gb_CustomTarget_get_workdir,bridges/source/cpp_uno/gcc3_linux_arm)/armhelper.objectlist
73 # vim: set noet sw=4 ts=4: