build fix
[LibreOffice.git] / connectivity / Module_connectivity.mk
blobc9275b0f688334f806abc22f972043560b0e55ef
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 Configuration_calc \
15 Configuration_dbase \
16 Configuration_flat \
17 Configuration_mysql \
18 Configuration_odbc \
19 Configuration_writer \
20 Library_calc \
21 Library_dbase \
22 Library_dbpool2 \
23 Library_dbtools \
24 Library_file \
25 Library_flat \
26 Library_mysql \
27 $(if $(filter ANDROID IOS,$(OS)),,Library_odbc) \
28 Library_sdbc2 \
29 Library_writer \
32 $(eval $(call gb_Module_add_l10n_targets,connectivity,\
33 AllLangResTarget_cnr \
34 AllLangResTarget_sdbcl \
35 AllLangResTarget_sdberr \
38 ifneq ($(ENABLE_JAVA),)
39 $(eval $(call gb_Module_add_targets,connectivity,\
40 Configuration_hsqldb \
41 Configuration_jdbc \
42 Jar_sdbc_hsqldb \
43 Library_hsqldb \
44 Library_jdbc \
46 endif
48 ifneq ($(OS),WNT)
50 ifeq ($(ENABLE_TDEAB),TRUE)
51 $(eval $(call gb_Module_add_targets,connectivity,\
52 Configuration_tdeab \
53 Library_tdeab1 \
54 Library_tdeabdrv1 \
56 endif
58 ifeq ($(OS),MACOSX)
59 $(eval $(call gb_Module_add_targets,connectivity,\
60 Configuration_macab \
61 Library_macab1 \
62 Library_macabdrv1 \
64 endif
66 endif
68 ifeq ($(OS),WNT)
69 $(eval $(call gb_Module_add_targets,connectivity,\
70 Configuration_ado \
71 Library_ado \
73 endif
75 ifeq ($(ENABLE_EVOAB2),TRUE)
76 $(eval $(call gb_Module_add_targets,connectivity,\
77 Configuration_evoab \
78 Library_evoab \
80 endif
82 ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
83 $(eval $(call gb_Module_add_targets,connectivity,\
84 Configuration_firebird \
85 Library_firebird_sdbc \
87 endif
89 ifneq ($(BUILD_POSTGRESQL_SDBC),)
90 $(eval $(call gb_Module_add_targets,connectivity,\
91 Configuration_postgresql \
92 Library_postgresql-sdbc \
93 Library_postgresql-sdbc-impl \
94 Package_postgresql-sdbc \
95 Rdb_postgresql-sdbc \
97 endif
99 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
101 $(eval $(call gb_Module_add_targets,connectivity,\
102 Configuration_mork \
103 Executable_mork_helper \
104 Library_mork \
105 Library_mozbootstrap \
108 $(eval $(call gb_Module_add_check_targets,connectivity,\
109 CppunitTest_connectivity_mork \
112 endif
114 ifeq ($(OS),WNT)
115 # "ADO is not available on 64bit" said the commit
116 ifneq ($(CPUNAME),X86_64)
117 $(eval $(call gb_Module_add_check_targets,connectivity,\
118 CppunitTest_connectivity_ado \
120 endif
121 endif
123 ifneq ($(filter QADEVOOO,$(BUILD_TYPE)),)
124 $(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
125 Jar_ConnectivityTools \
127 # FIXME: Does not work. Convert to JUnit.
128 # JunitTest_complex \
130 endif
132 # general tests
133 $(eval $(call gb_Module_add_check_targets,connectivity,\
134 CppunitTest_connectivity_commontools \
137 # vim: set noet sw=4 ts=4: