Fix typo
[LibreOffice.git] / jvmfwk / Library_jvmfwk.mk
blob64a6b9d8e39608ef41f4c87bb857787b72a31da0
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 ifeq ($(CPUNAME),X86_64)
62 $(eval $(call gb_Library_add_objcxxobjects,jvmfwk,\
63 jvmfwk/plugins/sunmajor/pluginlib/util_cocoa \
65 endif
67 $(eval $(call gb_Library_add_libs,jvmfwk,\
68 -framework Foundation \
70 endif
72 $(eval $(call gb_Library_add_exception_objects,jvmfwk,\
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: