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 \
|
|
|
|
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
|
|
|
|
2013-03-20 16:38:47 -05:00
|
|
|
ifneq ($(OS),IOS)
|
|
|
|
$(eval $(call gb_Library_use_static_libraries,merged,\
|
|
|
|
writerperfect \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
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:24:21 -05:00
|
|
|
$(if $(filter-out IOS,$(OS)),cdr) \
|
2013-03-27 13:00:39 -05:00
|
|
|
$(call gb_Helper_optional,DESKTOP,clucene) \
|
2013-03-27 20:47:41 -05:00
|
|
|
cmis \
|
2013-03-26 19:42:09 -05:00
|
|
|
cppunit \
|
2012-09-19 13:48:47 -05:00
|
|
|
cups \
|
2013-03-27 20:47:41 -05:00
|
|
|
curl \
|
2013-03-27 13:24:21 -05:00
|
|
|
expat_utf8 \
|
|
|
|
hunspell \
|
|
|
|
hyphen \
|
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 \
|
2012-02-09 14:31:30 -06:00
|
|
|
libxml2 \
|
2013-03-27 13:00:39 -05:00
|
|
|
$(call gb_Helper_optional,DESKTOP,libxslt) \
|
2013-03-27 20:47:41 -05:00
|
|
|
$(if $(filter-out IOS,$(OS)),lpsolve) \
|
2013-03-27 13:24:21 -05:00
|
|
|
$(if $(filter-out IOS,$(OS)),mspub) \
|
|
|
|
$(if $(filter-out IOS,$(OS)),mwaw) \
|
|
|
|
mythes \
|
2012-04-07 08:53:35 -05:00
|
|
|
nss3 \
|
2013-03-20 17:22:32 -05:00
|
|
|
openssl \
|
2013-03-23 19:07:06 -05:00
|
|
|
orcus \
|
2013-03-27 13:58:23 -05:00
|
|
|
$(call gb_Helper_optional,PYUNO,python) \
|
2013-03-27 13:24:21 -05:00
|
|
|
$(if $(filter-out IOS,$(OS)),wpd) \
|
|
|
|
$(if $(filter-out IOS,$(OS)),wpg) \
|
|
|
|
$(if $(filter-out IOS,$(OS)),wps) \
|
|
|
|
$(if $(filter-out IOS,$(OS)),visio) \
|
2011-08-24 08:44:40 -05:00
|
|
|
zlib \
|
|
|
|
))
|
|
|
|
|
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 \
|
|
|
|
))
|
|
|
|
|
2012-08-20 04:36:40 -05:00
|
|
|
ifeq ($(ENABLE_GRAPHITE),TRUE)
|
|
|
|
$(eval $(call gb_Library_use_externals,merged,\
|
|
|
|
graphite \
|
|
|
|
))
|
|
|
|
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
|
|
|
|
|
2012-06-18 14:32:35 -05:00
|
|
|
ifeq ($(OS),ANDROID)
|
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
|
|
|
|
|
|
|
|
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,\
|
|
|
|
liblangtag \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-08-24 08:44:40 -05:00
|
|
|
# vim: set noet sw=4 ts=4:
|