Update git submodules
[LibreOffice.git] / dbaccess / Module_dbaccess.mk
blob436f591c7a0710adabc25f8785ad2a4bef1b6936
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Module_Module,dbaccess))
12 $(eval $(call gb_Module_add_targets,dbaccess,\
13 Library_dba \
14 Library_dbahsql \
17 $(eval $(call gb_Module_add_l10n_targets,dbaccess,\
18 AllLangMoTarget_dba \
21 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
23 $(eval $(call gb_Module_add_targets,dbaccess,\
24 $(if $(filter WNT,$(OS)),Executable_odbcconfig) \
25 Library_dbaxml \
26 Library_dbu \
27 Library_sdbt \
28 UIConfig_dbaccess \
29 UIConfig_dbapp \
30 UIConfig_dbbrowser \
31 UIConfig_dbquery \
32 UIConfig_dbrelation \
33 UIConfig_dbtable \
34 UIConfig_dbtdata \
37 ifneq ($(OS),iOS)
38 ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
39 $(eval $(call gb_Module_add_check_targets,dbaccess,\
40 $(if $(ENABLE_JAVA),CppunitTest_dbaccess_hsqlbinary_import) \
41 $(if $(ENABLE_JAVA),CppunitTest_dbaccess_tdf119625) \
42 $(if $(ENABLE_JAVA),CppunitTest_dbaccess_tdf126268) \
45 $(eval $(call gb_Module_add_check_targets,dbaccess,\
46 CppunitTest_dbaccess_firebird_test \
48 endif
50 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
51 $(eval $(call gb_Module_add_check_targets,dbaccess,\
52 CppunitTest_dbaccess_dialog_save \
53 CppunitTest_dbaccess_empty_stdlib_save \
54 CppunitTest_dbaccess_nolib_save \
55 CppunitTest_dbaccess_macros_test \
56 CppunitTest_dbaccess_hsqlschema_import \
58 endif
60 # this test fails 50% of the time on the mac jenkins buildbots
61 ifeq ($(ENABLE_JAVA),TRUE)
62 ifneq ($(OS),MACOSX)
63 $(eval $(call gb_Module_add_check_targets,dbaccess,\
64 CppunitTest_dbaccess_hsqldb_test \
65 CppunitTest_dbaccess_RowSetClones \
67 endif
68 endif
70 # This runs a suite of performance tests on embedded firebird and HSQLDB.
71 # Instructions on running the test can be found in qa/unit/embeddedb_performancetest
72 ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
73 ifeq ($(ENABLE_JAVA),TRUE)
74 $(eval $(call gb_Module_add_check_targets,dbaccess,\
75 CppunitTest_dbaccess_embeddeddb_performancetest \
77 endif
78 endif
80 $(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
81 JunitTest_dbaccess_complex \
82 JunitTest_dbaccess_unoapi \
85 ifneq ($(ENABLE_JAVA),)
86 $(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
87 PythonTest_dbaccess_python \
89 endif
91 # screenshots
92 $(eval $(call gb_Module_add_screenshot_targets,dbaccess,\
93 CppunitTest_dbaccess_dialogs_test \
96 endif
97 endif
99 # vim: set noet sw=4 ts=4: