Bump version to 4.3-4
[LibreOffice.git] / connectivity / CppunitTest_connectivity_ado.mk
blob33d78aa8eb38c5d985829d50613f7d7cab6c9e16
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_external,connectivity_ado,boost_headers))
20 $(eval $(call gb_CppunitTest_use_api,connectivity_ado,\
21 udkapi \
22 offapi \
25 $(eval $(call gb_CppunitTest_use_ure,connectivity_ado))
27 $(eval $(call gb_CppunitTest_use_sdk_api,connectivity_ado))
29 ifeq ($(COM),GCC)
30 $(eval $(call gb_CppunitTest_add_cxxflags,connectivity_ado,\
31 -fpermissive \
33 endif
35 ifeq ($(WINDOWS_SDK_VERSION),80)
36 $(eval $(call gb_CppunitTest_add_defs,connectivity_ado,\
37 -DNTDDI_VERSION=0x0601 \
39 endif
41 $(eval $(call gb_CppunitTest_add_exception_objects,connectivity_ado, \
42 connectivity/qa/connectivity/ado/DriverTest \
45 $(eval $(call gb_CppunitTest_use_libraries,connectivity_ado, \
46 comphelper \
47 cppu \
48 cppuhelper \
49 dbtools \
50 i18nlangtag \
51 ado \
52 sal \
53 salhelper \
54 sb \
55 test \
56 unotest \
57 ucbhelper \
58 utl \
59 $(gb_UWINAPI) \
62 $(eval $(call gb_CppunitTest_use_components,connectivity_ado,\
63 configmgr/source/configmgr \
64 i18npool/util/i18npool \
65 connectivity/source/drivers/ado/ado \
66 ucb/source/core/ucb1 \
67 ucb/source/ucp/file/ucpfile1 \
70 $(eval $(call gb_CppunitTest_use_configuration,connectivity_ado))
72 $(call gb_CppunitTest_get_target,connectivity_ado) : $(WORKDIR)/CppunitTest/TS001018407.mdb
73 $(WORKDIR)/CppunitTest/TS001018407.mdb : $(SRCDIR)/connectivity/qa/connectivity/ado/TS001018407.mdb
74 mkdir -p $(dir $@)
75 $(call gb_Deliver_deliver,$<,$@)
77 # vim: set noet sw=4 ts=4: