build fix
[LibreOffice.git] / connectivity / CppunitTest_connectivity_ado.mk
blobce2e2c2c503240cf2f811c32589f653472dbc658
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_sdk_api,connectivity_ado))
22 $(eval $(call gb_CppunitTest_use_ure,connectivity_ado))
23 $(eval $(call gb_CppunitTest_use_vcl,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 $(eval $(call gb_CppunitTest_add_exception_objects,connectivity_ado, \
34 connectivity/qa/connectivity/ado/DriverTest \
37 $(eval $(call gb_CppunitTest_use_libraries,connectivity_ado, \
38 comphelper \
39 cppu \
40 cppuhelper \
41 dbtools \
42 i18nlangtag \
43 ado \
44 sal \
45 salhelper \
46 sb \
47 test \
48 unotest \
49 ucbhelper \
50 utl \
51 $(gb_UWINAPI) \
54 $(eval $(call gb_CppunitTest_use_components,connectivity_ado,\
55 configmgr/source/configmgr \
56 i18npool/util/i18npool \
57 connectivity/source/drivers/ado/ado \
58 ucb/source/core/ucb1 \
59 ucb/source/ucp/file/ucpfile1 \
62 $(eval $(call gb_CppunitTest_use_configuration,connectivity_ado))
64 $(call gb_CppunitTest_get_target,connectivity_ado) : $(WORKDIR)/CppunitTest/TS001018407.mdb
65 $(WORKDIR)/CppunitTest/TS001018407.mdb : $(SRCDIR)/connectivity/qa/connectivity/ado/TS001018407.mdb
66 mkdir -p $(dir $@)
67 $(call gb_Deliver_deliver,$<,$@)
69 # vim: set noet sw=4 ts=4: