Bump version to 4.1-6
[LibreOffice.git] / scp2 / InstallModule_ooo.mk
blobb8c6130ea196e816e69f2b10917b4a23991bb040
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
13 endif
14 endif
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,\
21 DISABLE_ATL \
22 DISABLE_NEON \
23 ENABLE_CAIRO_CANVAS \
24 ENABLE_DIRECTX \
25 ENABLE_EVOAB2 \
26 ENABLE_GSTREAMER \
27 ENABLE_GSTREAMER_0_10 \
28 ENABLE_GTK \
29 ENABLE_GTK3 \
30 ENABLE_KAB \
31 ENABLE_KDE \
32 ENABLE_KDE4 \
33 ENABLE_LIBLANGTAG \
34 ENABLE_LPSOLVE \
35 ENABLE_NPAPI_FROM_BROWSER \
36 ENABLE_NPAPI_INTO_BROWSER \
37 ENABLE_ONLINE_UPDATE \
38 ENABLE_OPENGL \
39 ENABLE_TDE \
40 ENABLE_TDEAB \
41 MERGELIBS \
42 SYSTEM_APACHE_COMMONS \
43 SYSTEM_BOOST \
44 SYSTEM_CAIRO \
45 SYSTEM_CLUCENE \
46 SYSTEM_CURL \
47 SYSTEM_EXPAT \
48 SYSTEM_GRAPHITE \
49 SYSTEM_HSQLDB \
50 SYSTEM_HUNSPELL \
51 SYSTEM_HYPH \
52 SYSTEM_ICU \
53 SYSTEM_JFREEREPORT \
54 SYSTEM_JPEG \
55 SYSTEM_LCMS2 \
56 SYSTEM_LIBEXTTEXTCAT \
57 SYSTEM_LIBJPEG \
58 SYSTEM_LIBLANGTAG \
59 SYSTEM_LIBXML \
60 SYSTEM_LIBXSLT \
61 SYSTEM_LPSOLVE \
62 SYSTEM_LUCENE \
63 SYSTEM_MYTHES \
64 SYSTEM_NEON \
65 SYSTEM_NSS \
66 SYSTEM_OPENSSL \
67 SYSTEM_PANGO \
68 SYSTEM_POPPLER \
69 SYSTEM_PORTAUDIO \
70 SYSTEM_REDLAND \
71 SYSTEM_SNDFILE \
72 SYSTEM_STDLIBS \
73 WITH_GALLERY_BUILD \
74 WITH_MOZAB4WIN \
75 WITH_MYSPELL_DICTS \
78 $(eval $(call gb_InstallModule_define_value_if_set,scp2/ooo,\
79 MINGW_GCCDLL \
80 MINGW_GXXDLL \
83 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
84 $(if $(CUSTOM_BRAND_DIR),-DCUSTOM_BRANDING) \
85 $(if $(WINDOWS_SDK_HOME),\
86 -DHAVE_WINDOWS_SDK \
87 ) \
88 $(if $(filter YES,$(SYSTEM_HSQLDB)),\
89 -DHSQLDB_JAR=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
90 ) \
91 $(if $(filter MSC,$(COM)),$(if $(MSVC_USE_DEBUG_RUNTIME),-DMSVC_PKG_DEBUG_RUNTIME)) \
94 ifeq ($(GUIBASE),unx)
95 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
96 -DGUIBASE_UNX \
98 endif
100 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
101 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
102 -DDBCONNECTIVITY \
104 endif
106 ifeq ($(DISABLE_PYTHON),TRUE)
107 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
108 -DDISABLE_PYUNO \
110 else ifeq ($(SYSTEM_PYTHON),YES)
111 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
112 -DSYSTEM_PYTHON \
114 endif
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) \
125 endif
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) \
134 endif
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) \
151 endif
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 \
196 endif
198 ifeq ($(ENABLE_REPORTBUILDER),TRUE)
199 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
200 scp2/source/ooo/module_reportbuilder \
202 endif
204 # vim: set shiftwidth=4 tabstop=4 noexpandtab: