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
)/jfreereport
/version.mk
16 $(eval
$(call gb_InstallModule_InstallModule
,scp2
/ooo
))
18 $(eval
$(call gb_InstallModule_use_auto_install_libs
,scp2
/ooo
,ooo
))
20 $(eval
$(call gb_InstallModule_define_if_set
,scp2
/ooo
,\
27 ENABLE_GSTREAMER_0_10 \
35 ENABLE_NPAPI_FROM_BROWSER \
36 ENABLE_NPAPI_INTO_BROWSER \
37 ENABLE_ONLINE_UPDATE \
42 SYSTEM_APACHE_COMMONS \
56 SYSTEM_LIBEXTTEXTCAT \
78 $(eval
$(call gb_InstallModule_define_value_if_set
,scp2
/ooo
,\
83 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
84 $(if
$(CUSTOM_BRAND_DIR
),-DCUSTOM_BRANDING
) \
85 $(if
$(WINDOWS_SDK_HOME
),\
88 $(if
$(filter YES
,$(SYSTEM_HSQLDB
)),\
89 -DHSQLDB_JAR
=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
91 $(if
$(filter MSC
,$(COM
)),$(if
$(MSVC_USE_DEBUG_RUNTIME
),-DMSVC_PKG_DEBUG_RUNTIME
)) \
95 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
100 ifneq (,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
101 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
106 ifeq ($(DISABLE_PYTHON
),TRUE
)
107 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
110 else ifeq ($(SYSTEM_PYTHON
),YES
)
111 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
116 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
117 -DICU_MAJOR
=$(ICU_MAJOR
) \
118 -DICU_MINOR
=$(ICU_MINOR
) \
121 ifneq ($(SYSTEM_LIBXSLT
),YES
)
122 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
123 -DLIBXSLT_MAJOR
=$(LIBXSLT_MAJOR
) \
127 ifneq ($(SYSTEM_REDLAND
),YES
)
129 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
130 -DRAPTOR_MAJOR
=$(RAPTOR_MAJOR
) \
131 -DRASQAL_MAJOR
=$(RASQAL_MAJOR
) \
132 -DREDLAND_MAJOR
=$(REDLAND_MAJOR
) \
136 ifneq ($(SYSTEM_JFREEREPORT
),YES
)
138 $(eval
$(call gb_InstallModule_add_defs
,scp2
/ooo
,\
139 -DFLOW_ENGINE_VERSION
=$(FLOW_ENGINE_VERSION
) \
140 -DFLUTE_VERSION
=$(FLUTE_VERSION
) \
141 -DLIBBASE_VERSION
=$(LIBBASE_VERSION
) \
142 -DLIBFONTS_VERSION
=$(LIBFONTS_VERSION
) \
143 -DLIBFORMULA_VERSION
=$(LIBFORMULA_VERSION
) \
144 -DLIBLAYOUT_VERSION
=$(LIBLAYOUT_VERSION
) \
145 -DLIBLOADER_VERSION
=$(LIBLOADER_VERSION
) \
146 -DLIBREPOSITORY_VERSION
=$(LIBREPOSITORY_VERSION
) \
147 -DLIBSERIALIZER_VERSION
=$(LIBSERIALIZER_VERSION
) \
148 -DLIBXML_VERSION
=$(LIBXML_VERSION
) \
153 $(eval
$(call gb_InstallModule_add_templates
,scp2
/ooo
,\
154 scp2
/source
/templates
/module_helppack \
155 scp2
/source
/templates
/module_helppack_root \
156 scp2
/source
/templates
/module_langpack \
157 scp2
/source
/templates
/module_langpack_root \
160 $(eval
$(call gb_InstallModule_add_scpfiles
,scp2
/ooo
,\
161 scp2
/source
/ooo
/common_brand \
162 scp2
/source
/ooo
/common_brand_readme \
163 scp2
/source
/ooo
/directory_ooo \
164 scp2
/source
/ooo
/directory_ooo_macosx \
165 scp2
/source
/ooo
/file_extra_ooo \
166 scp2
/source
/ooo
/file_font_ooo \
167 scp2
/source
/ooo
/file_library_ooo \
168 scp2
/source
/ooo
/file_ooo \
169 scp2
/source
/ooo
/file_resource_ooo \
170 scp2
/source
/ooo
/installation_ooo \
171 scp2
/source
/ooo
/module_help_template \
172 scp2
/source
/ooo
/module_hidden_ooo \
173 scp2
/source
/ooo
/module_lang_template \
174 scp2
/source
/ooo
/ooo_brand \
175 scp2
/source
/ooo
/profile_ooo \
176 scp2
/source
/ooo
/profileitem_ooo \
177 scp2
/source
/ooo
/scpaction_ooo \
178 scp2
/source
/ooo
/shortcut_ooo \
179 scp2
/source
/ooo
/ure_into_ooo \
180 $(if
$(filter WNTGCC
,$(OS
)$(COM
)),\
181 scp2
/source
/ooo
/mingw_dlls \
185 $(eval
$(call gb_InstallModule_add_localized_scpfiles
,scp2
/ooo
,\
186 scp2
/source
/ooo
/module_helppack \
187 scp2
/source
/ooo
/module_langpack \
188 scp2
/source
/ooo
/module_ooo \
189 scp2
/source
/ooo
/module_systemint \
192 ifeq ($(ENABLE_PDFIMPORT
),TRUE
)
193 $(eval
$(call gb_InstallModule_add_scpfiles
,scp2
/ooo
,\
194 scp2
/source
/ooo
/module_pdfimport \
198 ifeq ($(ENABLE_REPORTBUILDER
),TRUE
)
199 $(eval
$(call gb_InstallModule_add_localized_scpfiles
,scp2
/ooo
,\
200 scp2
/source
/ooo
/module_reportbuilder \
204 # vim: set shiftwidth=4 tabstop=4 noexpandtab: