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
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2013-04-05 11:40:39 -05:00
|
|
|
i18nlangtag \
|
2013-04-11 18:32:42 -05:00
|
|
|
$(if $(filter TRUE,$(SOLAR_JAVA)), \
|
|
|
|
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,\
|
2013-03-27 20:47:41 -05:00
|
|
|
boostdatetime \
|
2013-03-27 13:00:39 -05:00
|
|
|
$(call gb_Helper_optional,DESKTOP,clucene) \
|
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 \
|
|
|
|
graphite \
|
|
|
|
$(if $(ENABLE_GTK),gtk) \
|
2013-04-23 09:15:41 -05:00
|
|
|
harfbuzz \
|
2013-03-27 13:24:21 -05:00
|
|
|
hunspell \
|
2012-12-02 11:56:17 -06: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 \
|
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 \
|
2013-03-27 20:47:41 -05:00
|
|
|
$(if $(filter-out IOS,$(OS)),lpsolve) \
|
2013-03-27 13:24:21 -05:00
|
|
|
mythes \
|
2012-04-07 08:53:35 -05:00
|
|
|
nss3 \
|
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 \
|
|
|
|
-lpthread \
|
|
|
|
))
|
|
|
|
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 \
|
|
|
|
imm32 \
|
|
|
|
mpr \
|
|
|
|
msimg32 \
|
2012-09-28 08:31:46 -05:00
|
|
|
oldnames \
|
2011-08-24 08:44:40 -05:00
|
|
|
ole32 \
|
|
|
|
oleaut32 \
|
|
|
|
shell32 \
|
|
|
|
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 \
|
|
|
|
QuickTime \
|
2011-08-24 08:44:40 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|