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
,\
20 $(eval
$(call gb_InstallModule_define_if_set
,scp2
/ooo
,\
24 ENABLE_MACOSX_SANDBOX \
25 ENABLE_ONLINE_UPDATE \
35 $(eval
$(call gb_InstallModule_define_value_if_set
,scp2
/ooo
,\
40 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
41 $(if
$(CUSTOM_BRAND_DIR
),-DCUSTOM_BRANDING
) \
42 $(if
$(WINDOWS_SDK_HOME
),\
45 $(if
$(SYSTEM_HSQLDB
),\
46 -DHSQLDB_JAR
=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
48 $(if
$(MACOSX_SDK_VERSION
),\
49 -DMACOSX_SDK_VERSION
=$(MACOSX_SDK_VERSION
) \
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
,\
60 ifneq (,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
61 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
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 \
96 scp2
/source
/ooo
/module_filter \
97 $(if
$(filter-out MACOSX WNT
,$(OS
)), \
98 scp2
/source
/ooo
/module_libreofficekit \
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 \
115 ifeq ($(ENABLE_REPORTBUILDER
),TRUE
)
116 $(eval
$(call gb_InstallModule_add_localized_scpfiles
,scp2
/ooo
,\
117 scp2
/source
/ooo
/module_reportbuilder \
121 # vim: set shiftwidth=4 tabstop=4 noexpandtab: