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 \
55 $(eval
$(call gb_Module_add_targets
,connectivity
,\
65 $(eval
$(call gb_Module_add_targets
,connectivity
,\
71 ifeq ($(ENABLE_EVOAB2
),TRUE
)
72 $(eval
$(call gb_Module_add_targets
,connectivity
,\
78 ifeq ($(ENABLE_FIREBIRD_SDBC
),TRUE
)
79 $(eval
$(call gb_Module_add_targets
,connectivity
,\
80 Configuration_firebird \
81 Library_firebird_sdbc \
85 ifeq ($(ENABLE_MARIADBC
),TRUE
)
86 $(eval
$(call gb_Module_add_targets
,connectivity
,\
92 ifneq ($(BUILD_POSTGRESQL_SDBC
),)
93 $(eval
$(call gb_Module_add_targets
,connectivity
,\
94 Configuration_postgresql \
95 Library_postgresql-sdbc \
96 Library_postgresql-sdbc-impl \
97 Package_postgresql-sdbc \
102 ifneq (,$(filter DESKTOP
,$(BUILD_TYPE
)))
104 $(eval
$(call gb_Module_add_targets
,connectivity
,\
106 Executable_mork_helper \
108 Library_mozbootstrap \
111 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
112 CppunitTest_connectivity_mork \
118 # "ADO is not available on 64bit" said the commit
119 ifneq ($(CPUNAME
),X86_64
)
120 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
121 CppunitTest_connectivity_ado \
126 ifneq ($(filter QADEVOOO
,$(BUILD_TYPE
)),)
127 $(eval
$(call gb_Module_add_subsequentcheck_targets
,connectivity
,\
128 Jar_ConnectivityTools \
130 # FIXME: Does not work. Convert to JUnit.
131 # JunitTest_complex \
135 ifneq ($(CONNECTIVITY_TEST_MYSQL_DRIVER
),)
136 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
137 CppunitTest_connectivity_mysql_test \
142 $(eval
$(call gb_Module_add_check_targets
,connectivity
,\
143 CppunitTest_connectivity_commontools \
144 CppunitTest_connectivity_sharedresources \
149 # vim: set noet sw=4 ts=4: