Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / bridges / Library_gcc3_ios_arm.mk
blob6744aa4c886356f49d69f2307089dde918db63bf
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_ios_arm: bridge $(bridges_SELECTED_BRIDGE) already selected))
12 endif
13 bridges_SELECTED_BRIDGE := gcc3_ios_arm
15 $(eval $(call gb_Library_Library,gcc3_uno))
17 $(eval $(call gb_Library_use_custom_headers,gcc3_uno,\
18 bridges/source/cpp_uno/gcc3_ios_arm \
21 $(eval $(call gb_Library_use_internal_comprehensive_api,gcc3_uno,\
22 udkapi \
25 $(eval $(call gb_Library_set_include,gcc3_uno,\
26 -I$(SRCDIR)/bridges/inc \
27 $$(INCLUDE) \
30 ifeq ($(HAVE_POSIX_FALLOCATE),YES)
31 $(eval $(call gb_Library_add_defs,gcc3_uno,\
32 -DHAVE_POSIX_FALLOCATE \
34 endif
36 # In case someone enabled the non-standard -fomit-frame-pointer which does not
37 # work with the .cxx sources of this library.
38 $(eval $(call gb_Library_add_cxxflags,gcc3_uno,\
39 -fno-omit-frame-pointer \
40 -fno-strict-aliasing \
43 $(eval $(call gb_Library_add_libs,gcc3_uno,\
44 -ldl \
47 $(eval $(call gb_Library_use_libraries,gcc3_uno,\
48 cppu \
49 sal \
52 $(eval $(call gb_Library_add_asmobjects,gcc3_uno,\
53 bridges/source/cpp_uno/gcc3_ios_arm/helper \
56 $(eval $(call gb_Library_add_exception_objects,gcc3_uno,\
57 bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno \
58 bridges/source/cpp_uno/gcc3_ios_arm/except \
59 bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp \
60 bridges/source/cpp_uno/shared/bridge \
61 bridges/source/cpp_uno/shared/component \
62 bridges/source/cpp_uno/shared/types \
63 bridges/source/cpp_uno/shared/unointerfaceproxy \
64 bridges/source/cpp_uno/shared/vtablefactory \
65 bridges/source/cpp_uno/shared/vtables \
68 ifeq ($(COM),GCC)
69 $(eval $(call gb_Library_add_cxxobjects,gcc3_uno,\
70 bridges/source/cpp_uno/shared/cppinterfaceproxy \
71 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
73 else
74 $(eval $(call gb_Library_add_exception_objects,gcc3_uno,\
75 bridges/source/cpp_uno/shared/cppinterfaceproxy \
77 endif
79 # vim: set noet sw=4 ts=4: