2011-08-09 12:12:48 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-04-23 21:14:25 -05:00
|
|
|
#
|
|
|
|
# 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. 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.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Norbert Thiebaud <nthiebaud@gmail.com> (C) 2011, All Rights Reserved.
|
|
|
|
#
|
|
|
|
# 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_Module_Module,tail_end))
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_moduledirs,tail_end,\
|
2012-09-29 02:21:20 -05:00
|
|
|
accessibility \
|
|
|
|
$(call gb_Helper_optional,AFMS,afms) \
|
|
|
|
animations \
|
2012-09-29 02:34:58 -05:00
|
|
|
$(call gb_Helper_optional,APACHE_COMMONS,apache-commons) \
|
2012-09-29 02:21:20 -05:00
|
|
|
apple_remote \
|
2012-08-02 10:57:23 -05:00
|
|
|
autodoc \
|
2012-09-29 02:21:20 -05:00
|
|
|
avmedia \
|
|
|
|
basctl \
|
|
|
|
basebmp \
|
2012-05-24 05:00:51 -05:00
|
|
|
basegfx \
|
2012-09-29 02:21:20 -05:00
|
|
|
basic \
|
|
|
|
bean \
|
2012-05-24 05:11:58 -05:00
|
|
|
binaryurp \
|
2012-09-29 02:21:20 -05:00
|
|
|
$(call gb_Helper_optional,BLUEZ,bluez_bluetooth) \
|
2012-07-29 04:59:35 -05:00
|
|
|
bridges \
|
2012-09-29 02:21:20 -05:00
|
|
|
canvas \
|
|
|
|
chart2 \
|
2012-07-29 04:59:35 -05:00
|
|
|
cli_ure \
|
2012-09-29 02:21:20 -05:00
|
|
|
$(call gb_Helper_optional,CLUCENE,clucene) \
|
|
|
|
$(call gb_Helper_optional,DESKTOP,codemaker) \
|
|
|
|
comphelper \
|
|
|
|
configmgr \
|
|
|
|
connectivity \
|
2012-08-02 10:57:23 -05:00
|
|
|
cosv \
|
2012-09-29 02:21:20 -05:00
|
|
|
cppcanvas \
|
2012-07-29 04:59:35 -05:00
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2012-05-24 05:13:37 -05:00
|
|
|
cpputools \
|
2012-09-29 02:21:20 -05:00
|
|
|
cui \
|
|
|
|
dbaccess \
|
|
|
|
desktop \
|
|
|
|
$(call gb_Helper_optional,DICTIONARIES,dictionaries) \
|
|
|
|
dtrans \
|
|
|
|
drawinglayer \
|
|
|
|
editeng \
|
|
|
|
embeddedobj \
|
2012-05-24 05:21:14 -05:00
|
|
|
embedserv \
|
2012-09-29 02:21:20 -05:00
|
|
|
eventattacher \
|
|
|
|
extensions \
|
2012-08-22 06:16:39 -05:00
|
|
|
extras \
|
2012-09-29 02:21:20 -05:00
|
|
|
fileaccess \
|
|
|
|
filter \
|
|
|
|
forms \
|
|
|
|
formula \
|
|
|
|
fpicker \
|
|
|
|
framework \
|
|
|
|
$(call gb_Helper_optional,DESKTOP,helpcompiler) \
|
|
|
|
$(call gb_Helper_optional,HSQLDB,hsqldb) \
|
|
|
|
hwpfilter \
|
2012-05-24 04:59:16 -05:00
|
|
|
i18npool \
|
2012-05-24 05:08:45 -05:00
|
|
|
i18nutil \
|
2012-09-29 02:21:20 -05:00
|
|
|
idl \
|
|
|
|
$(call gb_Helper_optional,DESKTOP,idlc) \
|
2012-05-24 05:12:43 -05:00
|
|
|
io \
|
2012-05-24 05:15:38 -05:00
|
|
|
javaunohelper \
|
2012-07-29 04:59:35 -05:00
|
|
|
jurt \
|
|
|
|
jvmaccess \
|
|
|
|
jvmfwk \
|
2012-09-04 06:21:43 -05:00
|
|
|
libcdr \
|
2012-09-06 11:19:34 -05:00
|
|
|
libcmis \
|
2012-09-04 06:11:45 -05:00
|
|
|
libmspub \
|
2012-09-09 08:29:43 -05:00
|
|
|
liborcus \
|
2012-09-03 06:57:46 -05:00
|
|
|
libvisio \
|
2012-09-04 07:08:14 -05:00
|
|
|
libwpd \
|
2012-09-04 07:00:07 -05:00
|
|
|
libwpg \
|
2012-09-04 05:55:40 -05:00
|
|
|
libwps \
|
2012-09-29 02:21:20 -05:00
|
|
|
lingucomponent \
|
|
|
|
linguistic \
|
|
|
|
lotuswordpro \
|
|
|
|
$(call gb_Helper_optional,DESKTOP,l10ntools) \
|
|
|
|
MathMLDTD \
|
2012-09-11 07:34:48 -05:00
|
|
|
mdds \
|
2012-09-29 02:21:20 -05:00
|
|
|
Mesa \
|
|
|
|
$(call gb_Helper_optional,MORE_FONTS,more_fonts) \
|
|
|
|
$(call gb_Helper_optional,NEON,neon) \
|
|
|
|
$(call gb_Helper_optional,NLPSOLVER,nlpsolver) \
|
|
|
|
np_sdk \
|
2012-05-24 05:00:51 -05:00
|
|
|
o3tl \
|
2012-07-29 04:59:35 -05:00
|
|
|
offapi \
|
|
|
|
officecfg \
|
2012-09-29 02:21:20 -05:00
|
|
|
oovbaapi \
|
|
|
|
oox \
|
|
|
|
package \
|
|
|
|
padmin \
|
|
|
|
psprint_config \
|
|
|
|
$(call gb_Helper_optional,PYUNO,pyuno) \
|
|
|
|
$(call gb_Helper_optional,QADEVOOO,qadevOOo) \
|
|
|
|
$(call gb_Helper_optional,DESKTOP,rdbmaker) \
|
|
|
|
readlicense_oo \
|
|
|
|
regexp \
|
|
|
|
registry \
|
|
|
|
remotebridges \
|
|
|
|
reportbuilder \
|
|
|
|
reportdesign \
|
2012-07-29 04:59:35 -05:00
|
|
|
ridljar \
|
2012-09-29 02:21:20 -05:00
|
|
|
rsc \
|
2012-07-29 04:59:35 -05:00
|
|
|
salhelper \
|
2012-09-29 02:21:20 -05:00
|
|
|
sane \
|
2012-05-24 05:05:01 -05:00
|
|
|
sax \
|
2012-09-29 02:21:20 -05:00
|
|
|
sc \
|
|
|
|
scaddins \
|
|
|
|
sccomp \
|
|
|
|
$(call gb_Helper_optional,DESKTOP,scp2) \
|
|
|
|
scripting \
|
|
|
|
sd \
|
|
|
|
sdext \
|
|
|
|
sfx2 \
|
|
|
|
shell \
|
|
|
|
slideshow \
|
|
|
|
smoketest \
|
|
|
|
sot \
|
|
|
|
starmath \
|
2012-07-29 04:59:35 -05:00
|
|
|
stoc \
|
|
|
|
store \
|
2012-09-29 02:21:20 -05:00
|
|
|
svl \
|
|
|
|
svtools \
|
|
|
|
svx \
|
|
|
|
sw \
|
|
|
|
swext \
|
|
|
|
test \
|
|
|
|
testtools \
|
2012-09-29 02:42:25 -05:00
|
|
|
$(call gb_Helper_optional,TOMCAT,tomcat) \
|
2012-09-29 02:21:20 -05:00
|
|
|
toolkit \
|
2012-05-24 04:56:50 -05:00
|
|
|
tools \
|
2012-06-05 08:35:49 -05:00
|
|
|
touch \
|
2012-09-29 02:21:20 -05:00
|
|
|
$(call gb_Helper_optional,TRANSLATIONS,translations) \
|
|
|
|
tubes \
|
|
|
|
twain \
|
|
|
|
ucb \
|
2012-07-29 04:59:35 -05:00
|
|
|
ucbhelper \
|
2012-09-29 02:21:20 -05:00
|
|
|
$(call gb_Helper_optional,UCPP,ucpp) \
|
2012-07-29 04:59:35 -05:00
|
|
|
udkapi \
|
2012-08-02 10:57:23 -05:00
|
|
|
udm \
|
2012-09-29 02:21:20 -05:00
|
|
|
unixODBC \
|
|
|
|
UnoControls \
|
|
|
|
unodevtools \
|
2012-05-24 05:17:24 -05:00
|
|
|
unoil \
|
2012-05-24 05:02:36 -05:00
|
|
|
unotest \
|
2012-09-29 02:21:20 -05:00
|
|
|
unotools \
|
|
|
|
unoxml \
|
2012-05-24 05:10:14 -05:00
|
|
|
ure \
|
2012-09-29 02:21:20 -05:00
|
|
|
uui \
|
|
|
|
vbahelper \
|
|
|
|
vcl \
|
2012-08-24 18:29:00 -05:00
|
|
|
vigra \
|
2012-09-29 02:21:20 -05:00
|
|
|
wizards \
|
|
|
|
writerfilter \
|
|
|
|
writerperfect \
|
|
|
|
$(call gb_Helper_optional,EXTENSIONS,x11_extensions) \
|
|
|
|
xmerge \
|
|
|
|
$(call gb_Helper_optional,DESKTOP,xmlhelp) \
|
|
|
|
xmloff \
|
2012-07-29 04:59:35 -05:00
|
|
|
xmlreader \
|
2012-09-29 02:21:20 -05:00
|
|
|
xmlscript \
|
|
|
|
xmlsecurity \
|
2012-09-24 06:49:02 -05:00
|
|
|
xsltml \
|
2011-04-23 21:14:25 -05:00
|
|
|
))
|
|
|
|
|
2011-08-24 08:23:13 -05:00
|
|
|
ifeq ($(MERGELIBS),TRUE)
|
2011-08-24 06:17:31 -05:00
|
|
|
$(eval $(call gb_Module_add_targets,tail_end,\
|
|
|
|
Library_merged \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-05-15 12:34:46 -05:00
|
|
|
# Especially when building everything with symbols, the linking of the largest
|
2012-09-29 02:21:20 -05:00
|
|
|
# libraries takes enormous amounts of RAM. To prevent annoying OOM situations
|
2012-05-15 12:34:46 -05:00
|
|
|
# etc., try to prevent linking these in parallel by adding artificial build
|
|
|
|
# order dependencies here.
|
|
|
|
define tailbuild_serialize1
|
|
|
|
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,$(1))) \
|
|
|
|
:| $(foreach lib,$(2),$(call gb_Library_get_target,$(lib)))
|
|
|
|
endef
|
|
|
|
|
|
|
|
define tailbuild_serialize
|
|
|
|
$(if $(filter-out 0 1,$(words $(1))),\
|
|
|
|
$(call tailbuild_serialize1,$(firstword $(1)),$(wordlist 2,$(words $(1)),$(1))))
|
|
|
|
$(if $(strip $(1)),\
|
|
|
|
$(call tailbuild_serialize,$(wordlist 2,$(words $(1)),$(1))))
|
|
|
|
endef
|
|
|
|
|
2012-08-09 03:35:24 -05:00
|
|
|
ifeq (all,$(filter all,$(MAKECMDGOALS)))
|
2012-07-11 03:54:22 -05:00
|
|
|
$(eval $(call tailbuild_serialize,\
|
2012-08-02 06:24:00 -05:00
|
|
|
scfilt \
|
|
|
|
$(if $(filter SCRIPTING,$(BUILD_TYPE)),vbaobj) \
|
|
|
|
sc msword swui sw sd \
|
2012-07-11 03:54:22 -05:00
|
|
|
$(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)),dbu) \
|
2012-07-11 07:35:02 -05:00
|
|
|
writerfilter cui chartcontroller oox \
|
2012-07-11 06:40:49 -05:00
|
|
|
$(if $(filter TRUE,$(MERGELIBS)),merged,svxcore) \
|
2012-07-11 07:35:02 -05:00
|
|
|
vcl xo \
|
2012-07-11 03:54:22 -05:00
|
|
|
))
|
2012-08-09 03:35:24 -05:00
|
|
|
endif
|
2012-05-15 12:34:46 -05:00
|
|
|
|
2011-08-02 13:22:35 -05:00
|
|
|
# vim: set noet sw=4 ts=4:
|