tdf#125800: accessing cond format props in UNO throws error
[LibreOffice.git] / RepositoryModule_host.mk
blobe3ea0d994b3bc293ffb245f3022c3282a26a602d
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 # These have to be included before the others for more_fonts dependencies
15 $(eval $(call gb_Module_add_moduledirs,libreoffice,\
16 $(call gb_Helper_optional,MORE_FONTS,external/more_fonts) \
17 extras \
21 # This makefile needs to be read first because some variables like T_LIBS
22 # for libmerged are cleared there and then later we append stuff to it
23 # through e.g. gb_Library_use_external for various libraries in libmerged.
24 ifneq ($(MERGELIBS),)
25 $(eval $(call gb_Module_add_targets,libreoffice,\
26 Library_merged \
28 endif
30 $(eval $(call gb_Module_add_moduledirs,libreoffice,\
31 accessibility \
32 android \
33 animations \
34 apple_remote \
35 $(call gb_Helper_optional,AVMEDIA,avmedia) \
36 basctl \
37 basegfx \
38 basic \
39 bean \
40 binaryurp \
41 bridges \
42 canvas \
43 chart2 \
44 cli_ure \
45 $(call gb_Helper_optional,DESKTOP,codemaker) \
46 comphelper \
47 configmgr \
48 connectivity \
49 cppcanvas \
50 cppu \
51 cppuhelper \
52 cpputools \
53 cui \
54 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
55 desktop \
56 $(call gb_Helper_optional,DICTIONARIES,dictionaries) \
57 dtrans \
58 drawinglayer \
59 editeng \
60 embeddedobj \
61 embedserv \
62 eventattacher \
63 extensions \
64 external \
65 filter \
66 $(call gb_Helper_optional,DBCONNECTIVITY,forms) \
67 formula \
68 $(call gb_Helper_optional,DESKTOP,fpicker) \
69 framework \
70 $(call gb_Helper_optional,DESKTOP,helpcompiler) \
71 $(call gb_Helper_optional,HELP,helpcontent2) \
72 hwpfilter \
73 i18nlangtag \
74 i18npool \
75 i18nutil \
76 idl \
77 $(call gb_Helper_optional,DESKTOP,idlc) \
78 instsetoo_native \
79 io \
80 javaunohelper \
81 jurt \
82 jvmaccess \
83 jvmfwk \
84 librelogo \
85 libreofficekit \
86 lingucomponent \
87 linguistic \
88 lotuswordpro \
89 $(call gb_Helper_optional,DESKTOP,l10ntools) \
90 $(call gb_Helper_optional,NLPSOLVER,nlpsolver) \
91 o3tl \
92 $(call gb_Helper_optional,ODK,odk) \
93 offapi \
94 officecfg \
95 onlineupdate \
96 oovbaapi \
97 oox \
98 $(call gb_Helper_optional,OPENCL,opencl) \
99 package \
100 postprocess \
101 $(call gb_Helper_optional,PYUNO,pyuno) \
102 $(call gb_Helper_optional,QADEVOOO,qadevOOo) \
103 readlicense_oo \
104 registry \
105 remotebridges \
106 reportbuilder \
107 $(call gb_Helper_optional,DBCONNECTIVITY,reportdesign) \
108 ridljar \
109 sal \
110 salhelper \
111 sax \
112 sc \
113 scaddins \
114 sccomp \
115 $(call gb_Helper_optional,DESKTOP,scp2) \
116 scripting \
117 sd \
118 sdext \
119 $(call gb_Helper_optional,DESKTOP,setup_native) \
120 sfx2 \
121 shell \
122 slideshow \
123 smoketest \
124 solenv \
125 soltools \
126 sot \
127 starmath \
128 stoc \
129 store \
130 svl \
131 svtools \
132 svgio \
133 emfio \
134 svx \
135 sw \
136 swext \
137 sysui \
138 test \
139 testtools \
140 toolkit \
141 tools \
142 ucb \
143 ucbhelper \
144 udkapi \
145 $(call gb_Helper_optional,PYUNO,uitest) \
146 UnoControls \
147 unodevtools \
148 unoil \
149 unoidl \
150 unotest \
151 unotools \
152 unoxml \
153 ure \
154 uui \
155 vbahelper \
156 vcl \
157 winaccessibility \
158 wizards \
159 writerfilter \
160 writerperfect \
161 xmerge \
162 $(call gb_Helper_optional,DESKTOP,xmlhelp) \
163 xmloff \
164 xmlreader \
165 xmlscript \
166 xmlsecurity \
169 # Especially when building everything with symbols, the linking of the largest
170 # libraries takes enormous amounts of RAM. To prevent annoying OOM situations
171 # etc., try to prevent linking these in parallel by adding artificial build
172 # order dependencies here.
173 define repositorymodule_serialize1
174 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktarget,$(1))) \
175 :| $(foreach lib,$(2),$(call gb_Library_get_target,$(lib)))
176 endef
178 define repositorymodule_serialize
179 $(if $(filter-out 0 1,$(words $(1))),\
180 $(call repositorymodule_serialize1,$(firstword $(1)),$(wordlist 2,$(words $(1)),$(1))))
181 $(if $(strip $(1)),\
182 $(call repositorymodule_serialize,$(wordlist 2,$(words $(1)),$(1))))
183 endef
185 # DO NOT SORT ALPHABETICALLY: the libraries must be listed in dependency order,
186 # otherwise cyclic dependencies ruin everything.
187 # do not serialize on a partial build as that may fail due to missing deps.
188 # the default goal is all (see Module.mk)
189 ifeq (,$(filter-out all build check unitcheck slowcheck screenshot subsequentcheck uicheck,$(MAKECMDGOALS)))
190 $(eval $(call repositorymodule_serialize,\
191 scfilt \
192 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
193 sc msword \
194 $(call gb_Helper_optional,DESKTOP,swui) \
195 sw sd \
196 $(call gb_Helper_optional,DBCONNECTIVITY,dbu) \
197 writerfilter cui chartcontroller chartcore oox \
198 $(if $(MERGELIBS), merged, \
199 svx svxcore xo sfx fwk svt vcl) \
201 endif
203 # vim: set noet sw=4 ts=4: