summaryrefslogtreecommitdiff
path: root/bridges/Library_java_uno.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_java_uno.mk
parentf2ec771cd98fc390ed9e8f4a5e772ca9da958702 (diff)
gbuildize bridges
Change-Id: I66e76da71dd5d6ed1b899aba8d41dfb5bc36da1c
Diffstat (limited to 'bridges/Library_java_uno.mk')
-rw-r--r--bridges/Library_java_uno.mk46
1 files changed, 46 insertions, 0 deletions
diff --git a/bridges/Library_java_uno.mk b/bridges/Library_java_uno.mk
new file mode 100644
index 000000000000..2d6f59579108
--- /dev/null
+++ b/bridges/Library_java_uno.mk
@@ -0,0 +1,46 @@
+# -*- 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/.
+#
+
+$(eval $(call gb_Library_Library,java_uno))
+
+ifeq ($(GUI)$(COM),WNTGCC)
+ifeq ($(EXCEPTIONS),sjlj)
+$(eval $(call gb_Library_add_defs,java_uno,\
+ -DBROKEN_ALLOCA \
+))
+endif
+endif
+
+$(eval $(call gb_Library_use_internal_comprehensive_api,java_uno,\
+ udkapi \
+))
+
+$(eval $(call gb_Library_set_include,java_uno,\
+ -I$(SRCDIR)/bridges/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_use_libraries,java_uno,\
+ cppu \
+ jvmaccess \
+ sal \
+ salhelper \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,java_uno,\
+ bridges/source/jni_uno/jni_bridge \
+ bridges/source/jni_uno/jni_data \
+ bridges/source/jni_uno/jni_info \
+ bridges/source/jni_uno/jni_java2uno \
+ bridges/source/jni_uno/jni_uno2java \
+ bridges/source/jni_uno/nativethreadpool \
+))
+
+# vim: set noet sw=4 ts=4: