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 ifeq ($(ENABLE_REPORTBUILDER
),TRUE
)
11 ifneq ($(SYSTEM_JFREEREPORT
),YES
)
12 include $(SRCDIR
)/external
/jfreereport
/version.mk
16 $(eval
$(call gb_InstallModule_InstallModule
,scp2
/ooo
))
18 $(eval
$(call gb_InstallModule_use_auto_install_libs
,scp2
/ooo
,\
23 $(eval
$(call gb_InstallModule_define_if_set
,scp2
/ooo
,\
36 ENABLE_MACOSX_MACLIKE_APP_STRUCTURE \
37 ENABLE_MACOSX_SANDBOX \
38 ENABLE_NPAPI_FROM_BROWSER \
39 ENABLE_NPAPI_INTO_BROWSER \
40 ENABLE_ONLINE_UPDATE \
44 SYSTEM_APACHE_COMMONS \
58 SYSTEM_LIBEXTTEXTCAT \
80 $(eval
$(call gb_InstallModule_define_value_if_set
,scp2
/ooo
,\
85 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
86 $(if
$(CUSTOM_BRAND_DIR
),-DCUSTOM_BRANDING
) \
87 $(if
$(WINDOWS_SDK_HOME
),\
90 $(if
$(filter YES
,$(SYSTEM_HSQLDB
)),\
91 -DHSQLDB_JAR
=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
93 $(if
$(filter MSC
,$(COM
)),$(if
$(MSVC_USE_DEBUG_RUNTIME
),-DMSVC_PKG_DEBUG_RUNTIME
)) \
97 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
102 ifneq (,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
103 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
108 ifeq ($(DISABLE_PYTHON
),TRUE
)
109 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
112 else ifeq ($(SYSTEM_PYTHON
),YES
)
113 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
118 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
119 -DICU_MAJOR
=$(ICU_MAJOR
) \
122 ifneq ($(SYSTEM_LIBXSLT
),YES
)
123 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
124 -DLIBXSLT_MAJOR
=$(LIBXSLT_MAJOR
) \
128 ifneq ($(SYSTEM_REDLAND
),YES
)
130 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
131 -DRAPTOR_MAJOR
=$(RAPTOR_MAJOR
) \
132 -DRASQAL_MAJOR
=$(RASQAL_MAJOR
) \
133 -DREDLAND_MAJOR
=$(REDLAND_MAJOR
) \
137 ifneq ($(SYSTEM_JFREEREPORT
),YES
)
139 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
140 -DFLUTE_VERSION
=$(FLUTE_VERSION
) \
141 -DLIBBASE_VERSION
=$(LIBBASE_VERSION
) \
142 -DLIBFONTS_VERSION
=$(LIBFONTS_VERSION
) \
143 -DLIBFORMULA_VERSION
=$(LIBFORMULA_VERSION
) \
144 -DLIBLOADER_VERSION
=$(LIBLOADER_VERSION
) \
145 -DLIBREPOSITORY_VERSION
=$(LIBREPOSITORY_VERSION
) \
146 -DLIBSERIALIZER_VERSION
=$(LIBSERIALIZER_VERSION
) \
147 -DLIBXML_VERSION
=$(LIBXML_VERSION
) \
152 $(eval
$(call gb_InstallModule_add_templates
,scp2
/ooo
,\
153 scp2
/source
/templates
/module_helppack \
154 scp2
/source
/templates
/module_helppack_root \
155 scp2
/source
/templates
/module_langpack \
156 scp2
/source
/templates
/module_langpack_root \
159 $(eval
$(call gb_InstallModule_add_scpfiles
,scp2
/ooo
,\
160 scp2
/source
/ooo
/common_brand \
161 scp2
/source
/ooo
/common_brand_readme \
162 scp2
/source
/ooo
/directory_ooo \
163 scp2
/source
/ooo
/directory_ooo_macosx \
164 scp2
/source
/ooo
/file_extra_ooo \
165 scp2
/source
/ooo
/file_font_ooo \
166 scp2
/source
/ooo
/file_library_ooo \
167 scp2
/source
/ooo
/file_ooo \
168 scp2
/source
/ooo
/file_resource_ooo \
169 scp2
/source
/ooo
/installation_ooo \
170 scp2
/source
/ooo
/module_help_template \
171 scp2
/source
/ooo
/module_hidden_ooo \
172 scp2
/source
/ooo
/module_lang_template \
173 scp2
/source
/ooo
/profileitem_ooo \
174 scp2
/source
/ooo
/scpaction_ooo \
175 $(if
$(filter WNTGCC
,$(OS
)$(COM
)),\
176 scp2
/source
/ooo
/mingw_dlls \
180 $(eval
$(call gb_InstallModule_add_localized_scpfiles
,scp2
/ooo
,\
181 scp2
/source
/ooo
/module_helppack \
182 scp2
/source
/ooo
/module_langpack \
183 scp2
/source
/ooo
/module_ooo \
184 scp2
/source
/ooo
/module_systemint \
187 ifeq ($(ENABLE_PDFIMPORT
),TRUE
)
188 $(eval
$(call gb_InstallModule_add_scpfiles
,scp2
/ooo
,\
189 scp2
/source
/ooo
/module_pdfimport \
193 ifeq ($(ENABLE_REPORTBUILDER
),TRUE
)
194 $(eval
$(call gb_InstallModule_add_localized_scpfiles
,scp2
/ooo
,\
195 scp2
/source
/ooo
/module_reportbuilder \
199 # vim: set shiftwidth=4 tabstop=4 noexpandtab: