update credits
[LibreOffice.git] / connectivity / Module_connectivity.mk
blob6dc43ddcec0cc0eace5d7ad23a89e71357d72d6c
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 AllLangResTarget_cnr \
15 AllLangResTarget_sdbcl \
16 AllLangResTarget_sdberr \
17 Configuration_calc \
18 Configuration_dbase \
19 Configuration_flat \
20 Configuration_mysql \
21 Configuration_odbc \
22 Library_calc \
23 Library_dbase \
24 Library_dbpool2 \
25 Library_dbtools \
26 Library_file \
27 Library_flat \
28 Library_mysql \
29 $(if $(filter ANDROID IOS,$(OS)),, \
30 Library_odbc \
31 Library_odbcbase) \
32 Library_sdbc2 \
35 ifneq ($(SOLAR_JAVA),)
36 $(eval $(call gb_Module_add_targets,connectivity,\
37 Configuration_hsqldb \
38 Configuration_jdbc \
39 Jar_sdbc_hsqldb \
40 Library_hsqldb \
41 Library_jdbc \
43 endif
45 ifneq ($(OS),WNT)
47 ifeq ($(ENABLE_KAB),TRUE)
48 $(eval $(call gb_Module_add_targets,connectivity,\
49 Configuration_kab \
50 Library_kab1 \
51 Library_kabdrv1 \
53 endif
55 ifeq ($(ENABLE_TDEAB),TRUE)
56 $(eval $(call gb_Module_add_targets,connectivity,\
57 Configuration_tdeab \
58 Library_tdeab1 \
59 Library_tdeabdrv1 \
61 endif
63 ifeq ($(OS),MACOSX)
64 $(eval $(call gb_Module_add_targets,connectivity,\
65 Configuration_macab \
66 Library_macab1 \
67 Library_macabdrv1 \
69 endif
71 endif
73 ifeq ($(OS),WNT)
74 $(eval $(call gb_Module_add_targets,connectivity,\
75 Configuration_ado \
76 Library_ado \
78 endif
80 ifeq ($(ENABLE_EVOAB2),TRUE)
81 $(eval $(call gb_Module_add_targets,connectivity,\
82 Configuration_evoab \
83 Library_evoab \
85 endif
87 ifeq ($(BUILD_POSTGRESQL_SDBC),YES)
88 $(eval $(call gb_Module_add_targets,connectivity,\
89 Configuration_postgresql \
90 Library_postgresql-sdbc \
91 Library_postgresql-sdbc-impl \
92 Package_postgresql-sdbc \
93 Rdb_postgresql-sdbc \
95 endif
97 ifeq ($(OS),WNT)
99 ifeq ($(WITH_MOZAB4WIN),YES)
100 $(eval $(call gb_Module_add_targets,connectivity,\
101 Configuration_mozab \
102 Library_mozab \
103 Library_mozabdrv \
105 else
106 $(eval $(call gb_Module_add_targets,connectivity,\
107 Library_mozbootstrap \
109 endif
111 else ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
113 $(eval $(call gb_Module_add_targets,connectivity,\
114 Configuration_mork \
115 Executable_mork_helper \
116 Library_mork \
117 Library_mozbootstrap \
120 $(eval $(call gb_Module_add_check_targets,connectivity,\
121 CppunitTest_connectivity_mork \
124 endif
126 ifeq ($(OS),WNT)
127 # HACK: FIXME: TODO: only disabled to not make the build fail when targeting Win XP with VS 2012
128 #warn:legacy.osl:2120:7064:connectivity/source/commontools/dbmetadata.cxx:177: caught an exception!
129 #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))
130 #type: com.sun.star.sdbc.SQLException
131 #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 .
132 #context: class connectivity::ado::ODatabaseMetaData
134 #Assertion failed: this->is_initialized(), file C:\cygwin\home\buildslave\build\workdir\wntmsci14.pro\UnpackedTarball\boost\boost/optional/optional.hpp, line 638
136 ifneq ($(VCVER)_$(WINDOWS_SDK_VERSION),110_70)
137 $(eval $(call gb_Module_add_check_targets,connectivity,\
138 CppunitTest_connectivity_ado \
140 endif
141 endif
143 ifneq ($(filter QADEVOOO,$(BUILD_TYPE)),)
144 $(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
145 Jar_ConnectivityTools \
147 # FIXME: Does not work. Convert to JUnit.
148 # JunitTest_complex \
150 endif
152 # general tests
153 $(eval $(call gb_Module_add_check_targets,connectivity,\
154 CppunitTest_connectivity_commontools \
157 # vim: set noet sw=4 ts=4: