2011-08-10 02:12:48 +09: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,\
|
2011-12-21 15:32:54 +01:00
|
|
|
accessibility \
|
2011-08-10 22:09:22 -05:00
|
|
|
animations \
|
2012-02-29 10:23:17 +01:00
|
|
|
apple_remote \
|
2011-12-17 18:09:19 -05:00
|
|
|
avmedia \
|
2011-08-11 11:17:06 -05:00
|
|
|
basctl \
|
2012-02-29 10:19:30 +01:00
|
|
|
basebmp \
|
2012-05-24 12:00:51 +02:00
|
|
|
basegfx \
|
2011-12-20 20:01:23 +01:00
|
|
|
basic \
|
2011-09-18 10:40:37 -04:00
|
|
|
bean \
|
2011-12-17 18:26:42 -05:00
|
|
|
canvas \
|
2011-04-23 21:14:25 -05:00
|
|
|
chart2 \
|
2012-02-17 20:49:40 +01:00
|
|
|
configmgr \
|
2012-04-07 07:49:41 +02:00
|
|
|
connectivity \
|
2011-12-17 18:18:06 -05:00
|
|
|
cppcanvas \
|
2011-04-23 21:14:25 -05:00
|
|
|
cui \
|
|
|
|
dbaccess \
|
2011-09-15 14:44:36 +02:00
|
|
|
desktop \
|
2011-12-23 18:07:42 +01:00
|
|
|
dtrans \
|
2011-12-17 16:53:06 -05:00
|
|
|
drawinglayer \
|
2011-12-17 18:28:25 -05:00
|
|
|
editeng \
|
2012-03-02 08:15:50 +01:00
|
|
|
embeddedobj \
|
2011-09-18 16:36:58 -04:00
|
|
|
eventattacher \
|
2011-12-18 02:10:12 +01:00
|
|
|
extensions \
|
2011-04-27 08:06:47 +02:00
|
|
|
fileaccess \
|
2011-10-01 18:49:05 +02:00
|
|
|
filter \
|
2011-08-10 22:00:36 -05:00
|
|
|
forms \
|
2011-04-23 21:14:25 -05:00
|
|
|
formula \
|
2012-01-07 01:14:26 +01:00
|
|
|
fpicker \
|
2011-12-21 19:37:48 -05:00
|
|
|
framework \
|
2011-06-13 23:18:05 +01:00
|
|
|
hwpfilter \
|
2012-05-24 11:59:16 +02:00
|
|
|
i18npool \
|
2011-12-17 18:43:20 -05:00
|
|
|
idl \
|
2011-12-04 12:54:01 +01:00
|
|
|
lingucomponent \
|
2011-12-04 12:57:49 +01:00
|
|
|
linguistic \
|
2011-04-27 07:56:39 +02:00
|
|
|
lotuswordpro \
|
2011-09-12 17:19:42 -04:00
|
|
|
MathMLDTD \
|
2011-09-09 17:42:24 -04:00
|
|
|
Mesa \
|
2012-01-11 16:55:50 +01:00
|
|
|
np_sdk \
|
2012-05-24 12:00:51 +02:00
|
|
|
o3tl \
|
2012-02-29 10:37:31 +01:00
|
|
|
oovbaapi \
|
2011-08-11 23:10:40 -05:00
|
|
|
oox \
|
2011-10-07 23:00:10 +02:00
|
|
|
package \
|
2011-04-27 08:04:30 +02:00
|
|
|
padmin \
|
2011-12-23 18:12:13 +01:00
|
|
|
psprint_config \
|
2012-04-07 13:06:36 +02:00
|
|
|
reportbuilder \
|
2011-04-24 16:09:57 -05:00
|
|
|
reportdesign \
|
2012-04-07 13:12:00 +02:00
|
|
|
rsc \
|
2011-04-23 21:14:25 -05:00
|
|
|
sc \
|
2011-12-23 18:05:33 +01:00
|
|
|
scaddins \
|
2011-08-21 05:00:14 -05:00
|
|
|
sccomp \
|
2012-05-12 17:51:04 +02:00
|
|
|
$(if $(filter DESKTOP,$(BUILD_TYPE)),\
|
|
|
|
scp2 \
|
|
|
|
) \
|
2011-10-01 17:15:43 +02:00
|
|
|
scripting \
|
2011-04-23 21:14:25 -05:00
|
|
|
sd \
|
2012-02-20 07:08:43 +01:00
|
|
|
sdext \
|
2011-12-17 18:15:07 -05:00
|
|
|
sfx2 \
|
2012-05-24 09:47:50 +02:00
|
|
|
shell \
|
2011-04-23 21:14:25 -05:00
|
|
|
slideshow \
|
2012-02-12 13:39:52 +01:00
|
|
|
smoketest \
|
2012-04-07 07:55:32 +02:00
|
|
|
sot \
|
2011-04-23 21:14:25 -05:00
|
|
|
starmath \
|
2012-04-07 07:54:01 +02:00
|
|
|
svl \
|
2012-01-17 11:44:08 +01:00
|
|
|
svtools \
|
2011-12-17 16:49:28 -05:00
|
|
|
svx \
|
2011-04-23 21:14:25 -05:00
|
|
|
sw \
|
2011-09-21 15:38:53 -04:00
|
|
|
swext \
|
2012-02-15 00:15:16 +01:00
|
|
|
test \
|
|
|
|
toolkit \
|
2012-05-24 11:56:50 +02:00
|
|
|
tools \
|
2012-01-15 05:00:43 +01:00
|
|
|
ucb \
|
2012-04-07 07:58:31 +02:00
|
|
|
unixODBC \
|
2011-12-25 16:20:43 +01:00
|
|
|
UnoControls \
|
2012-04-14 16:07:25 +02:00
|
|
|
unodevtools \
|
2012-05-24 09:41:33 +02:00
|
|
|
unotools \
|
2011-04-27 08:00:49 +02:00
|
|
|
unoxml \
|
2011-08-11 02:43:35 -05:00
|
|
|
uui \
|
2011-10-01 18:39:29 +02:00
|
|
|
vbahelper \
|
2012-02-15 00:15:16 +01:00
|
|
|
vcl \
|
2011-08-10 21:35:55 +02:00
|
|
|
wizards \
|
2011-04-27 07:57:01 +02:00
|
|
|
writerfilter \
|
2011-08-11 23:11:27 -05:00
|
|
|
writerperfect \
|
2012-05-20 12:04:29 +02:00
|
|
|
$(if $(filter X11_EXTENSIONS,$(BUILD_TYPE)), \
|
|
|
|
x11_extensions \
|
|
|
|
) \
|
2011-09-24 21:40:19 -04:00
|
|
|
xmerge \
|
2012-04-09 23:35:59 +03:00
|
|
|
$(if $(filter DESKTOP,$(BUILD_TYPE)), \
|
2012-04-09 22:34:26 +03:00
|
|
|
xmlhelp) \
|
2011-12-17 18:36:35 -05:00
|
|
|
xmloff \
|
2012-02-15 00:15:16 +01:00
|
|
|
xmlscript \
|
2011-10-01 18:32:08 -04:00
|
|
|
xmlsecurity \
|
2011-04-23 21:14:25 -05:00
|
|
|
))
|
|
|
|
|
2011-08-24 14:23:13 +01:00
|
|
|
ifeq ($(MERGELIBS),TRUE)
|
2011-08-24 12:17:31 +01:00
|
|
|
$(eval $(call gb_Module_add_targets,tail_end,\
|
|
|
|
Library_merged \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-05-15 19:34:46 +02:00
|
|
|
# Especially when building everything with symbols, the linking of the largest
|
|
|
|
# libraries takes enormous amounts of RAM. To prevent annoying OOM situations
|
|
|
|
# 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-05-18 14:24:45 +03:00
|
|
|
$(eval $(call tailbuild_serialize,scfilt sc sw sd $(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)),dbu) oox svxcore vcl xo))
|
2012-05-15 19:34:46 +02:00
|
|
|
|
2011-08-02 21:22:35 +03:00
|
|
|
# vim: set noet sw=4 ts=4:
|