office-gobmx/Library_merged.mk
Matúš Kukan 8cc1e7a7c3 gbuild: More automagic for libmerged
Only gb_Library_use_libraries stays because I think it's a good idea to see
dependent libraries (potential candidates for merging) and hopefully the
list does not change often anyway.
This commit extends b6be3d3db3

Change-Id: I2682456f53cb2e8d7ea63eae15f8979a3c828401
2014-12-15 14:48:02 +01:00

47 lines
988 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
#
# This file is part of the LibreOffice project.
#
# 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/.
#
$(eval $(call gb_Library_Library,merged))
# gb_MERGEDLIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
$(eval $(call gb_Library_use_library_objects,merged,\
$(gb_MERGEDLIBS) \
))
$(eval $(call gb_Library_use_libraries,merged,\
comphelper \
cppu \
cppuhelper \
i18nlangtag \
$(if $(ENABLE_JAVA), \
jvmaccess \
jvmfwk) \
sal \
salhelper \
ucbhelper \
xmlreader \
$(gb_UWINAPI) \
))
ifeq ($(OS),WNT)
# prevent warning spamming
$(eval $(call gb_Library_add_ldflags,merged,\
/ignore:4049 \
/ignore:4217 \
))
endif
ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_use_libraries,merged,\
AppleRemote \
))
endif
# vim: set noet sw=4 ts=4: