Update git submodules
[LibreOffice.git] / scp2 / InstallModule_ooo.mk
blob9a6f3eb4cb4669ac89c5c943ca0845aad854814b
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_InstallModule_InstallModule,scp2/ooo))
12 $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/ooo,\
13 brand \
14 libreofficekit \
15 ooo \
16 ooo_fonts \
17 ooo_images \
18 ooobinarytable \
19 pdfimport \
20 reportbuilder \
23 $(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\
24 ENABLE_MACOSX_SANDBOX \
25 ENABLE_ONLINE_UPDATE \
26 MPL_SUBSET \
27 SYSTEM_CURL \
28 SYSTEM_HSQLDB \
29 SYSTEM_LIBXSLT \
30 SYSTEM_REDLAND \
31 WITH_GALLERY_BUILD \
32 WITH_MYSPELL_DICTS \
35 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
36 $(if $(SYSTEM_HSQLDB),\
37 -DHSQLDB_JAR=\""$(call gb_Helper_make_url,$(HSQLDB_JAR))"\" \
38 ) \
41 ifeq ($(USING_X11),TRUE)
42 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
43 -DUSING_X11 \
45 endif
47 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
48 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
49 -DDBCONNECTIVITY \
51 endif
53 $(eval $(call gb_InstallModule_add_templates,scp2/ooo,\
54 scp2/source/templates/module_helppack \
55 scp2/source/templates/module_helppack_root \
56 scp2/source/templates/module_langpack \
57 scp2/source/templates/module_langpack_root \
60 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
61 scp2/source/ooo/common_brand \
62 scp2/source/ooo/directory_ooo \
63 scp2/source/ooo/directory_ooo_macosx \
64 scp2/source/ooo/file_extra_ooo \
65 scp2/source/ooo/file_library_ooo \
66 scp2/source/ooo/file_ooo \
67 scp2/source/ooo/installation_ooo \
68 scp2/source/ooo/module_help_template \
69 scp2/source/ooo/module_hidden_ooo \
70 scp2/source/ooo/module_lang_template \
71 scp2/source/ooo/profileitem_ooo \
72 scp2/source/ooo/scpaction_ooo \
73 $(if $(filter-out MACOSX WNT,$(OS)), \
74 scp2/source/ooo/module_libreofficekit \
75 ) \
78 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
79 scp2/source/ooo/module_helppack \
80 scp2/source/ooo/module_langpack \
81 scp2/source/ooo/module_ooo \
82 scp2/source/ooo/module_systemint \
85 ifeq ($(ENABLE_PDFIMPORT),TRUE)
86 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
87 scp2/source/ooo/module_pdfimport \
89 endif
91 ifeq ($(ENABLE_REPORTBUILDER),TRUE)
92 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
93 scp2/source/ooo/module_reportbuilder \
95 endif
97 # vim: set shiftwidth=4 tabstop=4 noexpandtab: