1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval
$(call gb_Module_Module
,connectivity
))
13 $(eval
$(call gb_Module_add_targets
,connectivity
,\
17 ifneq (,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
19 $(eval
$(call gb_Module_add_targets
,connectivity
,\
23 Configuration_mysql_jdbc \
25 Configuration_mysql_jdbc \
26 Configuration_writer \
32 $(if
$(filter ANDROID iOS
,$(OS
)),,Library_odbc
) \
38 $(eval
$(call gb_Module_add_l10n_targets
,connectivity
,\
42 ifneq ($(ENABLE_JAVA
),)
43 $(eval
$(call gb_Module_add_targets
,connectivity
,\
44 Configuration_hsqldb \
53 $(eval
$(call gb_Module_add_targets
,connectivity
,\
61 $(eval
$(call gb_Module_add_targets
,connectivity
,\
66 # "ADO is not available on 64bit" said the commit
67 ifeq ($(CPUNAME
),INTEL
)
68 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
69 CppunitTest_connectivity_ado \
74 ifeq ($(ENABLE_EVOAB2
),TRUE
)
75 $(eval
$(call gb_Module_add_targets
,connectivity
,\
81 ifeq ($(ENABLE_FIREBIRD_SDBC
),TRUE
)
82 $(eval
$(call gb_Module_add_targets
,connectivity
,\
83 Configuration_firebird \
84 Library_firebird_sdbc \
88 ifeq ($(ENABLE_MARIADBC
),TRUE
)
89 $(eval
$(call gb_Module_add_targets
,connectivity
,\
95 ifneq ($(BUILD_POSTGRESQL_SDBC
),)
96 $(eval
$(call gb_Module_add_targets
,connectivity
,\
97 Configuration_postgresql \
98 Library_postgresql-sdbc \
99 Library_postgresql-sdbc-impl \
100 Package_postgresql-sdbc \
101 Rdb_postgresql-sdbc \
105 ifneq (,$(filter DESKTOP
,$(BUILD_TYPE
)))
107 $(eval
$(call gb_Module_add_targets
,connectivity
,\
108 Library_mozbootstrap \
113 ifneq ($(filter QADEVOOO
,$(BUILD_TYPE
)),)
114 $(eval
$(call gb_Module_add_subsequentcheck_targets
,connectivity
,\
115 Jar_ConnectivityTools \
117 # FIXME: Does not work. Convert to JUnit.
118 # JunitTest_complex \
122 ifneq ($(CONNECTIVITY_TEST_MYSQL_DRIVER
),)
123 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
124 CppunitTest_connectivity_mysql_test \
129 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
130 CppunitTest_connectivity_commontools \
131 CppunitTest_connectivity_sharedresources \
134 endif # DBCONNECTIVITY
136 # vim: set noet sw=4 ts=4: