bump product version to 6.3.0.0.beta1
[LibreOffice.git] / connectivity / Module_connectivity.mk
blob1a29e07989489eac870b8df61b86eb08af82a77a
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,\
14 Library_dbtools \
17 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
19 $(eval $(call gb_Module_add_targets,connectivity,\
20 Configuration_calc \
21 Configuration_dbase \
22 Configuration_flat \
23 Configuration_mysql_jdbc \
24 Configuration_odbc \
25 Configuration_writer \
26 Library_calc \
27 Library_dbase \
28 Library_dbpool2 \
29 Library_file \
30 Library_flat \
31 $(if $(filter ANDROID iOS,$(OS)),,Library_odbc) \
32 Library_mysql_jdbc \
33 Library_sdbc2 \
34 Library_writer \
37 $(eval $(call gb_Module_add_l10n_targets,connectivity,\
38 AllLangMoTarget_cnr \
41 ifneq ($(ENABLE_JAVA),)
42 $(eval $(call gb_Module_add_targets,connectivity,\
43 Configuration_hsqldb \
44 Configuration_jdbc \
45 Jar_sdbc_hsqldb \
46 Library_hsqldb \
47 Library_jdbc \
49 endif
51 ifneq ($(OS),WNT)
53 ifeq ($(OS),MACOSX)
54 $(eval $(call gb_Module_add_targets,connectivity,\
55 Configuration_macab \
56 Library_macab1 \
57 Library_macabdrv1 \
59 endif
61 endif
63 ifeq ($(OS),WNT)
64 $(eval $(call gb_Module_add_targets,connectivity,\
65 Configuration_ado \
66 Library_ado \
68 endif
70 ifeq ($(ENABLE_EVOAB2),TRUE)
71 $(eval $(call gb_Module_add_targets,connectivity,\
72 Configuration_evoab \
73 Library_evoab \
75 endif
77 ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
78 $(eval $(call gb_Module_add_targets,connectivity,\
79 Configuration_firebird \
80 Library_firebird_sdbc \
82 endif
84 ifeq ($(ENABLE_MARIADBC),TRUE)
85 $(eval $(call gb_Module_add_targets,connectivity,\
86 Configuration_mysql \
87 Library_mysqlc \
89 endif
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 \
97 Rdb_postgresql-sdbc \
99 endif
101 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
103 $(eval $(call gb_Module_add_targets,connectivity,\
104 Configuration_mork \
105 Executable_mork_helper \
106 Library_mork \
107 Library_mozbootstrap \
110 $(eval $(call gb_Module_add_check_targets,connectivity,\
111 CppunitTest_connectivity_mork \
114 endif
116 ifeq ($(OS),WNT)
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 \
122 endif
123 endif
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 \
132 endif
134 ifneq ($(CONNECTIVITY_TEST_MYSQL_DRIVER),)
135 $(eval $(call gb_Module_add_check_targets,connectivity,\
136 CppunitTest_connectivity_mysql_test \
138 endif
140 # general tests
141 $(eval $(call gb_Module_add_check_targets,connectivity,\
142 CppunitTest_connectivity_commontools \
143 CppunitTest_connectivity_sharedresources \
146 endif
148 # vim: set noet sw=4 ts=4: