1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
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/
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
15 # The Initial Developer of the Original Code is
16 # Matúš Kukan <matus.kukan@gmail.com> (C) 2011, All Rights Reserved.
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.
24 $(eval
$(call gb_Library_Library
,merged
))
26 # gb_MERGEDLIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
27 $(eval
$(call gb_Library_use_library_objects
,merged
,\
31 $(eval
$(call gb_Library_use_libraries
,merged
,\
46 $(eval
$(call gb_Library_use_externals
,merged
,\
58 # This would be needed on all platforms but only on android we merge libraries from lingucomponent
60 $(eval
$(call gb_Library_use_externals
,merged
,\
64 $(eval
$(call gb_Library_use_static_libraries
,merged
,\
68 $(eval
$(call gb_Library_add_libs
,merged
,\
69 $(if
$(filter MSC
,$(COM
)),libmythes.lib
,-lmythes-1.2
) \
70 $(if
$(filter MSC
,$(COM
)),hyphen.lib
,-lhyphen
) \
74 ifeq ($(ENABLE_GRAPHITE
),TRUE
)
75 $(eval
$(call gb_Library_use_externals
,merged
,\
81 $(eval
$(call gb_Library_use_libraries
,merged
,\
87 $(eval
$(call gb_Library_use_externals
,merged
,\
94 $(eval
$(call gb_Library_add_libs
,merged
,\
102 $(eval
$(call gb_Library_use_system_win32_libs
,merged
,\
120 # prevent warning spamming
121 $(eval
$(call gb_Library_add_ldflags
,merged
,\
128 $(eval
$(call gb_Library_use_libraries
,merged
,\
131 $(eval
$(call gb_Library_add_libs
,merged
,\
134 $(eval
$(call gb_Library_use_system_darwin_frameworks
,merged
,\
144 $(eval
$(call gb_Library_use_static_libraries
,merged
,\
148 $(eval
$(call gb_Library_use_libraries
,merged
,\
152 $(eval
$(call gb_Library_add_libs
,merged
,\
158 $(eval
$(call gb_Library_use_externals
,merged
,\
165 $(eval
$(call gb_Library_use_system_darwin_frameworks
,merged
,\
171 ifneq ($(ENABLE_LIBRSVG
),NO
)
172 $(eval
$(call gb_Library_use_externals
,merged
,\
177 ifeq ($(ENABLE_TELEPATHY
),TRUE
)
178 $(eval
$(call gb_Library_use_externals
,merged
,\
184 ifeq ($(ENABLE_DBUS
),TRUE
)
185 $(eval
$(call gb_Library_use_externals
,merged
,\
190 ifeq ($(ENABLE_LIBLANGTAG
),YES
)
191 $(eval
$(call gb_Library_use_externals
,merged
,\
196 # vim: set noet sw=4 ts=4: