Bump for 4.0-11
[LibreOffice.git] / bridges / Library_gcc3_linux_mips.mk
bloba5dfe34b0f7c056981e9f4cfca2a8d8abe2d6b65
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_mips: bridge $(bridges_SELECTED_BRIDGE) already selected))
12 endif
13 bridges_SELECTED_BRIDGE := gcc3_linux_mips
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/gcc3_linux_mips/except \
52 bridges/source/cpp_uno/shared/bridge \
53 bridges/source/cpp_uno/shared/component \
54 bridges/source/cpp_uno/shared/types \
55 bridges/source/cpp_uno/shared/unointerfaceproxy \
56 bridges/source/cpp_uno/shared/vtablefactory \
57 bridges/source/cpp_uno/shared/vtables \
60 $(eval $(call gb_Library_add_cxxobjects,gcc3_uno,\
61 bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno \
62 bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp \
63 bridges/source/cpp_uno/shared/cppinterfaceproxy \
64 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
67 # vim: set noet sw=4 ts=4: