1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 # we link all object files from these libraries into one, merged library
11 gb_MERGE_LIBRARY_LIST
:= \
13 $(if
$(filter WNT
,$(OS
)),avmediawin
) \
14 $(call gb_Helper_optional
,SCRIPTING
, \
26 $(call gb_Helper_optional
,BREAKPAD
,crashreport
) \
31 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
32 $(if
$(filter WNT
,$(OS
)),directx9canvas
) \
40 $(if
$(filter WNT
,$(OS
)),emser
) \
49 $(if
$(filter WNT
,$(OS
)),gdipluscanvas
) \
51 $(call gb_Helper_optional
,DESKTOP
,helplinker
) \
60 $(if
$(filter iOS MACOSX
,$(OS
)),MacOSXSpell
) \
66 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
68 $(if
$(filter OPENCL
,$(BUILD_TYPE
)),opencl
) \
78 $(if
$(or
$(DISABLE_GUI
),$(ENABLE_WASM_STRIP_SPLASH
)),,spl
) \
80 $(call gb_Helper_optional
,SCRIPTING
,stringresource
) \
117 # if we have --enable-mergelibs=more
118 ifneq ($(MERGELIBS_MORE
),)
120 gb_MERGE_LIBRARY_LIST
+= \
122 $(if
$(filter $(OS
),WNT
), \
127 $(call gb_Helper_optional
,AVMEDIA
, \
128 $(if
$(filter MACOSX
,$(OS
)),\
134 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
139 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
142 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
143 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbu
) \
145 $(if
$(ENABLE_EVOAB2
),evoab
) \
146 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
149 $(if
$(ENABLE_FIREBIRD_SDBC
),firebird_sdbc
) \
150 $(if
$(filter WNT
,$(OS
)), \
153 $(if
$(filter MACOSX
,$(OS
)),\
159 $(if
$(ENABLE_LWP
),lwpft
) \
160 $(if
$(filter $(OS
),MACOSX
), \
166 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql_jdbc
) \
167 $(call gb_Helper_optional
,MARIADBC
,$(call gb_Helper_optional
,DBCONNECTIVITY
,mysqlc
)) \
171 $(if
$(BUILD_POSTGRESQL_SDBC
),postgresql-sdbc
) \
173 $(call gb_Helper_optional
,SCRIPTING
,protocolhandler
) \
177 $(call gb_Helper_optional
,SCRIPTING
,scriptframe
) \
179 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
181 $(if
$(filter WNT
,$(OS
)), \
189 $(call gb_Helper_optional
,XMLHELP
,ucpchelp1
) \
190 $(if
$(ENABLE_LIBCMIS
),ucpcmis1
) \
191 $(if
$(WITH_WEBDAV
),ucpdav1
) \
197 $(if
$(filter WNT
,$(OS
)), \
205 # allow module-deps.pl to color based on this.
206 ifneq ($(ENABLE_PRINT_DEPS
),)
208 $(info MergeLibContents
: $(gb_MERGE_LIBRARY_LIST
))
212 ifneq ($(MERGELIBS
),)
214 gb_MERGEDLIBS
:= $(gb_MERGE_LIBRARY_LIST
)
218 # vim: set noet sw=4 ts=4: