2013-02-04 04:12:57 -06: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/.
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_CppunitTest,connectivity_commontools))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,connectivity_commontools,\
|
|
|
|
-I$(SRCDIR)/connectivity/source/inc \
|
|
|
|
$$(INCLUDE) \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,connectivity_commontools))
|
2014-06-04 01:45:54 -05:00
|
|
|
$(eval $(call gb_CppunitTest_use_vcl,connectivity_commontools))
|
2013-02-04 04:12:57 -06:00
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_external,connectivity_commontools,boost_headers))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,connectivity_commontools))
|
|
|
|
|
|
|
|
ifeq ($(COM),GCC)
|
2013-02-05 10:07:59 -06:00
|
|
|
ifneq ($(COM_GCC_IS_CLANG),TRUE)
|
2013-02-04 04:12:57 -06:00
|
|
|
$(eval $(call gb_CppunitTest_add_cxxflags,connectivity_commontools,\
|
|
|
|
-fpermissive \
|
|
|
|
))
|
|
|
|
endif
|
2013-02-05 10:07:59 -06:00
|
|
|
endif
|
2013-02-04 04:12:57 -06:00
|
|
|
|
|
|
|
ifeq ($(WINDOWS_SDK_VERSION),80)
|
|
|
|
$(eval $(call gb_CppunitTest_add_defs,connectivity_commontools,\
|
|
|
|
-DNTDDI_VERSION=0x0601 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,connectivity_commontools, \
|
|
|
|
connectivity/qa/connectivity/commontools/FValue_test \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_library_objects,connectivity_commontools,dbtools))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,connectivity_commontools, \
|
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2013-04-05 11:40:39 -05:00
|
|
|
i18nlangtag \
|
2013-08-18 16:41:12 -05:00
|
|
|
$(if $(ENABLE_JAVA), \
|
2013-04-04 15:46:53 -05:00
|
|
|
jvmaccess) \
|
2013-02-04 04:12:57 -06:00
|
|
|
sal \
|
|
|
|
salhelper \
|
|
|
|
test \
|
|
|
|
unotest \
|
|
|
|
utl \
|
|
|
|
tl \
|
2013-11-09 11:39:18 -06:00
|
|
|
svt \
|
2013-02-04 04:12:57 -06:00
|
|
|
$(gb_UWINAPI) \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,connectivity_commontools,\
|
|
|
|
configmgr/source/configmgr \
|
|
|
|
i18npool/util/i18npool \
|
|
|
|
ucb/source/core/ucb1 \
|
|
|
|
ucb/source/ucp/file/ucpfile1 \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,connectivity_commontools))
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|