-Werror=maybe-uninitialized
[LibreOffice.git] / extensions / Module_extensions.mk
blobf7bd82978382ae070bbcd32d462ac17b11c33dbc
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,extensions))
12 $(eval $(call gb_Module_add_l10n_targets,extensions,\
13 AllLangMoTarget_pcr \
16 ifeq (,$(DISABLE_DYNLOADING))
17 $(eval $(call gb_Module_add_targets,extensions,\
18 Library_abp \
19 Library_scn \
20 $(if $(filter WNT,$(OS)), \
21 Library_WinUserInfoBe \
22 $(if $(filter TRUE,$(BUILD_X86)),Executable_twain32shim) \
23 ) \
24 UIConfig_sabpilot \
25 UIConfig_scanner \
27 endif
29 ifneq ($(filter-out iOS,$(OS)),)
30 $(eval $(call gb_Module_add_targets,extensions,\
31 Library_log \
33 endif
35 ifeq ($(ENABLE_LDAP),TRUE)
36 $(eval $(call gb_Module_add_targets,extensions,\
37 Library_ldapbe2 \
39 endif
41 $(eval $(call gb_Module_add_targets,extensions,\
42 Library_bib \
45 $(eval $(call gb_Module_add_check_targets,extensions,\
46 CppunitTest_extensions_bibliography \
49 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
50 $(eval $(call gb_Module_add_targets,extensions,\
51 Library_dbp \
52 Library_pcr \
53 UIConfig_sbibliography \
54 UIConfig_spropctrlr \
56 endif
58 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
59 ifeq (,$(ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS))
60 $(eval $(call gb_Module_add_targets,extensions,\
61 Library_updatefeed \
64 ifeq ($(ENABLE_ONLINE_UPDATE),TRUE)
65 $(eval $(call gb_Module_add_targets,extensions,\
66 Configuration_updchk \
67 Library_updatecheckui \
68 Library_updchk \
71 $(eval $(call gb_Module_add_check_targets,extensions,\
72 CppunitTest_extensions_test_update \
74 endif
75 endif # !ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS
76 endif
78 ifeq ($(OS),WNT)
80 ifeq ($(COM),MSC)
81 $(eval $(call gb_Module_add_targets,extensions,\
82 WinResTarget_activex \
83 Library_so_activex \
84 CustomTarget_so_activex_idl \
87 ifeq ($(BUILD_X64),TRUE)
88 $(eval $(call gb_Module_add_targets,extensions,\
89 CustomTarget_so_activex_x64 \
90 Library_so_activex_x64 \
92 endif # BUILD_X64
93 endif # COM=MSC
95 $(eval $(call gb_Module_add_targets,extensions,\
96 Library_oleautobridge \
99 # $(eval $(call gb_Module_add_subsequentcheck_targets,extensions,\
100 # CustomTarget_automationtest \
101 # ))
103 endif # WNT
105 ifeq ($(OS),MACOSX)
106 $(eval $(call gb_Module_add_targets,extensions,\
107 Library_OOoSpotlightImporter \
108 Package_mdibundle \
109 Package_OOoSpotlightImporter \
111 endif # OS=MACOSX
113 $(eval $(call gb_Module_add_subsequentcheck_targets,extensions,\
114 JunitTest_extensions_unoapi \
117 # vim:set shiftwidth=4 softtabstop=4 noexpandtab: