blob: 949195aeb1d49d7b2b382713d37919cba608bd15 [file] [log] [blame]
Takeshi Abeb2bd33e2011-08-10 02:12:48 +09001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -05002#
3# Version: MPL 1.1 / GPLv3+ / LGPLv3+
4#
5# The contents of this file are subject to the Mozilla Public License Version
6# 1.1 (the "License"); you may not use this file except in compliance with
7# the License. You may obtain a copy of the License at
8# http://www.mozilla.org/MPL/
9#
10# Software distributed under the License is distributed on an "AS IS" basis,
11# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12# for the specific language governing rights and limitations under the
13# License.
14#
15# The Initial Developer of the Original Code is
16# Norbert Thiebaud <nthiebaud@gmail.com> (C) 2011, All Rights Reserved.
17#
18# Alternatively, the contents of this file may be used under the terms of
19# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
20# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
21# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
22# instead of those above.
23
24
25$(eval $(call gb_Module_Module,tail_end))
26
27$(eval $(call gb_Module_add_moduledirs,tail_end,\
David Tardon77a09f82011-12-21 15:32:54 +010028 accessibility \
Norbert Thiebaud69a45422011-08-10 22:09:22 -050029 animations \
David Tardon7454de82012-02-29 10:23:17 +010030 apple_remote \
Peter Foley34e0cda2011-12-17 18:09:19 -050031 avmedia \
Norbert Thiebaudcb125582011-08-11 11:17:06 -050032 basctl \
David Tardon4f603c32012-02-29 10:19:30 +010033 basebmp \
David Tardon5e4eee12012-05-24 12:00:51 +020034 basegfx \
Matúš Kukana029a482011-12-20 20:01:23 +010035 basic \
Peter Foley4478b732011-09-18 10:40:37 -040036 bean \
David Tardonfa871912012-05-24 12:11:58 +020037 binaryurp \
Peter Foley36b04312011-12-17 18:26:42 -050038 canvas \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -050039 chart2 \
Matúš Kukan0fd044f2012-02-17 20:49:40 +010040 configmgr \
David Tardon5f94d1f2012-04-07 07:49:41 +020041 connectivity \
Peter Foley118aa112011-12-17 18:18:06 -050042 cppcanvas \
David Tardonabcab9d2012-05-24 12:13:37 +020043 cpputools \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -050044 cui \
45 dbaccess \
David Tardonfca439e2011-09-15 14:44:36 +020046 desktop \
David Tardona305c462011-12-23 18:07:42 +010047 dtrans \
Peter Foley4d053e92011-12-17 16:53:06 -050048 drawinglayer \
Peter Foley529653f2011-12-17 18:28:25 -050049 editeng \
David Tardon75a6e52b2012-03-02 08:15:50 +010050 embeddedobj \
David Tardone767cc772012-05-24 12:21:14 +020051 embedserv \
Peter Foley4aba8d52011-09-18 16:36:58 -040052 eventattacher \
Peter Foleyf55b5ef2011-12-18 02:10:12 +010053 extensions \
David Tardon52ac8572011-04-27 08:06:47 +020054 fileaccess \
Matúš Kukan568e5592011-10-01 18:49:05 +020055 filter \
Norbert Thiebaud37f8c9b2011-08-10 22:00:36 -050056 forms \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -050057 formula \
Matúš Kukanf40fe7f2012-01-07 01:14:26 +010058 fpicker \
Peter Foley79b252a2011-12-21 19:37:48 -050059 framework \
Caolán McNamaraac41a4d2011-06-13 23:18:05 +010060 hwpfilter \
David Tardond2f23a22012-05-24 11:59:16 +020061 i18npool \
David Tardonee28c182012-05-24 12:08:45 +020062 i18nutil \
Peter Foleyc20b8e22011-12-17 18:43:20 -050063 idl \
David Tardon3018f4f2012-05-24 12:12:43 +020064 io \
David Tardon87e0c602012-05-24 12:15:38 +020065 javaunohelper \
Matúš Kukanf51ae7b2011-12-04 12:54:01 +010066 lingucomponent \
Matúš Kukan5df936e2011-12-04 12:57:49 +010067 linguistic \
David Tardone4593482011-04-27 07:56:39 +020068 lotuswordpro \
Peter Foley4d42a512011-09-12 17:19:42 -040069 MathMLDTD \
Peter Foley1bd28842011-09-09 17:42:24 -040070 Mesa \
David Tardon786f8552012-05-24 12:18:28 +020071 $(if $(filter NLPSOLVER,$(BUILD_TYPE)),\
72 nlpsolver \
73 ) \
Matúš Kukanb99010d2012-01-11 16:55:50 +010074 np_sdk \
David Tardon5e4eee12012-05-24 12:00:51 +020075 o3tl \
David Tardonf7cad8a2012-02-29 10:37:31 +010076 oovbaapi \
Norbert Thiebaud751531d2011-08-11 23:10:40 -050077 oox \
Matúš Kukancad38382011-10-07 23:00:10 +020078 package \
David Tardona5246db2011-04-27 08:04:30 +020079 padmin \
David Tardon18eb9602011-12-23 18:12:13 +010080 psprint_config \
David Tardon6c876b72012-05-24 12:03:48 +020081 $(if $(filter QADEVOOO,$(BUILD_TYPE)),\
82 qadevOOo \
83 ) \
David Tardon01c25e22012-05-24 12:08:03 +020084 regexp \
David Tardonffff04d2012-04-07 13:06:36 +020085 reportbuilder \
Norbert Thiebaudc6134b92011-04-24 16:09:57 -050086 reportdesign \
David Tardon12af68f2012-04-07 13:12:00 +020087 rsc \
Matúš Kukan0d59b7b2012-06-02 10:15:04 +020088 sane \
David Tardon0799823e2012-05-24 12:05:01 +020089 sax \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -050090 sc \
David Tardon75011e32011-12-23 18:05:33 +010091 scaddins \
Norbert Thiebaude503a7e2011-08-21 05:00:14 -050092 sccomp \
David Tardone671e1e2012-05-12 17:51:04 +020093 $(if $(filter DESKTOP,$(BUILD_TYPE)),\
94 scp2 \
95 ) \
Matúš Kukan6764aef12011-10-01 17:15:43 +020096 scripting \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -050097 sd \
David Tardon2db25c22012-02-20 07:08:43 +010098 sdext \
Peter Foleye3d8b002011-12-17 18:15:07 -050099 sfx2 \
David Tardondd2edaf2012-05-24 09:47:50 +0200100 shell \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -0500101 slideshow \
Matúš Kukana391a092012-02-12 13:39:52 +0100102 smoketest \
David Tardon83f91ce2012-04-07 07:55:32 +0200103 sot \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -0500104 starmath \
David Tardon1cdfb812012-04-07 07:54:01 +0200105 svl \
Stephan Bergmann506aee92012-01-17 11:44:08 +0100106 svtools \
Peter Foley7d4acd92011-12-17 16:49:28 -0500107 svx \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -0500108 sw \
Peter Foleye7a1e172011-09-21 15:38:53 -0400109 swext \
Matúš Kukan6cc03d22012-02-15 00:15:16 +0100110 test \
111 toolkit \
David Tardond7767f62012-05-24 11:56:50 +0200112 tools \
Matúš Kukana9f170c2012-06-02 01:05:16 +0200113 twain \
Matúš Kukan9e82d6f2012-01-15 05:00:43 +0100114 ucb \
David Tardon2e6bc9f2012-04-07 07:58:31 +0200115 unixODBC \
David Tardond3a506d2011-12-25 16:20:43 +0100116 UnoControls \
David Tardondc4911f2012-04-14 16:07:25 +0200117 unodevtools \
David Tardon1d5c70b2012-05-24 12:17:24 +0200118 unoil \
David Tardon77fa4ee2012-05-24 12:02:36 +0200119 unotest \
David Tardon60b50da2012-05-24 09:41:33 +0200120 unotools \
David Tardon9a161292011-04-27 08:00:49 +0200121 unoxml \
David Tardon6b78dd32012-05-24 12:10:14 +0200122 ure \
Norbert Thiebaud29ad3b92011-08-11 02:43:35 -0500123 uui \
Matúš Kukan85de0512011-10-01 18:39:29 +0200124 vbahelper \
Matúš Kukan6cc03d22012-02-15 00:15:16 +0100125 vcl \
Thomas Arnhold59def012011-08-10 21:35:55 +0200126 wizards \
David Tardond5aa7a92011-04-27 07:57:01 +0200127 writerfilter \
Norbert Thiebaudfdb2c982011-08-11 23:11:27 -0500128 writerperfect \
David Tardon220dcad2012-05-20 12:04:29 +0200129 $(if $(filter X11_EXTENSIONS,$(BUILD_TYPE)), \
130 x11_extensions \
131 ) \
Peter Foleyb78a7ae2011-09-24 21:40:19 -0400132 xmerge \
Tor Lillqvistff9cca62012-04-09 23:35:59 +0300133 $(if $(filter DESKTOP,$(BUILD_TYPE)), \
Tor Lillqvist78fbda32012-04-09 22:34:26 +0300134 xmlhelp) \
Peter Foley457ec782011-12-17 18:36:35 -0500135 xmloff \
Matúš Kukan6cc03d22012-02-15 00:15:16 +0100136 xmlscript \
Peter Foley1a04d9f2011-10-01 18:32:08 -0400137 xmlsecurity \
Norbert Thiebaud7c1026a2011-04-23 21:14:25 -0500138))
139
Michael Meeks87610042011-08-24 14:23:13 +0100140ifeq ($(MERGELIBS),TRUE)
Matúš Kukan75fac982011-08-24 12:17:31 +0100141$(eval $(call gb_Module_add_targets,tail_end,\
142 Library_merged \
143))
144endif
145
Michael Stahl6d1cef52012-05-15 19:34:46 +0200146# Especially when building everything with symbols, the linking of the largest
147# libraries takes enormous amounts of RAM. To prevent annoying OOM situations
148# etc., try to prevent linking these in parallel by adding artificial build
149# order dependencies here.
150define tailbuild_serialize1
151$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,$(1))) \
152 :| $(foreach lib,$(2),$(call gb_Library_get_target,$(lib)))
153endef
154
155define tailbuild_serialize
156$(if $(filter-out 0 1,$(words $(1))),\
157$(call tailbuild_serialize1,$(firstword $(1)),$(wordlist 2,$(words $(1)),$(1))))
158$(if $(strip $(1)),\
159$(call tailbuild_serialize,$(wordlist 2,$(words $(1)),$(1))))
160endef
161
Tor Lillqvist1230e362012-05-18 14:24:45 +0300162$(eval $(call tailbuild_serialize,scfilt sc sw sd $(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)),dbu) oox svxcore vcl xo))
Michael Stahl6d1cef52012-05-15 19:34:46 +0200163
Tor Lillqvist35491072011-08-02 21:22:35 +0300164# vim: set noet sw=4 ts=4: