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_writer \
31 $(if
$(filter ANDROID iOS
,$(OS
)),,Library_odbc
) \
37 $(eval
$(call gb_Module_add_l10n_targets
,connectivity
,\
41 ifneq ($(ENABLE_JAVA
),)
42 $(eval
$(call gb_Module_add_targets
,connectivity
,\
43 Configuration_hsqldb \
54 $(eval
$(call gb_Module_add_targets
,connectivity
,\
64 $(eval
$(call gb_Module_add_targets
,connectivity
,\
70 ifeq ($(ENABLE_EVOAB2
),TRUE
)
71 $(eval
$(call gb_Module_add_targets
,connectivity
,\
77 ifeq ($(ENABLE_FIREBIRD_SDBC
),TRUE
)
78 $(eval
$(call gb_Module_add_targets
,connectivity
,\
79 Configuration_firebird \
80 Library_firebird_sdbc \
84 ifeq ($(ENABLE_MARIADBC
),TRUE
)
85 $(eval
$(call gb_Module_add_targets
,connectivity
,\
91 ifneq ($(BUILD_POSTGRESQL_SDBC
),)
92 $(eval
$(call gb_Module_add_targets
,connectivity
,\
93 Configuration_postgresql \
94 Library_postgresql-sdbc \
95 Library_postgresql-sdbc-impl \
96 Package_postgresql-sdbc \
101 ifneq (,$(filter DESKTOP
,$(BUILD_TYPE
)))
103 $(eval
$(call gb_Module_add_targets
,connectivity
,\
105 Executable_mork_helper \
107 Library_mozbootstrap \
110 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
111 CppunitTest_connectivity_mork \
117 # "ADO is not available on 64bit" said the commit
118 ifneq ($(CPUNAME
),X86_64
)
119 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
120 CppunitTest_connectivity_ado \
125 ifneq ($(filter QADEVOOO
,$(BUILD_TYPE
)),)
126 $(eval
$(call gb_Module_add_subsequentcheck_targets
,connectivity
,\
127 Jar_ConnectivityTools \
129 # FIXME: Does not work. Convert to JUnit.
130 # JunitTest_complex \
134 ifneq ($(CONNECTIVITY_TEST_MYSQL_DRIVER
),)
135 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
136 CppunitTest_connectivity_mysql_test \
141 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
142 CppunitTest_connectivity_commontools \
143 CppunitTest_connectivity_sharedresources \
148 # vim: set noet sw=4 ts=4: