2012-07-29 04:49:31 -05:00
|
|
|
# -*- 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/.
|
|
|
|
#
|
|
|
|
|
2012-10-21 18:08:03 -05:00
|
|
|
include $(SRCDIR)/cli_ure/version/version.txt
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_Assembly,cli_cppuhelper))
|
2012-07-29 04:49:31 -05:00
|
|
|
|
|
|
|
# When compiling for CLR, disable "warning C4339: use of undefined type detected
|
|
|
|
# in CLR meta-data - use of this type may lead to a runtime exception":
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_add_cxxflags,cli_cppuhelper,\
|
2012-07-29 04:49:31 -05:00
|
|
|
-AI $(gb_Helper_OUTDIRLIBDIR) \
|
2012-08-25 12:51:40 -05:00
|
|
|
-clr \
|
2012-09-24 10:02:26 -05:00
|
|
|
-wd4339 \
|
2012-07-29 04:49:31 -05:00
|
|
|
))
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_add_ldflags,cli_cppuhelper,\
|
2012-10-21 18:08:03 -05:00
|
|
|
-ignore:4248 \
|
|
|
|
-keyfile:$(call gb_Helper_windows_path,$(SRCDIR)/cli_ure/source/cliuno.snk) \
|
|
|
|
))
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_add_ldflags,cli_cppuhelper,\
|
2013-09-20 18:36:56 -05:00
|
|
|
-delayload:$(call gb_Library_get_filename,cppuhelper) \
|
|
|
|
-delayload:$(call gb_Library_get_filename,cppu) \
|
|
|
|
-delayload:$(call gb_Library_get_filename,sal) \
|
2012-07-29 04:49:31 -05:00
|
|
|
))
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_use_internal_bootstrap_api,cli_cppuhelper,\
|
2012-07-29 04:49:31 -05:00
|
|
|
udkapi \
|
|
|
|
))
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_use_packages,cli_cppuhelper,\
|
2012-08-06 12:32:37 -05:00
|
|
|
cli_ure_cliuno \
|
|
|
|
))
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_use_libraries,cli_cppuhelper,\
|
2012-07-29 04:49:31 -05:00
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2012-09-28 08:31:46 -05:00
|
|
|
sal \
|
|
|
|
))
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,cli_cppuhelper,\
|
2012-09-28 08:31:46 -05:00
|
|
|
advapi32 \
|
2012-07-29 04:49:31 -05:00
|
|
|
delayimp \
|
|
|
|
mscoree \
|
2013-04-18 13:27:05 -05:00
|
|
|
msvcmrt \
|
2012-07-29 04:49:31 -05:00
|
|
|
))
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_add_exception_objects,cli_cppuhelper,\
|
2012-07-29 04:49:31 -05:00
|
|
|
cli_ure/source/native/native_bootstrap \
|
|
|
|
cli_ure/source/native/path \
|
|
|
|
))
|
|
|
|
|
2012-10-28 15:20:14 -05:00
|
|
|
$(eval $(call gb_Library_add_generated_exception_objects,cli_cppuhelper,\
|
2012-07-29 04:49:31 -05:00
|
|
|
CustomTarget/cli_ure/source/native/assembly \
|
|
|
|
))
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|