LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / jvmfwk / Library_jvmfwk.mk
blob9928b0db7c1be679d0e481fe22276a4d56080fe6
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 \
38 ifeq ($(OS),ANDROID)
39 $(eval $(call gb_Library_use_libraries,jvmfwk,\
40 lo-bootstrap \
42 endif
44 ifeq ($(OS),WNT)
45 $(eval $(call gb_Library_use_system_win32_libs,jvmfwk,\
46 advapi32 \
48 endif
50 $(eval $(call gb_Library_use_externals,jvmfwk,\
51 boost_headers \
52 libxml2 \
53 valgrind \
56 ifeq ($(OS),MACOSX)
57 $(eval $(call gb_Library_add_cxxflags,jvmfwk,\
58 $(gb_OBJCXXFLAGS) \
61 $(eval $(call gb_Library_add_objcxxobjects,jvmfwk,\
62 jvmfwk/plugins/sunmajor/pluginlib/util_cocoa \
65 $(eval $(call gb_Library_add_libs,jvmfwk,\
66 -framework Foundation \
68 endif
70 $(eval $(call gb_Library_add_exception_objects,jvmfwk,\
71 jvmfwk/plugins/sunmajor/pluginlib/otherjre \
72 jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin \
73 jvmfwk/plugins/sunmajor/pluginlib/sunjre \
74 jvmfwk/plugins/sunmajor/pluginlib/sunversion \
75 jvmfwk/plugins/sunmajor/pluginlib/util \
76 jvmfwk/plugins/sunmajor/pluginlib/vendorbase \
77 jvmfwk/plugins/sunmajor/pluginlib/vendorlist \
78 jvmfwk/source/elements \
79 jvmfwk/source/framework \
80 jvmfwk/source/fwkbase \
81 jvmfwk/source/fwkutil \
82 jvmfwk/source/libxmlutil \
85 # vim:set noet sw=4 ts=4: