Update git submodules
[LibreOffice.git] / scp2 / InstallModule_ooo.mk
blob8739b86cfdf9768bdf1fb57d7da51e6c3db888c3
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 SYSTEM_CURL \
27 SYSTEM_HSQLDB \
28 SYSTEM_LIBXSLT \
29 SYSTEM_REDLAND \
30 WITH_GALLERY_BUILD \
31 WITH_MYSPELL_DICTS \
34 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
35 $(if $(SYSTEM_HSQLDB),\
36 -DHSQLDB_JAR=\""$(call gb_Helper_make_url,$(HSQLDB_JAR))"\" \
37 ) \
40 ifeq ($(USING_X11),TRUE)
41 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
42 -DUSING_X11 \
44 endif
46 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
47 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
48 -DDBCONNECTIVITY \
50 endif
52 $(eval $(call gb_InstallModule_add_templates,scp2/ooo,\
53 scp2/source/templates/module_helppack \
54 scp2/source/templates/module_helppack_root \
55 scp2/source/templates/module_langpack \
56 scp2/source/templates/module_langpack_root \
59 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
60 scp2/source/ooo/common_brand \
61 scp2/source/ooo/directory_ooo \
62 scp2/source/ooo/directory_ooo_macosx \
63 scp2/source/ooo/file_extra_ooo \
64 scp2/source/ooo/file_library_ooo \
65 scp2/source/ooo/file_ooo \
66 scp2/source/ooo/installation_ooo \
67 scp2/source/ooo/module_help_template \
68 scp2/source/ooo/module_hidden_ooo \
69 scp2/source/ooo/module_lang_template \
70 scp2/source/ooo/profileitem_ooo \
71 scp2/source/ooo/scpaction_ooo \
72 $(if $(filter-out MACOSX WNT,$(OS)), \
73 scp2/source/ooo/module_libreofficekit \
74 ) \
77 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
78 scp2/source/ooo/module_helppack \
79 scp2/source/ooo/module_langpack \
80 scp2/source/ooo/module_ooo \
81 scp2/source/ooo/module_systemint \
84 ifeq ($(ENABLE_PDFIMPORT),TRUE)
85 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
86 scp2/source/ooo/module_pdfimport \
88 endif
90 ifeq ($(ENABLE_REPORTBUILDER),TRUE)
91 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
92 scp2/source/ooo/module_reportbuilder \
94 endif
96 # vim: set shiftwidth=4 tabstop=4 noexpandtab: