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 mingw_intel
: bridge
$(bridges_SELECTED_BRIDGE
) already selected
))
13 bridges_SELECTED_BRIDGE
:= mingw_intel
15 $(eval
$(call gb_Library_Library
,gcc3_uno
))
17 $(eval
$(call gb_Library_use_internal_comprehensive_api
,gcc3_uno
,\
21 $(eval
$(call gb_Library_set_include
,gcc3_uno
,\
22 -I
$(SRCDIR
)/bridges
/inc \
26 $(eval
$(call gb_Library_add_defs
,gcc3_uno
,\
27 $(if
$(filter sjlj
,$(EXCEPTIONS
)),\
30 $(if
$(filter YES
,$(HAVE_POSIX_FALLOCATE
)),\
31 -DHAVE_POSIX_FALLOCATE \
35 # In case someone enabled the non-standard -fomit-frame-pointer which does not
36 # work with the .cxx sources of this library.
37 # In case the compiler supports AVX this code segfaults so specifically turn
39 $(eval
$(call gb_Library_add_cxxflags
,gcc3_uno
,\
40 -fno-omit-frame-pointer \
41 -fno-strict-aliasing \
42 $(if
$(filter TRUE
,$(HAVE_GCC_AVX
)),\
47 $(eval
$(call gb_Library_use_libraries
,gcc3_uno
,\
52 $(eval
$(call gb_Library_add_asmobjects
,gcc3_uno
,\
53 bridges
/source
/cpp_uno
/mingw_intel
/call \
56 $(eval
$(call gb_Library_add_exception_objects
,gcc3_uno
,\
57 bridges
/source
/cpp_uno
/mingw_intel
/callvirtualmethod \
58 bridges
/source
/cpp_uno
/mingw_intel
/cpp2uno \
59 bridges
/source
/cpp_uno
/mingw_intel
/dllinit \
60 bridges
/source
/cpp_uno
/mingw_intel
/except \
61 bridges
/source
/cpp_uno
/mingw_intel
/smallstruct \
62 bridges
/source
/cpp_uno
/shared
/bridge \
63 bridges
/source
/cpp_uno
/shared
/component \
64 bridges
/source
/cpp_uno
/shared
/types \
65 bridges
/source
/cpp_uno
/shared
/unointerfaceproxy \
66 bridges
/source
/cpp_uno
/shared
/vtablefactory \
67 bridges
/source
/cpp_uno
/shared
/vtables \
70 $(eval
$(call gb_Library_add_cxxobjects
,gcc3_uno
,\
71 bridges
/source
/cpp_uno
/mingw_intel
/uno2cpp \
72 bridges
/source
/cpp_uno
/shared
/cppinterfaceproxy \
73 , $(gb_COMPILERNOOPTFLAGS
) $(gb_LinkTarget_EXCEPTIONFLAGS
) \
76 # vim: set noet sw=4 ts=4: