1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval
$(call gb_Library_Library
,merged
))
13 # gb_MERGEDLIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
14 $(eval
$(call gb_Library_use_library_objects
,merged
,\
18 $(eval
$(call gb_Library_use_libraries
,merged
,\
23 $(if
$(ENABLE_JAVA
), \
33 $(eval
$(call gb_Library_use_externals
,merged
,\
35 $(call gb_Helper_optional
,DESKTOP
,clucene
) \
43 $(if
$(ENABLE_GTK
),gtk
) \
50 $(call gb_Helper_optional
,LIBATOMIC_OPS
,libatomic_ops
) \
54 $(if
$(filter-out IOS
,$(OS
)),lpsolve
) \
61 ifeq (ALL
,$(MERGELIBS
))
62 $(eval
$(call gb_Library_use_static_libraries
,merged
,\
65 $(eval
$(call gb_Library_use_externals
,merged
,\
70 $(if
$(filter-out ANDROID IOS
,$(OS
)),openldap
) \
71 $(call gb_Helper_optional
,PYUNO
,python
) \
76 $(eval
$(call gb_Library_use_externals
,merged
,\
80 $(eval
$(call gb_Library_add_libs
,merged
,\
89 $(eval
$(call gb_Library_add_libs
,merged
,\
98 $(eval
$(call gb_Library_use_system_win32_libs
,merged
,\
116 # prevent warning spamming
117 $(eval
$(call gb_Library_add_ldflags
,merged
,\
124 $(eval
$(call gb_Library_use_libraries
,merged
,\
127 $(eval
$(call gb_Library_add_libs
,merged
,\
130 $(eval
$(call gb_Library_use_system_darwin_frameworks
,merged
,\
139 # vim: set noet sw=4 ts=4: