Fix typo in code
[LibreOffice.git] / connectivity / Module_connectivity.mk
blobb952594b008457b3a991424480e1afa5e4c4a830
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_mysql_jdbc \
26 Configuration_writer \
27 Library_calc \
28 Library_dbase \
29 Library_dbpool2 \
30 Library_file \
31 Library_flat \
32 $(if $(filter ANDROID iOS,$(OS)),,Library_odbc) \
33 Library_mysql_jdbc \
34 Library_sdbc2 \
35 Library_writer \
38 $(eval $(call gb_Module_add_l10n_targets,connectivity,\
39 AllLangMoTarget_cnr \
42 ifneq ($(ENABLE_JAVA),)
43 $(eval $(call gb_Module_add_targets,connectivity,\
44 Configuration_hsqldb \
45 Configuration_jdbc \
46 Jar_sdbc_hsqldb \
47 Library_hsqldb \
48 Library_jdbc \
50 endif
52 ifeq ($(OS),MACOSX)
53 $(eval $(call gb_Module_add_targets,connectivity,\
54 Configuration_macab \
55 Library_macab1 \
56 Library_macabdrv1 \
58 endif
60 ifeq ($(OS),WNT)
61 $(eval $(call gb_Module_add_targets,connectivity,\
62 Configuration_ado \
63 Library_ado \
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 \
71 endif
72 endif # WNT
74 ifeq ($(ENABLE_EVOAB2),TRUE)
75 $(eval $(call gb_Module_add_targets,connectivity,\
76 Configuration_evoab \
77 Library_evoab \
79 endif
81 ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
82 $(eval $(call gb_Module_add_targets,connectivity,\
83 Configuration_firebird \
84 Library_firebird_sdbc \
86 endif
88 ifeq ($(ENABLE_MARIADBC),TRUE)
89 $(eval $(call gb_Module_add_targets,connectivity,\
90 Configuration_mysql \
91 Library_mysqlc \
93 endif
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 \
103 endif
105 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
107 $(eval $(call gb_Module_add_targets,connectivity,\
108 Library_mozbootstrap \
111 endif
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 \
120 endif
122 ifneq ($(CONNECTIVITY_TEST_MYSQL_DRIVER),)
123 $(eval $(call gb_Module_add_check_targets,connectivity,\
124 CppunitTest_connectivity_mysql_test \
126 endif
128 # general tests
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: