Branch libreoffice-5-0-4
[LibreOffice.git] / extensions / Module_extensions.mk
blobfa527f5f1364229b979968767fef8dc38d830125
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_targets,extensions,\
13 Library_res \
14 $(if $(filter IOS ANDROID,$(OS)),, \
15 Library_abp \
16 Library_log \
17 Library_scn) \
20 $(eval $(call gb_Module_add_l10n_targets,extensions,\
21 AllLangResTarget_abp \
22 AllLangResTarget_scn \
23 AllLangResTarget_upd \
24 UIConfig_sabpilot \
25 UIConfig_scanner \
28 ifneq ($(filter-out IOS ANDROID,$(OS)),)
29 $(eval $(call gb_Module_add_targets,extensions,\
30 Library_ldapbe2 \
32 endif
34 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
35 $(eval $(call gb_Module_add_targets,extensions,\
36 Library_bib \
37 Library_dbp \
38 Library_pcr \
40 $(eval $(call gb_Module_add_l10n_targets,extensions,\
41 AllLangResTarget_bib \
42 AllLangResTarget_dbp \
43 AllLangResTarget_pcr \
44 UIConfig_sbibliography \
45 UIConfig_spropctrlr \
47 endif
49 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
50 $(eval $(call gb_Module_add_targets,extensions,\
51 Library_updatefeed \
54 ifeq ($(ENABLE_ONLINE_UPDATE),TRUE)
55 $(eval $(call gb_Module_add_targets,extensions,\
56 Configuration_updchk \
57 Library_updatecheckui \
58 Library_updchk \
60 $(eval $(call gb_Module_add_l10n_targets,extensions,\
61 AllLangResTarget_updchk \
64 $(eval $(call gb_Module_add_check_targets,extensions,\
65 CppunitTest_extensions_test_update \
67 endif
68 endif
70 ifeq ($(OS),WNT)
72 ifeq ($(COM),MSC)
73 ifneq ($(DISABLE_ACTIVEX),TRUE)
74 $(eval $(call gb_Module_add_targets,extensions,\
75 WinResTarget_activex \
76 Library_so_activex \
77 CustomTarget_so_activex_idl \
80 ifeq ($(BUILD_X64),TRUE)
81 $(eval $(call gb_Module_add_targets,extensions,\
82 CustomTarget_so_activex_x64 \
83 Library_so_activex_x64 \
85 endif # BUILD_X64
86 endif # DISABLE_ACTIVEX
87 endif # COM=MSC
89 ifeq ($(DISABLE_ATL),)
90 $(eval $(call gb_Module_add_targets,extensions,\
91 Library_oleautobridge \
93 endif # DISABLE_ATL
95 endif # WNT
97 ifeq ($(ENABLE_NPAPI_FROM_BROWSER),TRUE)
99 $(eval $(call gb_Module_add_targets,extensions,\
100 Library_pl \
103 ifneq ($(OS),WNT)
104 ifneq ($(OS),MACOSX)
105 $(eval $(call gb_Module_add_targets,extensions,\
106 StaticLibrary_plugcon \
107 Executable_pluginapp.bin \
109 endif
110 endif
112 endif # ENABLE_NPAPI_FROM_BROWSER=TRUE
114 ifeq ($(OS),MACOSX)
115 $(eval $(call gb_Module_add_targets,extensions,\
116 Library_OOoSpotlightImporter \
117 Package_mdibundle \
118 Package_OOoSpotlightImporter \
120 endif # OS=MACOSX
122 $(eval $(call gb_Module_add_subsequentcheck_targets,extensions,\
123 JunitTest_extensions_unoapi \
126 # vim:set shiftwidth=4 softtabstop=4 noexpandtab: