2012-07-29 11:49:31 +02: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 19:08:03 -04:00
|
|
|
include $(SRCDIR)/cli_ure/version/version.txt
|
|
|
|
|
2012-10-28 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_Assembly,cli_cppuhelper))
|
2012-07-29 11:49:31 +02: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 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_add_cxxflags,cli_cppuhelper,\
|
2013-10-28 11:01:50 +01:00
|
|
|
-AI $(INSTDIR)/$(LIBO_URE_LIB_FOLDER) \
|
2012-08-25 13:51:40 -04:00
|
|
|
-clr \
|
2012-09-24 17:02:26 +02:00
|
|
|
-wd4339 \
|
2012-07-29 11:49:31 +02:00
|
|
|
))
|
|
|
|
|
2012-10-28 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_add_ldflags,cli_cppuhelper,\
|
2012-10-21 19:08:03 -04:00
|
|
|
-ignore:4248 \
|
2014-06-02 00:44:38 +02:00
|
|
|
-keyfile:$(SRCDIR)/cli_ure/source/cliuno.snk \
|
2012-10-21 19:08:03 -04:00
|
|
|
))
|
|
|
|
|
2012-10-28 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_add_ldflags,cli_cppuhelper,\
|
2013-09-21 01:36:56 +02: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 11:49:31 +02:00
|
|
|
))
|
|
|
|
|
2012-10-28 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_use_internal_bootstrap_api,cli_cppuhelper,\
|
2012-07-29 11:49:31 +02:00
|
|
|
udkapi \
|
|
|
|
))
|
|
|
|
|
2012-10-28 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_use_libraries,cli_cppuhelper,\
|
2012-07-29 11:49:31 +02:00
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2012-09-28 15:31:46 +02:00
|
|
|
sal \
|
|
|
|
))
|
|
|
|
|
2012-10-28 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,cli_cppuhelper,\
|
2012-09-28 15:31:46 +02:00
|
|
|
advapi32 \
|
2012-07-29 11:49:31 +02:00
|
|
|
delayimp \
|
|
|
|
mscoree \
|
2013-04-18 20:27:05 +02:00
|
|
|
msvcmrt \
|
2012-07-29 11:49:31 +02:00
|
|
|
))
|
|
|
|
|
2012-10-28 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_add_exception_objects,cli_cppuhelper,\
|
2012-07-29 11:49:31 +02:00
|
|
|
cli_ure/source/native/native_bootstrap \
|
|
|
|
cli_ure/source/native/path \
|
|
|
|
))
|
|
|
|
|
2012-10-28 21:20:14 +01:00
|
|
|
$(eval $(call gb_Library_add_generated_exception_objects,cli_cppuhelper,\
|
2012-07-29 11:49:31 +02:00
|
|
|
CustomTarget/cli_ure/source/native/assembly \
|
|
|
|
))
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|