xref: /aoo42x/main/bridges/Library_java_uno.mk (revision 191f9374)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,java_uno))
25
26$(eval $(call gb_Library_add_precompiled_header,java_uno,$(SRCDIR)/bridges/inc/pch/precompiled_bridges_java_uno))
27
28$(eval $(call gb_Library_set_include,java_uno,\
29	$$(INCLUDE) \
30	-I$(SRCDIR)/bridges/inc \
31	-I$(SRCDIR)/bridges/inc/pch \
32	-I$(SRCDIR)/bridges/source/jni_uno \
33	-I$(OUTDIR)/inc \
34))
35
36$(eval $(call gb_Library_set_private_extract_of_public_api,java_uno,$(OUTDIR)/bin/udkapi.rdb,\
37	com.sun.star.uno.XInterface \
38	com.sun.star.uno.TypeClass \
39))
40
41#$(eval $(call gb_Library_add_api,java_uno, \
42#        udkapi \
43#	offapi \
44#))
45
46$(eval $(call gb_Library_set_versionmap,java_uno,$(SRCDIR)/bridges/source/jni_uno/java_uno.map))
47
48$(eval $(call gb_Library_add_linked_libs,java_uno,\
49	cppu \
50	jvmaccess \
51	sal \
52	salhelper \
53	stl \
54	$(gb_STDLIBS) \
55))
56
57$(eval $(call gb_Library_add_exception_objects,java_uno,\
58	bridges/source/jni_uno/jni_bridge \
59	bridges/source/jni_uno/jni_data \
60	bridges/source/jni_uno/jni_info \
61	bridges/source/jni_uno/jni_java2uno \
62	bridges/source/jni_uno/jni_uno2java \
63	bridges/source/jni_uno/nativethreadpool \
64))
65
66# vim: set noet sw=4 ts=4:
67
68