office-gobmx/Module_tail_build.mk

131 lines
3.1 KiB
Makefile
Raw Normal View History

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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 08:32:54 -06:00
accessibility \
animations \
2012-02-29 03:23:17 -06:00
apple_remote \
2011-12-17 17:09:19 -06:00
avmedia \
basctl \
2012-02-29 03:19:30 -06:00
basebmp \
2011-12-20 13:01:23 -06:00
basic \
bean \
2011-12-17 17:26:42 -06:00
canvas \
chart2 \
2012-02-17 13:49:40 -06:00
configmgr \
2011-12-17 17:18:06 -06:00
cppcanvas \
cui \
dbaccess \
2011-09-15 07:44:36 -05:00
desktop \
2011-12-23 11:07:42 -06:00
dtrans \
2011-12-17 15:53:06 -06:00
drawinglayer \
2011-12-17 17:28:25 -06:00
editeng \
2012-03-02 01:15:50 -06:00
embeddedobj \
eventattacher \
2011-12-17 19:10:12 -06:00
extensions \
2011-04-27 01:06:47 -05:00
fileaccess \
2011-10-01 11:49:05 -05:00
filter \
forms \
formula \
2012-01-06 18:14:26 -06:00
fpicker \
2011-12-21 18:37:48 -06:00
framework \
2011-06-13 17:18:05 -05:00
hwpfilter \
2011-12-17 17:43:20 -06:00
idl \
2011-12-04 05:54:01 -06:00
lingucomponent \
2011-12-04 05:57:49 -06:00
linguistic \
2011-04-27 00:56:39 -05:00
lotuswordpro \
MathMLDTD \
Mesa \
np_sdk \
2012-02-29 03:37:31 -06:00
oovbaapi \
oox \
2011-10-07 16:00:10 -05:00
package \
2011-04-27 01:04:30 -05:00
padmin \
2011-12-23 11:12:13 -06:00
psprint_config \
2011-04-24 16:09:57 -05:00
reportdesign \
sc \
2011-12-23 11:05:33 -06:00
scaddins \
2011-08-21 05:00:14 -05:00
sccomp \
2011-10-01 10:15:43 -05:00
scripting \
sd \
2012-02-20 00:08:43 -06:00
sdext \
2011-12-17 17:15:07 -06:00
sfx2 \
slideshow \
smoketest \
starmath \
2012-01-17 04:44:08 -06:00
svtools \
2011-12-17 15:49:28 -06:00
svx \
sw \
swext \
test \
toolkit \
2012-01-14 22:00:43 -06:00
ucb \
2011-12-25 09:20:43 -06:00
UnoControls \
2012-04-14 09:07:25 -05:00
unodevtools \
2011-04-27 01:00:49 -05:00
unoxml \
uui \
2011-10-01 11:39:29 -05:00
vbahelper \
vcl \
2011-08-10 14:35:55 -05:00
wizards \
2011-04-27 00:57:01 -05:00
writerfilter \
writerperfect \
$(if $(filter X11_EXTENSIONS,$(BUILD_TYPE)), \
x11_extensions \
) \
xmerge \
2012-04-09 15:35:59 -05:00
$(if $(filter DESKTOP,$(BUILD_TYPE)), \
2012-04-09 14:34:26 -05:00
xmlhelp) \
2011-12-17 17:36:35 -06:00
xmloff \
xmlscript \
2011-10-01 17:32:08 -05:00
xmlsecurity \
))
ifeq ($(MERGELIBS),TRUE)
$(eval $(call gb_Module_add_targets,tail_end,\
Library_merged \
))
endif
# 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
$(eval $(call tailbuild_serialize,scfilt sc sw sd $(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)),dbu) oox svxcore vcl xo))
2011-08-02 13:22:35 -05:00
# vim: set noet sw=4 ts=4: