Bump for 3.6-28
[LibreOffice.git] / extensions / Module_extensions.mk
blob30144de6836148ef83f21fa043bebabc3e8f222c
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # Major Contributor(s):
15 # Copyright (C) 2011 Jan Holesovsky <kendy@suse.cz> (initial developer)
16 # Copyright (C) 2011 Peter Foley <pefoley2@verizon.net>
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval $(call gb_Module_Module,extensions))
30 $(eval $(call gb_Module_add_targets,extensions,\
31 AllLangResTarget_abp \
32 AllLangResTarget_scn \
33 AllLangResTarget_upd \
34 Library_abp \
35 Library_log \
36 Library_res \
37 Library_scn \
40 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
41 $(eval $(call gb_Module_add_targets,extensions,\
42 AllLangResTarget_bib \
43 AllLangResTarget_dbp \
44 AllLangResTarget_pcr \
45 Library_bib \
46 Library_dbp \
47 Library_pcr \
48 Package_bib \
49 Package_pcr \
51 endif
53 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
54 $(eval $(call gb_Module_add_targets,extensions,\
55 Library_updatefeed \
58 ifeq ($(ENABLE_ONLINE_UPDATE),TRUE)
59 $(eval $(call gb_Module_add_targets,extensions,\
60 AllLangResTarget_updchk \
61 Configuration_updchk \
62 Library_updatecheckui \
63 Library_updchk \
66 $(eval $(call gb_Module_add_check_targets,extensions,\
67 CppunitTest_extensions_test_update \
69 endif
70 endif
72 ifeq ($(OS),WNT)
74 ifeq ($(COM),MSC)
75 ifneq ($(DISABLE_ACTIVEX),TRUE)
76 $(eval $(call gb_Module_add_targets,extensions,\
77 WinResTarget_activex \
78 Library_so_activex \
79 CustomTarget_so_activex_idl \
82 ifeq ($(BUILD_X64),TRUE)
83 $(eval $(call gb_Module_add_targets,extensions,\
84 CustomTarget_so_activex_x64 \
85 Library_so_activex_x64 \
87 endif # BUILD_X64
88 endif # DISABLE_ACTIVEX
89 endif # COM=MSC
91 ifeq ($(DISABLE_ATL),)
92 $(eval $(call gb_Module_add_targets,extensions,\
93 Library_oleautobridge \
94 Library_oleautobridge2 \
96 endif # DISABLE_ATL
98 endif # WNT
100 ifeq ($(ENABLE_NSPLUGIN),YES)
101 $(eval $(call gb_Module_add_targets,extensions,\
102 Executable_nsplugin \
103 Library_npsoplugin \
104 StaticLibrary_npsoenv \
105 WinResTarget_npsoplugin \
107 endif
109 ifeq ($(WITH_MOZILLA),YES)
111 $(eval $(call gb_Module_add_targets,extensions,\
112 Library_pl \
115 ifeq ($(GUI),UNX)
116 ifneq ($(GUIBASE),aqua)
117 $(eval $(call gb_Module_add_targets,extensions,\
118 StaticLibrary_plugcon \
119 Executable_pluginapp.bin \
121 endif
122 endif
124 endif # WITH_MOZILLA=YES
126 ifeq ($(OS),MACOSX)
127 $(eval $(call gb_Module_add_targets,extensions,\
128 Library_OOoSpotlightImporter \
129 Zip_mdibundle \
131 endif # OS=MACOSX
133 ifeq ($(WITH_LDAP),YES)
134 $(eval $(call gb_Module_add_targets,extensions,\
135 Library_ldapbe2 \
137 endif # WITH_LDAP=YES
139 # vim:set shiftwidth=4 softtabstop=4 noexpandtab: