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))
|
|
|
|
|
2016-12-19 21:41:12 +00:00
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
|
|
|
Library_dbtools \
|
|
|
|
))
|
|
|
|
|
|
|
|
ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
|
|
|
|
|
2011-12-18 15:38:06 -05:00
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_calc \
|
|
|
|
Configuration_dbase \
|
|
|
|
Configuration_flat \
|
2018-11-23 17:49:54 +01:00
|
|
|
Configuration_mysql_jdbc \
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_odbc \
|
2019-09-17 12:30:12 +02:00
|
|
|
Configuration_mysql_jdbc \
|
2017-07-17 08:02:54 +02:00
|
|
|
Configuration_writer \
|
2011-12-22 16:59:41 -05:00
|
|
|
Library_calc \
|
2012-04-06 17:29:45 +02:00
|
|
|
Library_dbase \
|
|
|
|
Library_dbpool2 \
|
2011-12-25 11:40:33 -05:00
|
|
|
Library_file \
|
2011-12-25 11:54:34 -05:00
|
|
|
Library_flat \
|
2018-10-31 19:06:30 +01:00
|
|
|
$(if $(filter ANDROID iOS,$(OS)),,Library_odbc) \
|
2018-11-23 17:49:54 +01:00
|
|
|
Library_mysql_jdbc \
|
2012-04-06 17:29:45 +02:00
|
|
|
Library_sdbc2 \
|
2017-07-17 08:02:54 +02:00
|
|
|
Library_writer \
|
2011-12-18 15:38:06 -05:00
|
|
|
))
|
|
|
|
|
2013-11-13 02:12:48 +01:00
|
|
|
$(eval $(call gb_Module_add_l10n_targets,connectivity,\
|
2017-06-11 20:56:30 +01:00
|
|
|
AllLangMoTarget_cnr \
|
2013-11-13 02:12:48 +01:00
|
|
|
))
|
|
|
|
|
2013-08-19 00:41:12 +03:00
|
|
|
ifneq ($(ENABLE_JAVA),)
|
2011-12-19 21:21:22 -05:00
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2018-04-11 15:39:57 +01:00
|
|
|
Configuration_hsqldb \
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_jdbc \
|
2018-04-11 15:39:57 +01:00
|
|
|
Jar_sdbc_hsqldb \
|
|
|
|
Library_hsqldb \
|
2011-12-25 11:16:20 -05:00
|
|
|
Library_jdbc \
|
2011-12-19 21:21:22 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-12-21 21:43:58 -05:00
|
|
|
ifeq ($(OS),MACOSX)
|
|
|
|
$(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 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-12-12 01:07:09 +02:00
|
|
|
ifeq ($(OS),WNT)
|
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 \
|
|
|
|
))
|
2021-06-01 07:40:12 +02:00
|
|
|
|
|
|
|
# "ADO is not available on 64bit" said the commit
|
|
|
|
ifeq ($(CPUNAME),INTEL)
|
|
|
|
$(eval $(call gb_Module_add_check_targets,connectivity,\
|
|
|
|
CppunitTest_connectivity_ado \
|
|
|
|
))
|
2011-12-20 12:15:42 -05:00
|
|
|
endif
|
2021-06-01 07:40:12 +02:00
|
|
|
endif # WNT
|
2011-12-20 12:15:42 -05:00
|
|
|
|
2011-12-22 16:34:35 -05:00
|
|
|
ifeq ($(ENABLE_EVOAB2),TRUE)
|
|
|
|
$(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
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2013-05-10 18:21:30 +00:00
|
|
|
ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
|
|
|
|
$(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
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2018-08-16 16:35:17 +02:00
|
|
|
ifeq ($(ENABLE_MARIADBC),TRUE)
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
|
|
|
Configuration_mysql \
|
|
|
|
Library_mysqlc \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2014-03-10 22:41:42 +01:00
|
|
|
ifneq ($(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 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2021-02-04 12:41:54 +00:00
|
|
|
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
|
|
|
Library_mozbootstrap \
|
|
|
|
))
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2012-05-25 12:03:17 +02:00
|
|
|
ifneq ($(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
|
|
|
|
|
|
|
endif
|
2012-04-07 07:33:39 +02:00
|
|
|
|
2018-10-22 11:27:55 +02:00
|
|
|
ifneq ($(CONNECTIVITY_TEST_MYSQL_DRIVER),)
|
|
|
|
$(eval $(call gb_Module_add_check_targets,connectivity,\
|
|
|
|
CppunitTest_connectivity_mysql_test \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2013-02-04 11:12:57 +01:00
|
|
|
# general tests
|
|
|
|
$(eval $(call gb_Module_add_check_targets,connectivity,\
|
|
|
|
CppunitTest_connectivity_commontools \
|
2019-05-02 13:48:20 -07:00
|
|
|
CppunitTest_connectivity_sharedresources \
|
2013-02-04 11:12:57 +01:00
|
|
|
))
|
|
|
|
|
2021-06-01 07:40:12 +02:00
|
|
|
endif # DBCONNECTIVITY
|
2016-12-19 21:41:12 +00:00
|
|
|
|
2011-12-18 15:38:06 -05:00
|
|
|
# vim: set noet sw=4 ts=4:
|