bump product version to 4.1.6.2
[LibreOffice.git] / RepositoryModule_host.mk
blobb9e64f2aea906cb280f6674100ccf66f0934df0a
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 $(eval $(call gb_Module_Module,libreoffice))
14 $(eval $(call gb_Module_add_moduledirs,libreoffice,\
15 accessibility \
16 $(call gb_Helper_optional,AFMS,afms) \
17 android \
18 animations \
19 $(call gb_Helper_optional,APACHE_COMMONS,apache-commons) \
20 apple_remote \
21 autodoc \
22 avmedia \
23 basctl \
24 basebmp \
25 basegfx \
26 basic \
27 bean \
28 $(call gb_Helper_optional,BOOST,boost) \
29 $(call gb_Helper_optional,BSH,beanshell) \
30 binaryurp \
31 bridges \
32 $(call gb_Helper_optional,CAIRO,cairo) \
33 canvas \
34 chart2 \
35 cli_ure \
36 $(call gb_Helper_optional,CLUCENE,clucene) \
37 $(call gb_Helper_optional,DESKTOP,codemaker) \
38 comphelper \
39 configmgr \
40 $(call gb_Helper_optional,DBCONNECTIVITY,connectivity) \
41 cosv \
42 cppcanvas \
43 cppu \
44 cppuhelper \
45 $(call gb_Helper_optional,CPPUNIT,cppunit) \
46 cpputools \
47 $(call gb_Helper_optional,CRASHREP,crashrep) \
48 $(call gb_Helper_optional,CT2N,ct2n) \
49 cui \
50 $(call gb_Helper_optional,CURL,curl) \
51 dbaccess \
52 desktop \
53 $(call gb_Helper_optional,DICTIONARIES,dictionaries) \
54 dtrans \
55 drawinglayer \
56 editeng \
57 embeddedobj \
58 embedserv \
59 $(call gb_Helper_optional,EPM,epm) \
60 eventattacher \
61 $(call gb_Helper_optional,EXPAT,expat) \
62 extensions \
63 external \
64 extras \
65 fileaccess \
66 filter \
67 $(call gb_Helper_optional,FONTCONFIG,fontconfig) \
68 $(call gb_Helper_optional,DBCONNECTIVITY,forms) \
69 formula \
70 fpicker \
71 framework \
72 $(call gb_Helper_optional,FREETYPE,freetype) \
73 $(call gb_Helper_optional,GRAPHITE,graphite) \
74 $(call gb_Helper_optional,HARFBUZZ,harfbuzz) \
75 $(call gb_Helper_optional,DESKTOP,helpcompiler) \
76 $(call gb_Helper_optional,HELP,helpcontent2) \
77 $(call gb_Helper_optional,HSQLDB,hsqldb) \
78 $(call gb_Helper_optional,HUNSPELL,hunspell) \
79 hwpfilter \
80 $(call gb_Helper_optional,HYPHEN,hyphen) \
81 i18nlangtag \
82 i18npool \
83 i18nutil \
84 $(call gb_Helper_optional,ICU,icu) \
85 idl \
86 $(call gb_Helper_optional,DESKTOP,idlc) \
87 instsetoo_native \
88 io \
89 javaunohelper \
90 $(call gb_Helper_optional,JFREEREPORT,jfreereport) \
91 $(call gb_Helper_optional,JPEG,jpeg) \
92 jurt \
93 jvmaccess \
94 jvmfwk \
95 $(call gb_Helper_optional,LANGUAGETOOL,languagetool) \
96 $(call gb_Helper_optional,LCMS2,lcms2) \
97 $(call gb_Helper_optional,CDR,libcdr) \
98 $(call gb_Helper_optional,CMIS,libcmis) \
99 $(call gb_Helper_optional,LIBEXTTEXTCAT,libexttextcat) \
100 $(call gb_Helper_optional,LIBLANGTAG,liblangtag) \
101 $(call gb_Helper_optional,LIBPNG,libpng) \
102 $(call gb_Helper_optional,MSPUB,libmspub) \
103 $(call gb_Helper_optional,MWAW,libmwaw) \
104 $(call gb_Helper_optional,ODFGEN,libodfgen) \
105 $(call gb_Helper_optional,ORCUS,liborcus) \
106 librelogo \
107 $(call gb_Helper_optional,VISIO,libvisio) \
108 $(call gb_Helper_optional,WPD,libwpd) \
109 $(call gb_Helper_optional,WPG,libwpg) \
110 $(call gb_Helper_optional,WPS,libwps) \
111 $(call gb_Helper_optional,LIBXML2,libxml2) \
112 libxmlsec \
113 $(call gb_Helper_optional,LIBXSLT,libxslt) \
114 lingucomponent \
115 linguistic \
116 lotuswordpro \
117 $(call gb_Helper_optional,LPSOLVE,lpsolve) \
118 $(call gb_Helper_optional,DESKTOP,l10ntools) \
119 $(call gb_Helper_optional,MARIADB,libmariadb) \
120 $(call gb_Helper_optional,MDDS,mdds) \
121 $(call gb_Helper_optional,MORE_FONTS,more_fonts) \
122 $(call gb_Helper_optional,MOZ,moz) \
123 $(call gb_Helper_optional,MARIADBC,mysqlc) \
124 $(call gb_Helper_optional,MYSQLCPPCONN,mysqlcppconn) \
125 $(call gb_Helper_optional,MYTHES,mythes) \
126 $(call gb_Helper_optional,NEON,neon) \
127 $(call gb_Helper_optional,NLPSOLVER,nlpsolver) \
128 np_sdk \
129 $(call gb_Helper_optional,NSS,nss) \
130 o3tl \
131 $(call gb_Helper_optional,ODK,odk) \
132 offapi \
133 officecfg \
134 oovbaapi \
135 oox \
136 $(call gb_Helper_optional,OPENLDAP,openldap) \
137 $(call gb_Helper_optional,OPENSSL,openssl) \
138 package \
139 padmin \
140 $(call gb_Helper_optional,POSTGRESQL,postgresql) \
141 postprocess \
142 psprint_config \
143 $(call gb_Helper_optional,PYTHON,python3) \
144 $(call gb_Helper_optional,PYUNO,pyuno) \
145 $(call gb_Helper_optional,QADEVOOO,qadevOOo) \
146 readlicense_oo \
147 $(call gb_Helper_optional,REDLAND,redland) \
148 registry \
149 remotebridges \
150 reportbuilder \
151 $(call gb_Helper_optional,DBCONNECTIVITY,reportdesign) \
152 $(call gb_Helper_optional,RHINO,rhino) \
153 ridljar \
154 rsc \
155 sal \
156 salhelper \
157 sax \
158 sc \
159 scaddins \
160 sccomp \
161 $(call gb_Helper_optional,DESKTOP,scp2) \
162 scripting \
163 sd \
164 sdext \
165 $(call gb_Helper_optional,DESKTOP,setup_native) \
166 sfx2 \
167 shell \
168 slideshow \
169 smoketest \
170 solenv \
171 soltools \
172 sot \
173 starmath \
174 stoc \
175 store \
176 svl \
177 svtools \
178 svgio \
179 svx \
180 sw \
181 swext \
182 sysui \
183 test \
184 testtools \
185 $(call gb_Helper_optional,TOMCAT,tomcat) \
186 toolkit \
187 tools \
188 touch \
189 tubes \
190 ucb \
191 ucbhelper \
192 $(call gb_Helper_optional,UCPP,ucpp) \
193 udkapi \
194 udm \
195 UnoControls \
196 unodevtools \
197 unoil \
198 unoidl \
199 unotest \
200 unotools \
201 unoxml \
202 ure \
203 uui \
204 vbahelper \
205 vcl \
206 $(call gb_Helper_optional,VIGRA,vigra) \
207 wizards \
208 writerfilter \
209 writerperfect \
210 xmerge \
211 $(call gb_Helper_optional,DESKTOP,xmlhelp) \
212 xmloff \
213 $(call gb_Helper_optional,XPDF,xpdf) \
214 xmlreader \
215 xmlscript \
216 xmlsecurity \
217 $(call gb_Helper_optional,XSLTML,xsltml) \
218 $(call gb_Helper_optional,ZLIB,zlib) \
221 ifneq ($(MERGELIBS),)
222 $(eval $(call gb_Module_add_targets,libreoffice,\
223 Library_merged \
224 $(if $(URELIBS),Library_urelibs) \
226 endif
228 # Especially when building everything with symbols, the linking of the largest
229 # libraries takes enormous amounts of RAM. To prevent annoying OOM situations
230 # etc., try to prevent linking these in parallel by adding artificial build
231 # order dependencies here.
232 define repositorymodule_serialize1
233 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,$(1))) \
234 :| $(foreach lib,$(2),$(call gb_Library_get_target,$(lib)))
235 endef
237 define repositorymodule_serialize
238 $(if $(filter-out 0 1,$(words $(1))),\
239 $(call repositorymodule_serialize1,$(firstword $(1)),$(wordlist 2,$(words $(1)),$(1))))
240 $(if $(strip $(1)),\
241 $(call repositorymodule_serialize,$(wordlist 2,$(words $(1)),$(1))))
242 endef
244 # DO NOT SORT ALPHABETICALLY: the libraries must be listed in dependency order,
245 # otherwise cyclic dependencies ruin everything.
246 # do not serialize on a partial build as that may fail due to missing deps.
247 # the default goal is all (see Module.mk)
248 ifeq (,$(filter-out all,$(MAKECMDGOALS)))
249 $(eval $(call repositorymodule_serialize,\
250 scfilt \
251 $(if $(filter SCRIPTING,$(BUILD_TYPE)),vbaobj) \
252 sc msword swui sw sd \
253 $(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)),dbu) \
254 writerfilter cui chartcontroller chartcore oox svx \
255 $(if $(MERGELIBS),merged,svxcore) \
256 xo sfx fwk svt vcl \
258 endif
260 # vim: set noet sw=4 ts=4: