2011-08-24 08:44:40 -05:00
|
|
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Matúš Kukan <matus.kukan@gmail.com> (C) 2011, All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
|
|
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
|
|
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
|
|
|
# instead of those above.
|
|
|
|
|
|
|
|
$(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
|
|
|
basegfx \
|
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
|
|
|
i18nisolang1 \
|
2012-02-14 04:39:43 -06:00
|
|
|
jvmfwk \
|
2011-08-24 08:44:40 -05:00
|
|
|
sal \
|
|
|
|
salhelper \
|
|
|
|
tl \
|
|
|
|
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
|
|
|
|
2012-09-26 17:49:12 -05:00
|
|
|
$(eval $(call gb_Library_add_standard_system_libs,merged))
|
|
|
|
|
2011-08-24 08:44:40 -05:00
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
2012-09-19 13:48:47 -05:00
|
|
|
cups \
|
2012-08-12 11:06:31 -05:00
|
|
|
icui18n \
|
2012-04-07 08:53:35 -05:00
|
|
|
icule \
|
2011-08-24 08:44:40 -05:00
|
|
|
icuuc \
|
2012-02-14 04:39:43 -06:00
|
|
|
jpeg \
|
2012-04-07 08:53:35 -05:00
|
|
|
lcms2 \
|
2012-02-09 14:31:30 -06:00
|
|
|
libxml2 \
|
2012-04-07 08:53:35 -05:00
|
|
|
nss3 \
|
2011-08-24 08:44:40 -05:00
|
|
|
zlib \
|
|
|
|
))
|
|
|
|
|
2012-08-25 05:13:29 -05:00
|
|
|
# This would be needed on all platforms but only on android we merge libraries from lingucomponent
|
|
|
|
ifeq ($(OS),ANDROID)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
hunspell \
|
2012-09-01 07:55:33 -05:00
|
|
|
expat_utf8 \
|
2012-08-25 05:13:29 -05:00
|
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_static_libraries,merged,\
|
2012-09-01 07:55:33 -05:00
|
|
|
sax_shared \
|
2012-08-25 05:13:29 -05:00
|
|
|
ulingu \
|
|
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_libs,merged,\
|
|
|
|
$(if $(filter MSC,$(COM)),libmythes.lib,-lmythes-1.2) \
|
|
|
|
$(if $(filter MSC,$(COM)),hyphen.lib,-lhyphen) \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-08-20 04:36:40 -05:00
|
|
|
ifeq ($(ENABLE_GRAPHITE),TRUE)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
graphite \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-01-16 08:42:51 -06:00
|
|
|
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
berkeleydb \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-04-07 08:53:35 -05:00
|
|
|
ifneq ($(OS),IOS)
|
|
|
|
$(eval $(call gb_Library_use_libraries,merged,\
|
|
|
|
jvmaccess \
|
2011-08-24 08:44:40 -05:00
|
|
|
))
|
2012-04-07 08:53:35 -05:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(GUIBASE),unx)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
fontconfig \
|
|
|
|
freetype \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OS),LINUX)
|
|
|
|
$(eval $(call gb_Library_use_libraries,merged,\
|
|
|
|
dl \
|
|
|
|
m \
|
|
|
|
pthread \
|
|
|
|
))
|
|
|
|
endif
|
2011-08-24 08:44:40 -05:00
|
|
|
|
|
|
|
ifeq ($(OS),WNT)
|
2012-04-07 16:22:08 -05:00
|
|
|
$(eval $(call gb_Library_use_libraries,merged,\
|
2011-08-24 08:44:40 -05:00
|
|
|
advapi32 \
|
|
|
|
gdi32 \
|
2012-04-07 08:53:35 -05:00
|
|
|
gdiplus \
|
|
|
|
imm32 \
|
|
|
|
mpr \
|
|
|
|
msimg32 \
|
|
|
|
$(gb_Library_win32_OLDNAMES) \
|
2011-08-24 08:44:40 -05:00
|
|
|
ole32 \
|
|
|
|
oleaut32 \
|
|
|
|
shell32 \
|
|
|
|
user32 \
|
|
|
|
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 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OS),MACOSX)
|
|
|
|
$(eval $(call gb_Library_use_libraries,merged,\
|
|
|
|
AppleRemote \
|
|
|
|
objc \
|
|
|
|
))
|
2012-09-27 17:18:12 -05:00
|
|
|
$(eval $(call gb_Library_use_system_darwin_frameworks,merged,\
|
|
|
|
Carbon \
|
|
|
|
Cocoa \
|
|
|
|
CoreFoundation \
|
|
|
|
CoreServices \
|
|
|
|
QuickTime \
|
2011-08-24 08:44:40 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-06-18 14:32:35 -05:00
|
|
|
ifeq ($(OS),ANDROID)
|
2012-08-23 14:23:33 -05:00
|
|
|
$(eval $(call gb_Library_use_static_libraries,merged,\
|
2012-08-20 05:02:08 -05:00
|
|
|
basebmp \
|
2012-08-23 14:23:33 -05:00
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_use_libraries,merged,\
|
2012-06-18 14:32:35 -05:00
|
|
|
libotouch \
|
|
|
|
))
|
2012-08-20 05:02:08 -05:00
|
|
|
|
2012-04-07 08:53:35 -05:00
|
|
|
$(eval $(call gb_Library_add_libs,merged,\
|
|
|
|
-llog \
|
|
|
|
-landroid \
|
|
|
|
-llo-bootstrap \
|
|
|
|
))
|
2012-08-20 05:02:08 -05:00
|
|
|
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
fontconfig \
|
|
|
|
freetype \
|
|
|
|
))
|
2012-06-18 14:32:35 -05:00
|
|
|
endif
|
|
|
|
|
2012-04-07 08:53:35 -05:00
|
|
|
ifeq ($(OS),IOS)
|
2012-09-27 17:18:12 -05:00
|
|
|
$(eval $(call gb_Library_use_system_darwin_frameworks,merged,\
|
|
|
|
CoreFoundation \
|
|
|
|
UIKit \
|
2012-04-07 08:53:35 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(ENABLE_LIBRSVG),NO)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
cairo \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(ENABLE_TELEPATHY),TRUE)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
gtk \
|
|
|
|
telepathy \
|
2012-02-09 14:31:30 -06:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-09-04 02:44:05 -05:00
|
|
|
ifeq ($(ENABLE_DBUS),TRUE)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
dbus \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-08-12 11:06:31 -05:00
|
|
|
ifeq ($(ENABLE_LIBLANGTAG),YES)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
glib \
|
|
|
|
liblangtag \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-08-24 08:44:40 -05:00
|
|
|
# vim: set noet sw=4 ts=4:
|