Bump version to 4.3-4
[LibreOffice.git] / connectivity / Module_connectivity.mk
blob210a4774dd0e46724f99b4458b91b269809e8286
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 ifeq ($(OS),WNT)
107 ifneq ($(WITH_MOZAB4WIN),)
108 $(eval $(call gb_Module_add_targets,connectivity,\
109 Configuration_mozab \
110 Library_mozab \
111 Library_mozabdrv \
113 else
114 $(eval $(call gb_Module_add_targets,connectivity,\
115 Library_mozbootstrap \
117 endif
119 else ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
121 $(eval $(call gb_Module_add_targets,connectivity,\
122 Configuration_mork \
123 Executable_mork_helper \
124 Library_mork \
125 Library_mozbootstrap \
128 $(eval $(call gb_Module_add_check_targets,connectivity,\
129 CppunitTest_connectivity_mork \
132 endif
134 ifeq ($(OS),WNT)
135 # HACK: FIXME: TODO: only disabled to not make the build fail when targeting Win XP with VS 2012
136 #warn:legacy.osl:2120:7064:connectivity/source/commontools/dbmetadata.cxx:177: caught an exception!
137 #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))
138 #type: com.sun.star.sdbc.SQLException
139 #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 .
140 #context: class connectivity::ado::ODatabaseMetaData
142 #Assertion failed: this->is_initialized(), file C:\cygwin\home\buildslave\build\workdir\wntmsci14.pro\UnpackedTarball\boost\boost/optional/optional.hpp, line 638
144 ifneq ($(VCVER)_$(WINDOWS_SDK_VERSION),110_70)
145 $(eval $(call gb_Module_add_check_targets,connectivity,\
146 CppunitTest_connectivity_ado \
148 endif
149 endif
151 ifneq ($(filter QADEVOOO,$(BUILD_TYPE)),)
152 $(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
153 Jar_ConnectivityTools \
155 # FIXME: Does not work. Convert to JUnit.
156 # JunitTest_complex \
158 endif
160 # general tests
161 $(eval $(call gb_Module_add_check_targets,connectivity,\
162 CppunitTest_connectivity_commontools \
165 # vim: set noet sw=4 ts=4: