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