2014-04-28 09:33:04 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-08-24 08:44:40 -05:00
|
|
|
#
|
|
|
|
#
|
2013-04-24 11:14:03 -05:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-08-24 08:44:40 -05:00
|
|
|
#
|
2013-04-24 11:14:03 -05:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-08-24 08:44:40 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,merged))
|
|
|
|
|
2012-04-07 08:53:35 -05:00
|
|
|
# gb_MERGEDLIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
|
|
|
|
$(eval $(call gb_Library_use_library_objects,merged,\
|
|
|
|
$(gb_MERGEDLIBS) \
|
|
|
|
))
|
|
|
|
|
2012-04-07 16:22:08 -05:00
|
|
|
$(eval $(call gb_Library_use_libraries,merged,\
|
2011-08-24 08:44:40 -05:00
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2013-04-05 11:40:39 -05:00
|
|
|
i18nlangtag \
|
2013-08-18 16:41:12 -05:00
|
|
|
$(if $(ENABLE_JAVA), \
|
2013-04-11 18:32:42 -05:00
|
|
|
jvmaccess \
|
|
|
|
jvmfwk) \
|
2011-08-24 08:44:40 -05:00
|
|
|
sal \
|
|
|
|
salhelper \
|
|
|
|
ucbhelper \
|
2012-02-17 16:15:26 -06:00
|
|
|
xmlreader \
|
2012-09-26 16:45:28 -05:00
|
|
|
$(gb_UWINAPI) \
|
2012-01-06 03:48:43 -06:00
|
|
|
))
|
2011-08-24 08:44:40 -05:00
|
|
|
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
2014-03-21 10:26:50 -05:00
|
|
|
icu_headers \
|
2013-12-02 13:53:54 -06:00
|
|
|
icui18n \
|
|
|
|
icuuc \
|
2014-03-21 10:26:50 -05:00
|
|
|
boost_headers \
|
2013-05-24 07:46:28 -05:00
|
|
|
boostdatetime \
|
2013-03-27 13:00:39 -05:00
|
|
|
$(call gb_Helper_optional,DESKTOP,clucene) \
|
2014-05-13 10:17:38 -05:00
|
|
|
$(call gb_Helper_optional,COLLADA2GLTF,collada2gltf) \
|
2012-09-19 13:48:47 -05:00
|
|
|
cups \
|
2013-03-27 20:47:41 -05:00
|
|
|
curl \
|
2013-04-10 06:32:44 -05:00
|
|
|
dbus \
|
2013-04-09 02:22:20 -05:00
|
|
|
expat \
|
2013-04-10 06:32:44 -05:00
|
|
|
gconf \
|
|
|
|
gio \
|
2014-03-21 10:26:50 -05:00
|
|
|
glew \
|
2013-04-10 06:32:44 -05:00
|
|
|
graphite \
|
|
|
|
$(if $(ENABLE_GTK),gtk) \
|
2013-04-23 09:15:41 -05:00
|
|
|
harfbuzz \
|
2013-03-27 13:24:21 -05:00
|
|
|
hunspell \
|
2012-02-14 04:39:43 -06:00
|
|
|
jpeg \
|
2012-04-07 08:53:35 -05:00
|
|
|
lcms2 \
|
2013-07-16 10:07:07 -05:00
|
|
|
$(call gb_Helper_optional,LIBATOMIC_OPS,libatomic_ops) \
|
2014-01-02 10:07:05 -06:00
|
|
|
libeot \
|
2013-04-10 06:32:44 -05:00
|
|
|
liblangtag \
|
2012-02-09 14:31:30 -06:00
|
|
|
libxml2 \
|
2013-04-14 16:24:38 -05:00
|
|
|
libxslt \
|
2014-03-21 10:26:50 -05:00
|
|
|
mesa_headers \
|
2013-03-27 13:24:21 -05:00
|
|
|
mythes \
|
2012-04-07 08:53:35 -05:00
|
|
|
nss3 \
|
2014-05-13 10:17:38 -05:00
|
|
|
$(call gb_Helper_optional,COLLADA2GLTF,opencollada_parser) \
|
|
|
|
$(call gb_Helper_optional,COLLADA2GLTF,png) \
|
2013-04-10 06:32:44 -05:00
|
|
|
telepathy \
|
2011-08-24 08:44:40 -05:00
|
|
|
zlib \
|
|
|
|
))
|
|
|
|
|
2013-04-15 03:06:30 -05:00
|
|
|
ifeq (ALL,$(MERGELIBS))
|
2013-04-15 17:49:08 -05:00
|
|
|
$(eval $(call gb_Library_use_static_libraries,merged,\
|
|
|
|
ulingu \
|
|
|
|
))
|
2013-04-15 03:06:30 -05:00
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
cppunit \
|
2013-04-15 17:49:08 -05:00
|
|
|
hyphen \
|
2013-04-15 03:06:30 -05:00
|
|
|
libexslt \
|
2013-04-15 17:49:08 -05:00
|
|
|
libexttextcat \
|
2013-04-15 16:19:05 -05:00
|
|
|
$(if $(filter-out ANDROID IOS,$(OS)),openldap) \
|
2013-04-15 03:06:30 -05:00
|
|
|
$(call gb_Helper_optional,PYUNO,python) \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-04-07 08:53:35 -05:00
|
|
|
ifeq ($(GUIBASE),unx)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
fontconfig \
|
|
|
|
freetype \
|
|
|
|
))
|
2013-03-26 19:42:09 -05:00
|
|
|
$(eval $(call gb_Library_add_libs,merged,\
|
|
|
|
-lX11 \
|
|
|
|
-lXext \
|
|
|
|
-lSM \
|
|
|
|
-lICE \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2013-03-26 20:58:39 -05:00
|
|
|
ifeq ($(OS),LINUX)
|
|
|
|
$(eval $(call gb_Library_add_libs,merged,\
|
|
|
|
-lm \
|
|
|
|
-ldl \
|
2014-03-21 10:26:50 -05:00
|
|
|
-lGL \
|
|
|
|
-lGLU \
|
2013-03-26 20:58:39 -05:00
|
|
|
-lpthread \
|
2013-05-23 05:18:55 -05:00
|
|
|
-lrt \
|
2014-03-21 10:26:50 -05:00
|
|
|
-lX11 \
|
2013-03-26 20:58:39 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-08-24 08:44:40 -05:00
|
|
|
ifeq ($(OS),WNT)
|
2012-09-28 08:31:46 -05:00
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,merged,\
|
2011-08-24 08:44:40 -05:00
|
|
|
advapi32 \
|
|
|
|
gdi32 \
|
2012-04-07 08:53:35 -05:00
|
|
|
gdiplus \
|
2014-03-21 10:26:50 -05:00
|
|
|
glu32 \
|
2012-04-07 08:53:35 -05:00
|
|
|
imm32 \
|
|
|
|
mpr \
|
|
|
|
msimg32 \
|
2012-09-28 08:31:46 -05:00
|
|
|
oldnames \
|
2011-08-24 08:44:40 -05:00
|
|
|
ole32 \
|
|
|
|
oleaut32 \
|
2014-03-21 10:26:50 -05:00
|
|
|
opengl32 \
|
2011-08-24 08:44:40 -05:00
|
|
|
shell32 \
|
2014-03-14 03:23:47 -05:00
|
|
|
shlwapi \
|
2011-08-24 08:44:40 -05:00
|
|
|
user32 \
|
2012-09-07 16:01:04 -05:00
|
|
|
usp10 \
|
2011-08-24 08:44:40 -05:00
|
|
|
uuid \
|
2012-04-07 08:53:35 -05:00
|
|
|
version \
|
2012-02-11 09:57:09 -06:00
|
|
|
winmm \
|
2012-04-07 08:53:35 -05:00
|
|
|
winspool \
|
|
|
|
))
|
2012-09-22 08:42:16 -05:00
|
|
|
# prevent warning spamming
|
|
|
|
$(eval $(call gb_Library_add_ldflags,merged,\
|
|
|
|
/ignore:4049 \
|
|
|
|
/ignore:4217 \
|
|
|
|
))
|
2012-04-07 08:53:35 -05:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OS),MACOSX)
|
|
|
|
$(eval $(call gb_Library_use_libraries,merged,\
|
|
|
|
AppleRemote \
|
2012-09-27 17:54:49 -05:00
|
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_libs,merged,\
|
|
|
|
-lobjc \
|
2012-04-07 08:53:35 -05:00
|
|
|
))
|
2012-09-27 17:18:12 -05:00
|
|
|
$(eval $(call gb_Library_use_system_darwin_frameworks,merged,\
|
|
|
|
Carbon \
|
|
|
|
Cocoa \
|
|
|
|
CoreFoundation \
|
|
|
|
CoreServices \
|
2014-03-21 10:26:50 -05:00
|
|
|
OpenGL \
|
2012-09-27 17:18:12 -05:00
|
|
|
QuickTime \
|
2011-08-24 08:44:40 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|