blob: 2e482e8d91e531fab2c7b9dc1daf5dba9931b7a4 [file] [log] [blame]
Takeshi Abe541761d2014-04-28 23:33:04 +09001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
Michael Meeks070ff652011-08-24 14:44:40 +01002#
Michael Meeks070ff652011-08-24 14:44:40 +01003#
Michael Meeks72e5d0c2013-04-24 17:14:03 +01004# This file is part of the LibreOffice project.
Michael Meeks070ff652011-08-24 14:44:40 +01005#
Michael Meeks72e5d0c2013-04-24 17:14:03 +01006# This Source Code Form is subject to the terms of the Mozilla Public
7# License, v. 2.0. If a copy of the MPL was not distributed with this
8# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Michael Meeks070ff652011-08-24 14:44:40 +01009#
Michael Meeks070ff652011-08-24 14:44:40 +010010
Michael Meeks070ff652011-08-24 14:44:40 +010011$(eval $(call gb_Library_Library,merged))
12
Matúš Kukan4967a9d2012-04-07 15:53:35 +020013# gb_MERGEDLIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
14$(eval $(call gb_Library_use_library_objects,merged,\
15 $(gb_MERGEDLIBS) \
16))
17
Michael Stahlc923f7d2012-04-07 23:22:08 +020018$(eval $(call gb_Library_use_libraries,merged,\
Michael Meeks070ff652011-08-24 14:44:40 +010019 comphelper \
Michael Meeks070ff652011-08-24 14:44:40 +010020 cppu \
21 cppuhelper \
Eike Rathke876c6192013-04-05 18:40:39 +020022 i18nlangtag \
Tor Lillqvist08452f12013-08-19 00:41:12 +030023 $(if $(ENABLE_JAVA), \
Tor Lillqvistebb09ee2013-04-12 02:32:42 +030024 jvmaccess \
25 jvmfwk) \
Michael Meeks070ff652011-08-24 14:44:40 +010026 sal \
27 salhelper \
Michael Meeks070ff652011-08-24 14:44:40 +010028 ucbhelper \
Matúš Kukana62f4262012-02-17 23:15:26 +010029 xmlreader \
Michael Stahl2e677c32012-09-26 23:45:28 +020030 $(gb_UWINAPI) \
Matúš Kukana74627d2012-01-06 10:48:43 +010031))
Michael Meeks070ff652011-08-24 14:44:40 +010032
Michael Meeks070ff652011-08-24 14:44:40 +010033ifeq ($(OS),WNT)
Peter Foley0ba0b1ca2012-09-22 09:42:16 -040034# prevent warning spamming
35$(eval $(call gb_Library_add_ldflags,merged,\
36 /ignore:4049 \
37 /ignore:4217 \
38))
Christian Lohmaierdf7595a2015-06-25 16:09:35 +020039# cursors
40$(eval $(call gb_Library_add_nativeres,merged,vcl/salsrc))
Matúš Kukan4967a9d2012-04-07 15:53:35 +020041endif
42
43ifeq ($(OS),MACOSX)
44$(eval $(call gb_Library_use_libraries,merged,\
45 AppleRemote \
Michael Stahl967986b2012-09-28 00:54:49 +020046))
Michael Meeks070ff652011-08-24 14:44:40 +010047endif
48
Michael Meeks070ff652011-08-24 14:44:40 +010049# vim: set noet sw=4 ts=4: