Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / scp2 / InstallModule_ooo.mk
blobb903a03963c8ea253ffdc82346bf84db5045838f
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_use_packages,scp2/ooo,\
31 scp2_inc \
32 scp2_langmacros \
35 $(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\
36 DISABLE_ATL \
37 DISABLE_NEON \
38 ENABLE_DIRECTX \
39 ENABLE_EVOAB2 \
40 ENABLE_GTK \
41 ENABLE_GTK3 \
42 ENABLE_KAB \
43 ENABLE_KDE \
44 ENABLE_KDE4 \
45 ENABLE_LOMENUBAR \
46 ENABLE_NSPLUGIN \
47 ENABLE_ONLINE_UPDATE \
48 ENABLE_OPENGL \
49 ENABLE_XMLSEC \
50 MERGELIBS \
51 SYSTEM_BOOST \
52 SYSTEM_CAIRO \
53 SYSTEM_CLUCENE \
54 SYSTEM_CURL \
55 SYSTEM_DB \
56 SYSTEM_EXPAT \
57 SYSTEM_GDKPIXBUF \
58 SYSTEM_GETTEXT \
59 SYSTEM_GLIB \
60 SYSTEM_GRAPHITE \
61 SYSTEM_HSQLDB \
62 SYSTEM_HUNSPELL \
63 SYSTEM_HYPH \
64 SYSTEM_ICU \
65 SYSTEM_JPEG \
66 SYSTEM_LCMS2 \
67 SYSTEM_LIBCROCO \
68 SYSTEM_LIBEXTTEXTCAT \
69 SYSTEM_LIBGSF \
70 SYSTEM_LIBJPEG \
71 SYSTEM_LIBRSVG \
72 SYSTEM_LIBXML \
73 SYSTEM_LIBXSLT \
74 SYSTEM_LPSOLVE \
75 SYSTEM_LUCENE \
76 SYSTEM_MOZILLA \
77 SYSTEM_MYTHES \
78 SYSTEM_NEON \
79 SYSTEM_OPENSSL \
80 SYSTEM_PANGO \
81 SYSTEM_PORTAUDIO \
82 SYSTEM_REDLAND \
83 SYSTEM_SNDFILE \
84 SYSTEM_STDLIBS \
85 WITH_LDAP \
88 $(eval $(call gb_InstallModule_define_value_if_set,scp2/ooo,\
89 MINGW_GCCDLL \
90 MINGW_GXXDLL \
93 $(eval $(call gb_InstallModule_define_mingw_dll_if_set,scp2/ooo,\
94 MINGW_BOOST_DATE_TIME_DLL \
95 MINGW_CAIRO_DLL \
96 MINGW_CRYPTO_DLL \
97 MINGW_CURL_DLL \
98 MINGW_DB_DLL \
99 MINGW_EXPAT_DLL \
100 MINGW_FONTCONFIG_DLL \
101 MINGW_FREETYPE_DLL \
102 MINGW_GCRYPT_DLL \
103 MINGW_GNUTLS_DLL \
104 MINGW_GPG_ERROR_DLL \
105 MINGW_GRAPHITE2_DLL \
106 MINGW_HUNSPELL_DLL \
107 MINGW_HYPHEN_DLL \
108 MINGW_ICONV_DLL \
109 MINGW_ICUDATA_DLL \
110 MINGW_ICUI18N_DLL \
111 MINGW_ICUUC_DLL \
112 MINGW_IDN_DLL \
113 MINGW_INTL_DLL \
114 MINGW_JPEG_DLL \
115 MINGW_LCMS2_DLL \
116 MINGW_LIBXML_DLL \
117 MINGW_LIBXSLT_DLL \
118 MINGW_LPSOLVE_DLL \
119 MINGW_MINIZIP_DLL \
120 MINGW_MYTHES_DLL \
121 MINGW_NEON_DLL \
122 MINGW_NSPR4_DLL \
123 MINGW_NSS3_DLL \
124 MINGW_NSSUTIL3_DLL \
125 MINGW_PIXMAN_DLL \
126 MINGW_PLC4_DLL \
127 MINGW_PLDS4_DLL \
128 MINGW_PNG15_DLL \
129 MINGW_RAPTOR_DLL \
130 MINGW_RASQAL_DLL \
131 MINGW_REDLAND_DLL \
132 MINGW_SQLITE3_DLL \
133 MINGW_SSH2_DLL \
134 MINGW_SSL3_DLL \
135 MINGW_SSL_DLL \
136 MINGW_TASN1_DLL \
137 MINGW_ZLIB_DLL \
140 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
141 $(if $(filter MACOSX,$(OS)),\
142 -DENABLE_CAIROCANVAS \
144 $(if $(filter INTERNAL,$(ENABLE_LIBRSVG)),\
145 -DENABLE_LIBRSVG \
147 $(if $(filter gcj,$(JDK)),\
148 -DGCJ \
150 $(if $(filter TRUE,$(ENABLE_GSTREAMER)),\
151 -DGSTREAMER \
153 $(if $(WINDOWS_SDK_HOME),\
154 -DHAVE_WINDOWS_SDK \
156 $(if $(filter YES,$(SYSTEM_HSQLDB)),\
157 -DHSQLDB_JAR=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
159 $(if $(filter YES,$(SYSTEM_SAXON)),\
160 -DSAXON_JAR=\""$(call gb_Helper_make_path,$(SAXON_JAR))"\" \
162 $(if $(filter-out YES,$(WITH_MOZILLA)),\
163 -DWITHOUT_MOZILLA \
165 $(if $(filter-out YES,$(WITH_MYSPELL_DICTS)),\
166 -DWITHOUT_MYSPELL_DICTS \
170 ifeq ($(DISABLE_PYTHON),TRUE)
171 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
172 -DDISABLE_PYUNO \
174 else ifeq ($(SYSTEM_PYTHON),YES)
175 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
176 -DSYSTEM_PYTHON \
178 endif
180 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
181 -DICU_MAJOR=$(ICU_MAJOR) \
182 -DICU_MINOR=$(ICU_MINOR) \
183 -DICU_MICRO=$(ICU_MICRO) \
186 ifneq ($(SYSTEM_LIBXSLT),YES)
187 include $(OUTDIR)/inc/libxsltversion.mk
189 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
190 -DLIBXSLT_MAJOR=$(LIBXSLT_MAJOR) \
192 endif
194 ifneq ($(SYSTEM_REDLAND),YES)
195 include $(OUTDIR)/inc/redlandversion.mk
197 $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
198 -DRAPTOR_MAJOR=$(RAPTOR_MAJOR) \
199 -DRASQAL_MAJOR=$(RASQAL_MAJOR) \
200 -DREDLAND_MAJOR=$(REDLAND_MAJOR) \
202 endif
204 $(eval $(call gb_InstallModule_add_templates,scp2/ooo,\
205 scp2/source/templates/module_helppack \
206 scp2/source/templates/module_helppack_root \
207 scp2/source/templates/module_langpack \
208 scp2/source/templates/module_langpack_root \
211 $(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
212 scp2/source/ooo/common_brand \
213 scp2/source/ooo/common_brand_readme \
214 scp2/source/ooo/directory_ooo_macosx \
215 scp2/source/ooo/file_extra_ooo \
216 scp2/source/ooo/file_font_ooo \
217 scp2/source/ooo/file_library_ooo \
218 scp2/source/ooo/file_ooo \
219 scp2/source/ooo/file_resource_ooo \
220 scp2/source/ooo/installation_ooo \
221 scp2/source/ooo/module_help_template \
222 scp2/source/ooo/module_hidden_ooo \
223 scp2/source/ooo/module_lang_template \
224 scp2/source/ooo/ooo_brand \
225 scp2/source/ooo/profile_ooo \
226 scp2/source/ooo/profileitem_ooo \
227 scp2/source/ooo/scpaction_ooo \
228 scp2/source/ooo/shortcut_ooo \
229 scp2/source/ooo/ure_into_ooo \
230 $(if $(filter WNTGCC,$(GUI)$(COM)),\
231 scp2/source/ooo/mingw_dlls \
235 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
236 scp2/source/ooo/directory_ooo \
237 scp2/source/ooo/module_helppack \
238 scp2/source/ooo/module_langpack \
239 scp2/source/ooo/module_ooo \
240 scp2/source/ooo/module_systemint \
243 # vim: set shiftwidth=4 tabstop=4 noexpandtab: