Revert "tdf#127471 Remove font width scaling hack"
[LibreOffice.git] / connectivity / Module_connectivity.mk
blob6a5dd926331b028c86783d4e1e482a2a86d0b3e0
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 ifneq ($(OS),WNT)
54 ifeq ($(OS),MACOSX)
55 $(eval $(call gb_Module_add_targets,connectivity,\
56 Configuration_macab \
57 Library_macab1 \
58 Library_macabdrv1 \
60 endif
62 endif
64 ifeq ($(OS),WNT)
65 $(eval $(call gb_Module_add_targets,connectivity,\
66 Configuration_ado \
67 Library_ado \
69 endif
71 ifeq ($(ENABLE_EVOAB2),TRUE)
72 $(eval $(call gb_Module_add_targets,connectivity,\
73 Configuration_evoab \
74 Library_evoab \
76 endif
78 ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
79 $(eval $(call gb_Module_add_targets,connectivity,\
80 Configuration_firebird \
81 Library_firebird_sdbc \
83 endif
85 ifeq ($(ENABLE_MARIADBC),TRUE)
86 $(eval $(call gb_Module_add_targets,connectivity,\
87 Configuration_mysql \
88 Library_mysqlc \
90 endif
92 ifneq ($(BUILD_POSTGRESQL_SDBC),)
93 $(eval $(call gb_Module_add_targets,connectivity,\
94 Configuration_postgresql \
95 Library_postgresql-sdbc \
96 Library_postgresql-sdbc-impl \
97 Package_postgresql-sdbc \
98 Rdb_postgresql-sdbc \
100 endif
102 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
104 $(eval $(call gb_Module_add_targets,connectivity,\
105 Configuration_mork \
106 Executable_mork_helper \
107 Library_mork \
108 Library_mozbootstrap \
111 $(eval $(call gb_Module_add_check_targets,connectivity,\
112 CppunitTest_connectivity_mork \
115 endif
117 ifeq ($(OS),WNT)
118 # "ADO is not available on 64bit" said the commit
119 ifneq ($(CPUNAME),X86_64)
120 $(eval $(call gb_Module_add_check_targets,connectivity,\
121 CppunitTest_connectivity_ado \
123 endif
124 endif
126 ifneq ($(filter QADEVOOO,$(BUILD_TYPE)),)
127 $(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
128 Jar_ConnectivityTools \
130 # FIXME: Does not work. Convert to JUnit.
131 # JunitTest_complex \
133 endif
135 ifneq ($(CONNECTIVITY_TEST_MYSQL_DRIVER),)
136 $(eval $(call gb_Module_add_check_targets,connectivity,\
137 CppunitTest_connectivity_mysql_test \
139 endif
141 # general tests
142 $(eval $(call gb_Module_add_check_targets,connectivity,\
143 CppunitTest_connectivity_commontools \
144 CppunitTest_connectivity_sharedresources \
147 endif
149 # vim: set noet sw=4 ts=4: