summaryrefslogtreecommitdiff
path: root/bridges/Library_gcc3_linux_mips.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-07-29 17:31:26 +0200
committerDavid Tardon <dtardon@redhat.com>2012-09-22 08:15:30 +0200
commitf2668d319c88fa69aa0c3efcc81e22f6f822195a (patch)
tree6277b820838f605484b702b55a5d8ad581d64d91 /bridges/Library_gcc3_linux_mips.mk
parentf2ec771cd98fc390ed9e8f4a5e772ca9da958702 (diff)
gbuildize bridges
Change-Id: I66e76da71dd5d6ed1b899aba8d41dfb5bc36da1c
Diffstat (limited to 'bridges/Library_gcc3_linux_mips.mk')
-rw-r--r--bridges/Library_gcc3_linux_mips.mk62
1 files changed, 62 insertions, 0 deletions
diff --git a/bridges/Library_gcc3_linux_mips.mk b/bridges/Library_gcc3_linux_mips.mk
new file mode 100644
index 000000000000..c33d207e9fb5
--- /dev/null
+++ b/bridges/Library_gcc3_linux_mips.mk
@@ -0,0 +1,62 @@
+# -*- 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 gcc3_linux_mips: bridge $(bridges_SELECTED_BRIDGE) already selected))
+endif
+bridges_SELECTED_BRIDGE := gcc3_linux_mips
+
+$(eval $(call gb_Library_Library,gcc3_uno))
+
+$(eval $(call gb_Library_use_internal_comprehensive_api,gcc3_uno,\
+ udkapi \
+))
+
+$(eval $(call gb_Library_set_include,gcc3_uno,\
+ -I$(SRCDIR)/bridges/inc \
+ $$(INCLUDE) \
+))
+
+ifeq ($(HAVE_POSIX_FALLOCATE),YES)
+$(eval $(call gb_Library_add_defs,gcc3_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,gcc3_uno,\
+ -fno-omit-frame-pointer \
+ -fno-strict-aliasing \
+))
+
+$(eval $(call gb_Library_use_libraries,gcc3_uno,\
+ cppu \
+ dl \
+ sal \
+))
+
+$(eval $(call gb_Library_add_exception_objects,gcc3_uno,\
+ bridges/source/cpp_uno/gcc3_linux_mips/except \
+ bridges/source/cpp_uno/shared/bridge \
+ bridges/source/cpp_uno/shared/component \
+ bridges/source/cpp_uno/shared/types \
+ bridges/source/cpp_uno/shared/unointerfaceproxy \
+ bridges/source/cpp_uno/shared/vtablefactory \
+ bridges/source/cpp_uno/shared/vtables \
+))
+
+$(eval $(call gb_Library_add_cxxobjects,gcc3_uno,\
+ bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno \
+ bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp \
+ bridges/source/cpp_uno/shared/cppinterfaceproxy \
+ , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
+))
+
+# vim: set noet sw=4 ts=4: