Bump for 4.0-15
[LibreOffice.git] / scp2 / InstallModule_ooo.mk
blobef729ca0fd49f5dbc666d5baf05a16808a0e0246
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # Major Contributor(s):
15 # Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
16 # (initial developer)
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval $(call gb_InstallModule_InstallModule,scp2/ooo))
30 $(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\
31 DISABLE_ATL \
32 DISABLE_NEON \
33 ENABLE_CAIRO_CANVAS \
34 ENABLE_DIRECTX \
35 ENABLE_EVOAB2 \
36 ENABLE_GTK \
37 ENABLE_GTK3 \
38 ENABLE_KAB \
39 ENABLE_KDE \
40 ENABLE_KDE4 \
41 ENABLE_MONO \
42 ENABLE_LIBLANGTAG \
43 ENABLE_NPAPI_FROM_BROWSER \
44 ENABLE_NPAPI_INTO_BROWSER \
45 ENABLE_ONLINE_UPDATE \
46 ENABLE_OPENGL \
47 ENABLE_TDE \
48 ENABLE_TDEAB \
49 ENABLE_TELEPATHY \
50 MERGELIBS \
51 SYSTEM_BOOST \
52 SYSTEM_CAIRO \
53 SYSTEM_CLUCENE \
54 SYSTEM_CURL \
55 SYSTEM_EXPAT \
56 SYSTEM_GRAPHITE \
57 SYSTEM_HSQLDB \
58 SYSTEM_HUNSPELL \
59 SYSTEM_HYPH \
60 SYSTEM_ICU \
61 SYSTEM_JPEG \
62 SYSTEM_LCMS2 \
63 SYSTEM_LIBEXTTEXTCAT \
64 SYSTEM_LIBJPEG \
65 SYSTEM_LIBLANGTAG \
66 SYSTEM_LIBXML \
67 SYSTEM_LIBXSLT \
68 SYSTEM_LPSOLVE \
69 SYSTEM_LUCENE \
70 SYSTEM_MYTHES \
71 SYSTEM_NEON \
72 SYSTEM_NSS \
73 SYSTEM_OPENSSL \
74 SYSTEM_PANGO \
75 SYSTEM_POPPLER \
76 SYSTEM_PORTAUDIO \
77 SYSTEM_REDLAND \
78 SYSTEM_SNDFILE \
79 SYSTEM_STDLIBS \
82 $(eval $(call gb_InstallModule_define_value_if_set,scp2/ooo,\
83 MINGW_GCCDLL \
84 MINGW_GXXDLL \
87 $(eval $(call gb_InstallModule_define_mingw_dll_if_set,scp2/ooo,\
88 MINGW_BOOST_DATE_TIME_DLL \
89 MINGW_CAIRO_DLL \
90 MINGW_CRYPTO_DLL \
91 MINGW_CURL_DLL \
92 MINGW_EXPAT_DLL \
93 MINGW_FONTCONFIG_DLL \
94 MINGW_FREETYPE_DLL \
95 MINGW_GCRYPT_DLL \
96 MINGW_GNUTLS_DLL \
97 MINGW_GPG_ERROR_DLL \
98 MINGW_GRAPHITE2_DLL \
99 MINGW_HUNSPELL_DLL \
100 MINGW_HYPHEN_DLL \
101 MINGW_ICONV_DLL \
102 MINGW_ICUDATA_DLL \
103 MINGW_ICUI18N_DLL \
104 MINGW_ICUUC_DLL \
105 MINGW_IDN_DLL \
106 MINGW_INTL_DLL \
107 MINGW_JPEG_DLL \
108 MINGW_LCMS2_DLL \
109 MINGW_LIBEXSLT_DLL \
110 MINGW_LIBLANGTAG_DLL \
111 MINGW_LIBXML_DLL \
112 MINGW_LIBXSLT_DLL \
113 MINGW_LPSOLVE_DLL \
114 MINGW_MYTHES_DLL \
115 MINGW_NEON_DLL \
116 MINGW_NSPR4_DLL \
117 MINGW_NSS3_DLL \
118 MINGW_NSSUTIL3_DLL \
119 MINGW_PIXMAN_DLL \
120 MINGW_PLC4_DLL \
121 MINGW_PLDS4_DLL \
122 MINGW_PNG15_DLL \
123 MINGW_POPPLER_DLL \
124 MINGW_RAPTOR_DLL \
125 MINGW_RASQAL_DLL \
126 MINGW_REDLAND_DLL \
127 MINGW_SMIME3_DLL \
128 MINGW_SQLITE3_DLL \
129 MINGW_SSH2_DLL \
130 MINGW_SSL3_DLL \
131 MINGW_SSL_DLL \
132 MINGW_TASN1_DLL \
133 MINGW_ZLIB_DLL \
136 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
137 $(if $(filter gcj,$(JDK)),\
138 -DGCJ \
140 $(if $(filter TRUE,$(ENABLE_GSTREAMER)),\
141 -DGSTREAMER \
143 $(if $(filter TRUE,$(ENABLE_GSTREAMER_0_10)),\
144 -DGSTREAMER_0_10 \
146 $(if $(WINDOWS_SDK_HOME),\
147 -DHAVE_WINDOWS_SDK \
149 $(if $(filter YES,$(SYSTEM_HSQLDB)),\
150 -DHSQLDB_JAR=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
152 $(if $(filter YES,$(WITH_MOZAB4WIN)),\
153 -DWITH_MOZAB4WIN \
155 $(if $(filter-out YES,$(WITH_MYSPELL_DICTS)),\
156 -DWITHOUT_MYSPELL_DICTS \
160 ifeq ($(DISABLE_PYTHON),TRUE)
161 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
162 -DDISABLE_PYUNO \
164 else ifeq ($(SYSTEM_PYTHON),YES)
165 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
166 -DSYSTEM_PYTHON \
168 endif
170 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
171 -DICU_MAJOR=$(ICU_MAJOR) \
172 -DICU_MINOR=$(ICU_MINOR) \
173 -DICU_MICRO=$(ICU_MICRO) \
176 ifneq ($(SYSTEM_LIBXSLT),YES)
177 include $(OUTDIR)/inc/libxsltversion.mk
179 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
180 -DLIBXSLT_MAJOR=$(LIBXSLT_MAJOR) \
182 endif
184 ifneq ($(SYSTEM_REDLAND),YES)
185 include $(OUTDIR)/inc/redlandversion.mk
187 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
188 -DRAPTOR_MAJOR=$(RAPTOR_MAJOR) \
189 -DRASQAL_MAJOR=$(RASQAL_MAJOR) \
190 -DREDLAND_MAJOR=$(REDLAND_MAJOR) \
192 endif
194 $(eval $(call gb_InstallModule_add_templates,scp2/ooo,\
195 scp2/source/templates/module_helppack \
196 scp2/source/templates/module_helppack_root \
197 scp2/source/templates/module_langpack \
198 scp2/source/templates/module_langpack_root \
201 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
202 scp2/source/ooo/common_brand \
203 scp2/source/ooo/common_brand_readme \
204 scp2/source/ooo/directory_ooo \
205 scp2/source/ooo/directory_ooo_macosx \
206 scp2/source/ooo/file_extra_ooo \
207 scp2/source/ooo/file_font_ooo \
208 scp2/source/ooo/file_library_ooo \
209 scp2/source/ooo/file_ooo \
210 scp2/source/ooo/file_resource_ooo \
211 scp2/source/ooo/installation_ooo \
212 scp2/source/ooo/module_help_template \
213 scp2/source/ooo/module_hidden_ooo \
214 scp2/source/ooo/module_lang_template \
215 scp2/source/ooo/ooo_brand \
216 scp2/source/ooo/profile_ooo \
217 scp2/source/ooo/profileitem_ooo \
218 scp2/source/ooo/scpaction_ooo \
219 scp2/source/ooo/shortcut_ooo \
220 scp2/source/ooo/ure_into_ooo \
221 $(if $(filter WNTGCC,$(GUI)$(COM)),\
222 scp2/source/ooo/mingw_dlls \
226 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
227 scp2/source/ooo/module_helppack \
228 scp2/source/ooo/module_langpack \
229 scp2/source/ooo/module_ooo \
230 scp2/source/ooo/module_systemint \
233 ifeq ($(ENABLE_PDFIMPORT),TRUE)
234 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
235 scp2/source/ooo/module_pdfimport \
237 endif
239 # vim: set shiftwidth=4 tabstop=4 noexpandtab: