Kaydet (Commit) 47894cdf authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

beautify Module_tailbuild a bit

Change-Id: If54d57c962c6cb97c539e46f2ea747668706770e
üst 311babc0
...@@ -25,74 +25,58 @@ ...@@ -25,74 +25,58 @@
$(eval $(call gb_Module_Module,tail_end)) $(eval $(call gb_Module_Module,tail_end))
$(eval $(call gb_Module_add_moduledirs,tail_end,\ $(eval $(call gb_Module_add_moduledirs,tail_end,\
accessibility \ accessibility \
$(if $(filter AFMS,$(BUILD_TYPE)),\ $(call gb_Helper_optional,AFMS,afms) \
afms \ animations \
) \ apple_remote \
animations \
apple_remote \
autodoc \ autodoc \
avmedia \ avmedia \
basctl \ basctl \
basebmp \ basebmp \
basegfx \ basegfx \
basic \ basic \
bean \ bean \
binaryurp \ binaryurp \
$(if $(filter BLUEZ,$(BUILD_TYPE)),\ $(call gb_Helper_optional,BLUEZ,bluez_bluetooth) \
bluez_bluetooth \
) \
bridges \ bridges \
canvas \ canvas \
chart2 \ chart2 \
cli_ure \ cli_ure \
$(if $(filter CLUCENE,$(BUILD_TYPE)),\ $(call gb_Helper_optional,CLUCENE,clucene) \
clucene \ $(call gb_Helper_optional,DESKTOP,codemaker) \
) \ comphelper \
$(if $(filter DESKTOP,$(BUILD_TYPE)),\ configmgr \
codemaker \ connectivity \
) \
comphelper \
configmgr \
connectivity \
cosv \ cosv \
cppcanvas \ cppcanvas \
cppu \ cppu \
cppuhelper \ cppuhelper \
cpputools \ cpputools \
cui \ cui \
dbaccess \ dbaccess \
desktop \ desktop \
$(if $(filter DICTIONARIES,$(BUILD_TYPE)),\ $(call gb_Helper_optional,DICTIONARIES,dictionaries) \
dictionaries \ dtrans \
) \ drawinglayer \
dtrans \ editeng \
drawinglayer \ embeddedobj \
editeng \
embeddedobj \
embedserv \ embedserv \
eventattacher \ eventattacher \
extensions \ extensions \
extras \ extras \
fileaccess \ fileaccess \
filter \ filter \
forms \ forms \
formula \ formula \
fpicker \ fpicker \
framework \ framework \
$(if $(filter DESKTOP,$(BUILD_TYPE)), \ $(call gb_Helper_optional,DESKTOP,helpcompiler) \
helpcompiler \ $(call gb_Helper_optional,HSQLDB,hsqldb) \
) \ hwpfilter \
$(if $(filter HSQLDB,$(BUILD_TYPE)),\
hsqldb \
) \
hwpfilter \
i18npool \ i18npool \
i18nutil \ i18nutil \
idl \ idl \
$(if $(filter DESKTOP,$(BUILD_TYPE)),\ $(call gb_Helper_optional,DESKTOP,idlc) \
idlc \
) \
io \ io \
javaunohelper \ javaunohelper \
jurt \ jurt \
...@@ -106,118 +90,94 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\ ...@@ -106,118 +90,94 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
libwpd \ libwpd \
libwpg \ libwpg \
libwps \ libwps \
lingucomponent \ lingucomponent \
linguistic \ linguistic \
lotuswordpro \ lotuswordpro \
$(if $(filter DESKTOP,$(BUILD_TYPE)),\ $(call gb_Helper_optional,DESKTOP,l10ntools) \
l10ntools \ MathMLDTD \
) \
MathMLDTD \
mdds \ mdds \
Mesa \ Mesa \
$(if $(filter MORE_FONTS,$(BUILD_TYPE)),\ $(call gb_Helper_optional,MORE_FONTS,more_fonts) \
more_fonts \ $(call gb_Helper_optional,NEON,neon) \
) \ $(call gb_Helper_optional,NLPSOLVER,nlpsolver) \
$(if $(filter NEON,$(BUILD_TYPE)),\ np_sdk \
neon \
) \
$(if $(filter NLPSOLVER,$(BUILD_TYPE)),\
nlpsolver \
) \
np_sdk \
o3tl \ o3tl \
offapi \ offapi \
officecfg \ officecfg \
oovbaapi \ oovbaapi \
oox \ oox \
package \ package \
padmin \ padmin \
psprint_config \ psprint_config \
$(if $(filter PYUNO,$(BUILD_TYPE)),\ $(call gb_Helper_optional,PYUNO,pyuno) \
pyuno \ $(call gb_Helper_optional,QADEVOOO,qadevOOo) \
) \ $(call gb_Helper_optional,DESKTOP,rdbmaker) \
$(if $(filter QADEVOOO,$(BUILD_TYPE)),\ readlicense_oo \
qadevOOo \ regexp \
) \ registry \
$(if $(filter DESKTOP,$(BUILD_TYPE)),\ remotebridges \
rdbmaker \ reportbuilder \
) \ reportdesign \
readlicense_oo \
regexp \
registry \
remotebridges \
reportbuilder \
reportdesign \
ridljar \ ridljar \
rsc \ rsc \
salhelper \ salhelper \
sane \ sane \
sax \ sax \
sc \ sc \
scaddins \ scaddins \
sccomp \ sccomp \
$(if $(filter DESKTOP,$(BUILD_TYPE)),\ $(call gb_Helper_optional,DESKTOP,scp2) \
scp2 \ scripting \
) \ sd \
scripting \ sdext \
sd \ sfx2 \
sdext \ shell \
sfx2 \ slideshow \
shell \ smoketest \
slideshow \ sot \
smoketest \ starmath \
sot \
starmath \
stoc \ stoc \
store \ store \
svl \ svl \
svtools \ svtools \
svx \ svx \
sw \ sw \
swext \ swext \
test \ test \
testtools \ testtools \
toolkit \ toolkit \
tools \ tools \
touch \ touch \
$(if $(filter TRANSLATIONS,$(BUILD_TYPE)),\ $(call gb_Helper_optional,TRANSLATIONS,translations) \
translations \ tubes \
) \ twain \
tubes \ ucb \
twain \
ucb \
ucbhelper \ ucbhelper \
$(if $(filter UCPP,$(BUILD_TYPE)),\ $(call gb_Helper_optional,UCPP,ucpp) \
ucpp \
) \
udkapi \ udkapi \
udm \ udm \
unixODBC \ unixODBC \
UnoControls \ UnoControls \
unodevtools \ unodevtools \
unoil \ unoil \
unotest \ unotest \
unotools \ unotools \
unoxml \ unoxml \
ure \ ure \
uui \ uui \
vbahelper \ vbahelper \
vcl \ vcl \
vigra \ vigra \
wizards \ wizards \
writerfilter \ writerfilter \
writerperfect \ writerperfect \
$(if $(filter X11_EXTENSIONS,$(BUILD_TYPE)), \ $(call gb_Helper_optional,EXTENSIONS,x11_extensions) \
x11_extensions \ xmerge \
) \ $(call gb_Helper_optional,DESKTOP,xmlhelp) \
xmerge \ xmloff \
$(if $(filter DESKTOP,$(BUILD_TYPE)), \
xmlhelp \
) \
xmloff \
xmlreader \ xmlreader \
xmlscript \ xmlscript \
xmlsecurity \ xmlsecurity \
xsltml \ xsltml \
)) ))
...@@ -228,7 +188,7 @@ $(eval $(call gb_Module_add_targets,tail_end,\ ...@@ -228,7 +188,7 @@ $(eval $(call gb_Module_add_targets,tail_end,\
endif endif
# Especially when building everything with symbols, the linking of the largest # Especially when building everything with symbols, the linking of the largest
# libraries takes enormous amounts of RAM. To prevent annoying OOM situations # libraries takes enormous amounts of RAM. To prevent annoying OOM situations
# etc., try to prevent linking these in parallel by adding artificial build # etc., try to prevent linking these in parallel by adding artificial build
# order dependencies here. # order dependencies here.
define tailbuild_serialize1 define tailbuild_serialize1
......
...@@ -189,4 +189,8 @@ endef ...@@ -189,4 +189,8 @@ endef
# gb_Helper_OUTDIRLIBDIR is set by the platform to the path the dynamic linker need to use # gb_Helper_OUTDIRLIBDIR is set by the platform to the path the dynamic linker need to use
# for libraries from the OUTDIR # for libraries from the OUTDIR
define gb_Helper_optional
$(if $(filter $(1),$(BUILD_TYPE)),$(2))
endef
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment