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