2011-12-18 15:38:06 -05:00
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
#
2013-04-24 17:14:03 +01:00
# This file is part of the LibreOffice project.
2011-12-18 15:38:06 -05:00
#
2013-04-24 17:14:03 +01:00
# 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/.
2011-12-18 15:38:06 -05:00
#
$( eval $ ( call gb_Module_Module ,connectivity ) )
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-04-06 20:10:17 +02:00
Configuration_calc \
Configuration_dbase \
Configuration_flat \
Configuration_mysql \
Configuration_odbc \
2011-12-22 16:59:41 -05:00
Library_calc \
2012-04-06 17:29:45 +02:00
Library_dbase \
Library_dbpool2 \
Library_dbtools \
2011-12-25 11:40:33 -05:00
Library_file \
2011-12-25 11:54:34 -05:00
Library_flat \
2012-04-06 17:29:45 +02:00
Library_mysql \
2013-12-04 12:12:01 -02:00
$( if $( filter ANDROID IOS,$( OS) ) ,,Library_odbc) \
2012-04-06 17:29:45 +02:00
Library_sdbc2 \
2011-12-18 15:38:06 -05:00
) )
2013-11-13 02:12:48 +01:00
$( eval $ ( call gb_Module_add_l 10n_targets ,connectivity ,\
AllLangResTarget_cnr \
AllLangResTarget_sdbcl \
AllLangResTarget_sdberr \
) )
2013-08-19 00:41:12 +03:00
i f n e q ( $( ENABLE_JAVA ) , )
2011-12-19 21:21:22 -05:00
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-04-06 20:10:17 +02:00
Configuration_hsqldb \
Configuration_jdbc \
2011-12-22 19:55:36 -05:00
Jar_sdbc_hsqldb \
2012-03-27 16:36:31 +02:00
Library_hsqldb \
2011-12-25 11:16:20 -05:00
Library_jdbc \
2011-12-19 21:21:22 -05:00
) )
e n d i f
2012-12-12 01:07:09 +02:00
i f n e q ( $( OS ) , W N T )
2011-12-21 21:43:58 -05:00
2011-12-20 19:41:57 -05:00
i f e q ( $( ENABLE_KAB ) , T R U E )
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-04-06 20:10:17 +02:00
Configuration_kab \
2011-12-20 19:41:57 -05:00
Library_kab1 \
Library_kabdrv1 \
) )
e n d i f
2011-12-21 21:43:58 -05:00
2012-08-18 16:17:12 +02:00
i f e q ( $( ENABLE_TDEAB ) , T R U E )
2012-05-23 13:58:31 +02:00
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
Configuration_tdeab \
Library_tdeab1 \
Library_tdeabdrv1 \
) )
e n d i f
2011-12-21 21:43:58 -05:00
i f e q ( $( OS ) , M A C O S X )
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-04-06 20:10:17 +02:00
Configuration_macab \
2011-12-21 21:43:58 -05:00
Library_macab1 \
Library_macabdrv1 \
) )
e n d i f
2011-12-20 19:41:57 -05:00
e n d i f
2012-12-12 01:07:09 +02:00
i f e q ( $( OS ) , W N T )
2011-12-20 12:15:42 -05:00
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-04-06 20:10:17 +02:00
Configuration_ado \
2011-12-20 12:15:42 -05:00
Library_ado \
) )
e n d i f
2011-12-22 16:34:35 -05:00
i f e q ( $( ENABLE_EVOAB 2) , T R U E )
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-04-14 09:53:48 +02:00
Configuration_evoab \
Library_evoab \
2011-12-22 16:34:35 -05:00
) )
e n d i f
2013-05-10 18:21:30 +00:00
i f e q ( $( ENABLE_FIREBIRD_SDBC ) , T R U E )
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
Configuration_firebird \
2013-07-11 06:48:30 +01:00
Library_firebird_sdbc \
2013-05-10 18:21:30 +00:00
) )
e n d i f
2014-03-10 22:41:42 +01:00
i f n e q ( $( BUILD_POSTGRESQL_SDBC ) , )
2012-04-05 10:53:08 +02:00
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-04-06 20:10:17 +02:00
Configuration_postgresql \
2012-04-05 10:53:08 +02:00
Library_postgresql-sdbc \
Library_postgresql-sdbc-impl \
Package_postgresql-sdbc \
Rdb_postgresql-sdbc \
) )
e n d i f
2012-09-18 11:23:52 +02:00
i f e q ( $( OS ) , W N T )
2014-03-11 11:09:57 +01:00
i f n e q ( $( WITH_MOZAB 4WIN ) , )
2012-04-05 17:59:36 +02:00
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-09-18 18:25:29 +02:00
Configuration_mozab \
2012-04-05 17:59:36 +02:00
Library_mozab \
Library_mozabdrv \
) )
2012-12-05 17:21:40 +01:00
e l s e
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
Library_mozbootstrap \
) )
2012-09-18 11:23:52 +02:00
e n d i f
2012-10-10 13:06:29 +03:00
e l s e i f n e q ( , $( filter DESKTOP ,$ ( BUILD_TYPE ) ) )
2012-09-18 11:23:52 +02:00
2012-04-06 20:10:17 +02:00
$( eval $ ( call gb_Module_add_targets ,connectivity ,\
2012-09-18 11:23:52 +02:00
Configuration_mork \
2012-09-18 18:25:29 +02:00
Executable_mork_helper \
2012-09-18 11:23:52 +02:00
Library_mork \
2012-11-07 13:37:57 +01:00
Library_mozbootstrap \
2012-04-06 20:10:17 +02:00
) )
2012-10-10 11:12:37 +01:00
$( eval $ ( call gb_Module_add_check_targets ,connectivity ,\
CppunitTest_connectivity_mork \
) )
2012-04-05 17:59:36 +02:00
e n d i f
2012-12-12 01:07:09 +02:00
i f e q ( $( OS ) , W N T )
2013-07-18 12:41:08 +02:00
# HACK: FIXME: TODO: only disabled to not make the build fail when targeting Win XP with VS 2012
#warn:legacy.osl:2120:7064:connectivity/source/commontools/dbmetadata.cxx:177: caught an exception!
#in function:const class rtl::OUString &__cdecl dbtools::`anonymous-namespace'::lcl_getConnectionStringSetting(const struct dbtools::DatabaseMetaData_Impl &,class boost::optional<class rtl::OUString> &,class rtl::OUString (__cdecl com::sun::star::sdbc::XDatabaseMetaData::* )(void))
#type: com.sun.star.sdbc.SQLException
#message: Fehler bei einem aus mehreren Schritten bestehenden OLE DB-Vorgang. Pr<50> fen Sie die einzelnen OLE DB-Statuswerte, falls vorhanden. Daten wurden nicht verarbeitet .
#context: class connectivity::ado::ODatabaseMetaData
#
#Assertion failed: this->is_initialized(), file C:\cygwin\home\buildslave\build\workdir\wntmsci14.pro\UnpackedTarball\boost\boost/optional/optional.hpp, line 638
i f n e q ( $( VCVER ) _ $( WINDOWS_SDK_VERSION ) , 1 1 0 _ 7 0 )
2012-11-07 23:15:37 +01:00
$( eval $ ( call gb_Module_add_check_targets ,connectivity ,\
CppunitTest_connectivity_ado \
) )
e n d i f
2013-07-18 12:41:08 +02:00
e n d i f
2012-11-03 09:38:14 +01:00
2012-05-25 12:03:17 +02:00
i f n e q ( $( filter QADEVOOO ,$ ( BUILD_TYPE ) ) , )
$( eval $ ( call gb_Module_add_subsequentcheck_targets ,connectivity ,\
Jar_ConnectivityTools \
) )
2012-05-01 08:55:41 +02:00
# FIXME: Does not work. Convert to JUnit.
2012-09-30 19:53:40 +02:00
# JunitTest_complex \
2012-05-25 12:03:17 +02:00
e n d i f
2012-04-07 07:33:39 +02:00
2013-02-04 11:12:57 +01:00
# general tests
$( eval $ ( call gb_Module_add_check_targets ,connectivity ,\
CppunitTest_connectivity_commontools \
) )
2011-12-18 15:38:06 -05:00
# vim: set noet sw=4 ts=4: