Branch libreoffice-5-0-4
[LibreOffice.git] / scp2 / InstallModule_ooo.mk
blobb74dad3d0b424ca47efb386d64d50ad0f4c30163
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 ooo \
15 ooobinarytable \
16 reportbuilder \
17 pdfimport \
20 $(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\
21 ENABLE_GTK \
22 ENABLE_KDE \
23 ENABLE_MACOSX_SANDBOX \
24 ENABLE_NPAPI_FROM_BROWSER \
25 ENABLE_ONLINE_UPDATE \
26 ENABLE_TDE \
27 SYSTEM_CURL \
28 SYSTEM_HSQLDB \
29 SYSTEM_LIBXSLT \
30 SYSTEM_REDLAND \
31 WITH_GALLERY_BUILD \
32 WITH_MOZAB4WIN \
33 WITH_MYSPELL_DICTS \
36 $(eval $(call gb_InstallModule_define_value_if_set,scp2/ooo,\
37 MINGW_GCCDLL \
38 MINGW_GXXDLL \
41 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
42 $(if $(CUSTOM_BRAND_DIR),-DCUSTOM_BRANDING) \
43 $(if $(WINDOWS_SDK_HOME),\
44 -DHAVE_WINDOWS_SDK \
45 ) \
46 $(if $(SYSTEM_HSQLDB),\
47 -DHSQLDB_JAR=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
48 ) \
49 $(if $(MACOSX_SDK_VERSION),\
50 -DMACOSX_SDK_VERSION=$(MACOSX_SDK_VERSION) \
51 ) \
52 $(if $(filter MSC,$(COM)),$(if $(MSVC_USE_DEBUG_RUNTIME),-DMSVC_PKG_DEBUG_RUNTIME)) \
55 ifeq ($(GUIBASE),unx)
56 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
57 -DGUIBASE_UNX \
59 endif
61 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
62 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
63 -DDBCONNECTIVITY \
65 endif
67 ifeq ($(DISABLE_PYTHON),TRUE)
68 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
69 -DDISABLE_PYUNO \
71 else ifneq ($(SYSTEM_PYTHON),)
72 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
73 -DSYSTEM_PYTHON \
75 endif
77 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
78 -DICU_MAJOR=$(ICU_MAJOR) \
81 $(eval $(call gb_InstallModule_add_templates,scp2/ooo,\
82 scp2/source/templates/module_helppack \
83 scp2/source/templates/module_helppack_root \
84 scp2/source/templates/module_langpack \
85 scp2/source/templates/module_langpack_root \
88 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
89 scp2/source/ooo/common_brand \
90 scp2/source/ooo/common_brand_readme \
91 scp2/source/ooo/directory_ooo \
92 scp2/source/ooo/directory_ooo_macosx \
93 scp2/source/ooo/file_extra_ooo \
94 scp2/source/ooo/file_font_ooo \
95 scp2/source/ooo/file_library_ooo \
96 scp2/source/ooo/file_ooo \
97 scp2/source/ooo/file_resource_ooo \
98 scp2/source/ooo/installation_ooo \
99 scp2/source/ooo/module_help_template \
100 scp2/source/ooo/module_hidden_ooo \
101 scp2/source/ooo/module_lang_template \
102 scp2/source/ooo/profileitem_ooo \
103 scp2/source/ooo/scpaction_ooo \
104 $(if $(filter WNTGCC,$(OS)$(COM)),\
105 scp2/source/ooo/mingw_dlls \
107 scp2/source/ooo/module_filter \
110 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
111 scp2/source/ooo/module_helppack \
112 scp2/source/ooo/module_langpack \
113 scp2/source/ooo/module_ooo \
114 scp2/source/ooo/module_systemint \
117 ifeq ($(ENABLE_PDFIMPORT),TRUE)
118 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
119 scp2/source/ooo/module_pdfimport \
121 endif
123 ifeq ($(ENABLE_REPORTBUILDER),TRUE)
124 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
125 scp2/source/ooo/module_reportbuilder \
127 endif
129 # vim: set shiftwidth=4 tabstop=4 noexpandtab: