build fix: no comphelper/profilezone.hxx in this branch
[LibreOffice.git] / scp2 / InstallModule_ooo.mk
blob35db721185acd6f52c4e2ef4c46d2f12d21e6917
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_SYSTRAY_GTK \
23 ENABLE_GTK3 \
24 ENABLE_MACOSX_SANDBOX \
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_MYSPELL_DICTS \
35 $(eval $(call gb_InstallModule_define_value_if_set,scp2/ooo,\
36 MINGW_GCCDLL \
37 MINGW_GXXDLL \
40 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
41 $(if $(CUSTOM_BRAND_DIR),-DCUSTOM_BRANDING) \
42 $(if $(WINDOWS_SDK_HOME),\
43 -DHAVE_WINDOWS_SDK \
44 ) \
45 $(if $(SYSTEM_HSQLDB),\
46 -DHSQLDB_JAR=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
47 ) \
48 $(if $(MACOSX_SDK_VERSION),\
49 -DMACOSX_SDK_VERSION=$(MACOSX_SDK_VERSION) \
50 ) \
51 $(if $(filter MSC,$(COM)),$(if $(MSVC_USE_DEBUG_RUNTIME),-DMSVC_PKG_DEBUG_RUNTIME)) \
54 ifeq ($(USING_X11),TRUE)
55 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
56 -DUSING_X11 \
58 endif
60 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
61 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
62 -DDBCONNECTIVITY \
64 endif
66 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
67 -DICU_MAJOR=$(ICU_MAJOR) \
70 $(eval $(call gb_InstallModule_add_templates,scp2/ooo,\
71 scp2/source/templates/module_helppack \
72 scp2/source/templates/module_helppack_root \
73 scp2/source/templates/module_langpack \
74 scp2/source/templates/module_langpack_root \
77 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
78 scp2/source/ooo/common_brand \
79 scp2/source/ooo/common_brand_readme \
80 scp2/source/ooo/directory_ooo \
81 scp2/source/ooo/directory_ooo_macosx \
82 scp2/source/ooo/file_extra_ooo \
83 scp2/source/ooo/file_font_ooo \
84 scp2/source/ooo/file_library_ooo \
85 scp2/source/ooo/file_ooo \
86 scp2/source/ooo/file_resource_ooo \
87 scp2/source/ooo/installation_ooo \
88 scp2/source/ooo/module_help_template \
89 scp2/source/ooo/module_hidden_ooo \
90 scp2/source/ooo/module_lang_template \
91 scp2/source/ooo/profileitem_ooo \
92 scp2/source/ooo/scpaction_ooo \
93 $(if $(filter WNTGCC,$(OS)$(COM)),\
94 scp2/source/ooo/mingw_dlls \
95 ) \
96 scp2/source/ooo/module_filter \
97 $(if $(filter-out MACOSX WNT,$(OS)), \
98 scp2/source/ooo/module_libreofficekit \
99 ) \
102 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
103 scp2/source/ooo/module_helppack \
104 scp2/source/ooo/module_langpack \
105 scp2/source/ooo/module_ooo \
106 scp2/source/ooo/module_systemint \
109 ifeq ($(ENABLE_PDFIMPORT),TRUE)
110 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
111 scp2/source/ooo/module_pdfimport \
113 endif
115 ifeq ($(ENABLE_REPORTBUILDER),TRUE)
116 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
117 scp2/source/ooo/module_reportbuilder \
119 endif
121 # vim: set shiftwidth=4 tabstop=4 noexpandtab: