summaryrefslogtreecommitdiff
path: root/bridges/Library_cc5_solaris_sparc64.mk
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/Library_cc5_solaris_sparc64.mk')
-rw-r--r--bridges/Library_cc5_solaris_sparc64.mk64
1 files changed, 64 insertions, 0 deletions
diff --git a/bridges/Library_cc5_solaris_sparc64.mk b/bridges/Library_cc5_solaris_sparc64.mk
new file mode 100644
index 000000000000..e29e0170c107
--- /dev/null
+++ b/bridges/Library_cc5_solaris_sparc64.mk
@@ -0,0 +1,64 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+ifneq ($(strip $(bridges_SELECTED_BRIDGE)),)
+$(eval $(call gb_Output_error,cannot build bridge cc5_solaris_sparc64: bridge $(bridges_SELECTED_BRIDGE) already selected))
+endif
+bridges_SELECTED_BRIDGE := cc5_solaris_sparc64
+
+$(eval $(call gb_Library_Library,sunpro5_uno))
+
+$(eval $(call gb_Library_use_internal_comprehensive_api,sunpro5_uno,\
+ udkapi \
+))
+
+$(eval $(call gb_Library_set_include,sunpro5_uno,\
+ -I$(SRCDIR)/bridges/inc \
+ $$(INCLUDE) \
+))
+
+ifeq ($(HAVE_POSIX_FALLOCATE),YES)
+$(eval $(call gb_Library_add_defs,sunpro5_uno,\
+ -DHAVE_POSIX_FALLOCATE \
+))
+endif
+
+# In case someone enabled the non-standard -fomit-frame-pointer which does not
+# work with the .cxx sources of this library.
+$(eval $(call gb_Library_add_cxxflags,sunpro5_uno,\
+ -fno-omit-frame-pointer \
+ -fno-strict-aliasing \
+))
+
+$(eval $(call gb_Library_use_libraries,sunpro5_uno,\
+ cppu \
+ sal \
+))
+
+$(eval $(call gb_Library_add_asmobjects,sunpro5_uno,\
+ bridges/source/cpp_uno/cc5_solaris_sparc64/callvirtualmethod \
+ bridges/source/cpp_uno/cc5_solaris_sparc64/fp \
+ bridges/source/cpp_uno/cc5_solaris_sparc64/vtableslotcall \
+))
+
+$(eval $(call gb_Library_add_exception_objects,sunpro5_uno,\
+ bridges/source/cpp_uno/cc5_solaris_sparc64/cpp2uno \
+ bridges/source/cpp_uno/cc5_solaris_sparc64/exceptions \
+ bridges/source/cpp_uno/cc5_solaris_sparc64/isdirectreturntype \
+ bridges/source/cpp_uno/cc5_solaris_sparc64/uno2cpp \
+ bridges/source/cpp_uno/shared/bridge \
+ bridges/source/cpp_uno/shared/component \
+ bridges/source/cpp_uno/shared/cppinterfaceproxy \
+ bridges/source/cpp_uno/shared/types \
+ bridges/source/cpp_uno/shared/unointerfaceproxy \
+ bridges/source/cpp_uno/shared/vtablefactory \
+ bridges/source/cpp_uno/shared/vtables \
+))
+
+# vim: set noet sw=4 ts=4: