Bump version to 5.0-14
[LibreOffice.git] / connectivity / Module_connectivity.mk
blob4616eb3d329248293e50b50fedb236bf2acedc9b
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 Library_calc \
20 Library_dbase \
21 Library_dbpool2 \
22 Library_dbtools \
23 Library_file \
24 Library_flat \
25 Library_mysql \
26 $(if $(filter ANDROID IOS,$(OS)),,Library_odbc) \
27 Library_sdbc2 \
30 $(eval $(call gb_Module_add_l10n_targets,connectivity,\
31 AllLangResTarget_cnr \
32 AllLangResTarget_sdbcl \
33 AllLangResTarget_sdberr \
36 ifneq ($(ENABLE_JAVA),)
37 $(eval $(call gb_Module_add_targets,connectivity,\
38 Configuration_hsqldb \
39 Configuration_jdbc \
40 Jar_sdbc_hsqldb \
41 Library_hsqldb \
42 Library_jdbc \
44 endif
46 ifneq ($(OS),WNT)
48 ifeq ($(ENABLE_KAB),TRUE)
49 $(eval $(call gb_Module_add_targets,connectivity,\
50 Configuration_kab \
51 Library_kab1 \
52 Library_kabdrv1 \
54 endif
56 ifeq ($(ENABLE_TDEAB),TRUE)
57 $(eval $(call gb_Module_add_targets,connectivity,\
58 Configuration_tdeab \
59 Library_tdeab1 \
60 Library_tdeabdrv1 \
62 endif
64 ifeq ($(OS),MACOSX)
65 $(eval $(call gb_Module_add_targets,connectivity,\
66 Configuration_macab \
67 Library_macab1 \
68 Library_macabdrv1 \
70 endif
72 endif
74 ifeq ($(OS),WNT)
75 $(eval $(call gb_Module_add_targets,connectivity,\
76 Configuration_ado \
77 Library_ado \
79 endif
81 ifeq ($(ENABLE_EVOAB2),TRUE)
82 $(eval $(call gb_Module_add_targets,connectivity,\
83 Configuration_evoab \
84 Library_evoab \
86 endif
88 ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
89 $(eval $(call gb_Module_add_targets,connectivity,\
90 Configuration_firebird \
91 Library_firebird_sdbc \
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 ($(WITH_MOZAB4WIN),)
107 $(eval $(call gb_Module_add_targets,connectivity,\
108 Configuration_mozab \
109 Library_mozab \
110 Library_mozabdrv \
113 else ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
115 $(eval $(call gb_Module_add_targets,connectivity,\
116 Configuration_mork \
117 Executable_mork_helper \
118 Library_mork \
119 Library_mozbootstrap \
122 $(eval $(call gb_Module_add_check_targets,connectivity,\
123 CppunitTest_connectivity_mork \
126 endif
128 ifeq ($(OS),WNT)
129 # HACK: FIXME: TODO: only disabled to not make the build fail when targeting Win XP with VS 2012
130 #warn:legacy.osl:2120:7064:connectivity/source/commontools/dbmetadata.cxx:177: caught an exception!
131 #in function:const class rtl::OUString &__cdecl dbtools::`anonymous-namespace'::lcl_getConnectionStringSetting(const struct dbtools::DatabaseMetaData_Impl &,class boost::optional<class rtl::OUString> &,class rtl::OUString (__cdecl com::sun::star::sdbc::XDatabaseMetaData::* )(void))
132 #type: com.sun.star.sdbc.SQLException
133 #message: Fehler bei einem aus mehreren Schritten bestehenden OLE DB-Vorgang. Pr�fen Sie die einzelnen OLE DB-Statuswerte, falls vorhanden. Daten wurden nicht verarbeitet .
134 #context: class connectivity::ado::ODatabaseMetaData
136 #Assertion failed: this->is_initialized(), file C:\cygwin\home\buildslave\build\workdir\wntmsci14.pro\UnpackedTarball\boost\boost/optional/optional.hpp, line 638
138 ifneq ($(VCVER)_$(WINDOWS_SDK_VERSION),110_70)
139 ifneq ($(CPUNAME),X86_64)
140 $(eval $(call gb_Module_add_check_targets,connectivity,\
141 CppunitTest_connectivity_ado \
143 endif
144 endif
145 endif
147 ifneq ($(filter QADEVOOO,$(BUILD_TYPE)),)
148 $(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
149 Jar_ConnectivityTools \
151 # FIXME: Does not work. Convert to JUnit.
152 # JunitTest_complex \
154 endif
156 # general tests
157 $(eval $(call gb_Module_add_check_targets,connectivity,\
158 CppunitTest_connectivity_commontools \
161 # vim: set noet sw=4 ts=4: