Files
loongoffice/cli_ure/Library_cli_cppuhelper_native.mk
Peter Foley a4df4e9147 convert cli_ure/source/native to new syntax
Change-Id: I7dbb065c8b1b2fef85e6e7f42ef80991102785e0
2012-10-07 10:42:11 +02:00

61 lines
1.5 KiB
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,cli_cppuhelper_native))
# 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":
$(eval $(call gb_Library_add_cxxflags,cli_cppuhelper_native,\
-AI $(gb_Helper_OUTDIRLIBDIR) \
-clr \
-wd4339 \
))
# TODO do not encode filenames here
$(eval $(call gb_Library_add_ldflags,cli_cppuhelper_native,\
-delayload:cppuhelper3MSC.dll \
-delayload:cppu3.dll \
-delayload:sal3.dll \
))
$(eval $(call gb_Library_use_internal_bootstrap_api,cli_cppuhelper_native,\
udkapi \
))
$(eval $(call gb_Library_use_packages,cli_cppuhelper_native,\
cli_ure_cliuno \
))
$(eval $(call gb_Library_use_libraries,cli_cppuhelper_native,\
cppu \
cppuhelper \
sal \
))
$(eval $(call gb_Library_use_system_win32_libs,cli_cppuhelper_native,\
advapi32 \
delayimp \
mscoree \
$(if $(USE_DEBUG_RUNTIME)\
,msvcmrtd \
,msvcmrt \
) \
))
$(eval $(call gb_Library_add_exception_objects,cli_cppuhelper_native,\
cli_ure/source/native/native_bootstrap \
cli_ure/source/native/path \
))
$(eval $(call gb_Library_add_generated_exception_objects,cli_cppuhelper_native,\
CustomTarget/cli_ure/source/native/assembly \
))
# vim: set noet sw=4 ts=4: