Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / connectivity / CppunitTest_connectivity_ado.mk
blob784aa786453388e703ab92c4e49f43bcb42c39d5
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_CppunitTest_CppunitTest,connectivity_ado))
12 $(eval $(call gb_CppunitTest_set_include,connectivity_ado,\
13 -I$(SRCDIR)/connectivity/source/inc \
14 -I$(SRCDIR)/connectivity/source/drivers/ado \
15 $$(INCLUDE) \
18 $(eval $(call gb_CppunitTest_use_api,connectivity_ado,\
19 udkapi \
20 offapi \
23 $(eval $(call gb_CppunitTest_use_ure,connectivity_ado))
25 $(eval $(call gb_CppunitTest_use_sdk_api,connectivity_ado))
27 ifeq ($(COM),GCC)
28 $(eval $(call gb_CppunitTest_add_cxxflags,connectivity_ado,\
29 -fpermissive \
31 endif
33 ifeq ($(WINDOWS_SDK_VERSION),80)
34 $(eval $(call gb_CppunitTest_add_defs,connectivity_ado,\
35 -DNTDDI_VERSION=0x0601 \
37 endif
39 $(eval $(call gb_CppunitTest_add_exception_objects,connectivity_ado, \
40 connectivity/qa/connectivity/ado/DriverTest \
43 $(eval $(call gb_CppunitTest_use_libraries,connectivity_ado, \
44 comphelper \
45 cppu \
46 cppuhelper \
47 dbtools \
48 i18nisolang1 \
49 ado \
50 sal \
51 salhelper \
52 sb \
53 test \
54 unotest \
55 ucbhelper \
56 utl \
57 $(gb_UWINAPI) \
60 $(eval $(call gb_CppunitTest_use_components,connectivity_ado,\
61 configmgr/source/configmgr \
62 i18npool/util/i18npool \
63 connectivity/source/drivers/ado/ado \
64 ucb/source/core/ucb1 \
65 ucb/source/ucp/file/ucpfile1 \
68 $(eval $(call gb_CppunitTest_use_configuration,connectivity_ado))
70 $(call gb_CppunitTest_get_target,connectivity_ado) : $(WORKDIR)/CppunitTest/TS001018407.mdb
71 $(WORKDIR)/CppunitTest/TS001018407.mdb : $(SRCDIR)/connectivity/qa/connectivity/ado/TS001018407.mdb
72 mkdir -p $(dir $@)
73 $(call gb_Deliver_deliver,$<,$@)
75 # vim: set noet sw=4 ts=4: