diff options
author | Andras Timar <atimar@suse.com> | 2012-11-11 18:24:14 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-11-11 18:24:14 +0100 |
commit | 06ec1c089519ef3249464aa09eadf03a8db93a39 (patch) | |
tree | 85b2eb6d8ba6ca95e18e1ff82151224cb14106f6 /connectivity/CppunitTest_connectivity_ado.mk | |
parent | 8e0d67bed54633d555a4601a5d79e2d5ba7ab2bb (diff) | |
parent | 3f899eae02eaad0b967de749fe09b869ba93ad6d (diff) |
Merge branch 'master' into feature/killsdf
Conflicts:
Repository.mk
RepositoryFixes.mk
connectivity/prj/build.lst
extensions/prj/build.lst
filter/prj/build.lst
fpicker/prj/build.lst
l10ntools/StaticLibrary_transex.mk
saxon/build.xml
shell/prj/build.lst
solenv/gbuild/AllLangResTarget.mk
solenv/gbuild/Configuration.mk
solenv/gbuild/UI.mk
ucb/source/ucp/webdav/webdavcontent.cxx
Diffstat (limited to 'connectivity/CppunitTest_connectivity_ado.mk')
-rw-r--r-- | connectivity/CppunitTest_connectivity_ado.mk | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/connectivity/CppunitTest_connectivity_ado.mk b/connectivity/CppunitTest_connectivity_ado.mk new file mode 100644 index 000000000000..784aa7864533 --- /dev/null +++ b/connectivity/CppunitTest_connectivity_ado.mk @@ -0,0 +1,75 @@ +# -*- 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_ado)) + +$(eval $(call gb_CppunitTest_set_include,connectivity_ado,\ + -I$(SRCDIR)/connectivity/source/inc \ + -I$(SRCDIR)/connectivity/source/drivers/ado \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_CppunitTest_use_api,connectivity_ado,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_CppunitTest_use_ure,connectivity_ado)) + +$(eval $(call gb_CppunitTest_use_sdk_api,connectivity_ado)) + +ifeq ($(COM),GCC) +$(eval $(call gb_CppunitTest_add_cxxflags,connectivity_ado,\ + -fpermissive \ +)) +endif + +ifeq ($(WINDOWS_SDK_VERSION),80) +$(eval $(call gb_CppunitTest_add_defs,connectivity_ado,\ + -DNTDDI_VERSION=0x0601 \ +)) +endif + +$(eval $(call gb_CppunitTest_add_exception_objects,connectivity_ado, \ + connectivity/qa/connectivity/ado/DriverTest \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,connectivity_ado, \ + comphelper \ + cppu \ + cppuhelper \ + dbtools \ + i18nisolang1 \ + ado \ + sal \ + salhelper \ + sb \ + test \ + unotest \ + ucbhelper \ + utl \ + $(gb_UWINAPI) \ +)) + +$(eval $(call gb_CppunitTest_use_components,connectivity_ado,\ + configmgr/source/configmgr \ + i18npool/util/i18npool \ + connectivity/source/drivers/ado/ado \ + ucb/source/core/ucb1 \ + ucb/source/ucp/file/ucpfile1 \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,connectivity_ado)) + +$(call gb_CppunitTest_get_target,connectivity_ado) : $(WORKDIR)/CppunitTest/TS001018407.mdb +$(WORKDIR)/CppunitTest/TS001018407.mdb : $(SRCDIR)/connectivity/qa/connectivity/ado/TS001018407.mdb + mkdir -p $(dir $@) + $(call gb_Deliver_deliver,$<,$@) + +# vim: set noet sw=4 ts=4: |