Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / jvmfwk / Library_jvmfwk.mk
blobf3373b781b20590cd92be50d965996fbfe8a4fa2
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 $(eval $(call gb_Library_Library,jvmfwk))
12 $(eval $(call gb_Library_add_defs,jvmfwk,\
13 -DJVMFWK_DLLIMPLEMENTATION \
16 ifneq ($(JVM_ONE_PATH_CHECK),)
17 $(eval $(call gb_Library_add_defs,jvmfwk,\
18 -DJVM_ONE_PATH_CHECK=\"$(JVM_ONE_PATH_CHECK)\" \
20 endif
22 $(eval $(call gb_Library_set_include,jvmfwk,\
23 -I$(SRCDIR)/jvmfwk/inc \
24 $$(INCLUDE) \
27 $(eval $(call gb_Library_use_api,jvmfwk,\
28 udkapi \
31 $(eval $(call gb_Library_use_libraries,jvmfwk,\
32 cppu \
33 cppuhelper \
34 sal \
35 salhelper \
36 $(gb_UWINAPI) \
39 ifeq ($(OS),ANDROID)
40 $(eval $(call gb_Library_use_libraries,jvmfwk,\
41 lo-bootstrap \
43 endif
45 ifeq ($(OS),WNT)
46 $(eval $(call gb_Library_use_system_win32_libs,jvmfwk,\
47 advapi32 \
49 endif
51 $(eval $(call gb_Library_use_externals,jvmfwk,\
52 boost_headers \
53 libxml2 \
54 valgrind \
57 ifeq ($(OS),MACOSX)
58 $(eval $(call gb_Library_add_cxxflags,jvmfwk,\
59 $(gb_OBJCXXFLAGS) \
62 $(eval $(call gb_Library_add_objcxxobjects,jvmfwk,\
63 jvmfwk/plugins/sunmajor/pluginlib/util_cocoa \
66 $(eval $(call gb_Library_add_libs,jvmfwk,\
67 -framework Foundation \
69 endif
71 $(eval $(call gb_Library_add_exception_objects,jvmfwk,\
72 jvmfwk/plugins/sunmajor/pluginlib/gnujre \
73 jvmfwk/plugins/sunmajor/pluginlib/otherjre \
74 jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin \
75 jvmfwk/plugins/sunmajor/pluginlib/sunjre \
76 jvmfwk/plugins/sunmajor/pluginlib/sunversion \
77 jvmfwk/plugins/sunmajor/pluginlib/util \
78 jvmfwk/plugins/sunmajor/pluginlib/vendorbase \
79 jvmfwk/plugins/sunmajor/pluginlib/vendorlist \
80 jvmfwk/source/elements \
81 jvmfwk/source/framework \
82 jvmfwk/source/fwkbase \
83 jvmfwk/source/fwkutil \
84 jvmfwk/source/libxmlutil \
87 # vim:set noet sw=4 ts=4: