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
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 \
35 $(if
$(filter IOS ANDROID
,$(OS
)),, \
41 ifneq ($(filter-out IOS ANDROID
,$(OS
)),)
42 $(eval
$(call gb_Module_add_targets
,extensions
,\
47 ifneq (,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
48 $(eval
$(call gb_Module_add_targets
,extensions
,\
49 AllLangResTarget_bib \
50 AllLangResTarget_dbp \
51 AllLangResTarget_pcr \
59 ifneq (,$(filter DESKTOP
,$(BUILD_TYPE
)))
60 $(eval
$(call gb_Module_add_targets
,extensions
,\
64 ifeq ($(ENABLE_ONLINE_UPDATE
),TRUE
)
65 $(eval
$(call gb_Module_add_targets
,extensions
,\
66 AllLangResTarget_updchk \
67 Configuration_updchk \
68 Library_updatecheckui \
72 $(eval
$(call gb_Module_add_check_targets
,extensions
,\
73 CppunitTest_extensions_test_update \
81 ifneq ($(DISABLE_ACTIVEX
),TRUE
)
82 $(eval
$(call gb_Module_add_targets
,extensions
,\
83 WinResTarget_activex \
85 CustomTarget_so_activex_idl \
88 ifeq ($(BUILD_X64
),TRUE
)
89 $(eval
$(call gb_Module_add_targets
,extensions
,\
90 CustomTarget_so_activex_x64 \
91 Library_so_activex_x64 \
94 endif # DISABLE_ACTIVEX
97 ifeq ($(DISABLE_ATL
),)
98 $(eval
$(call gb_Module_add_targets
,extensions
,\
99 Library_oleautobridge \
100 Library_oleautobridge2 \
106 ifeq ($(ENABLE_NPAPI_FROM_BROWSER
),YES
)
108 $(eval
$(call gb_Module_add_targets
,extensions
,\
113 ifneq ($(GUIBASE
),aqua
)
114 $(eval
$(call gb_Module_add_targets
,extensions
,\
115 StaticLibrary_plugcon \
116 Executable_pluginapp.bin \
121 endif # ENABLE_NPAPI_FROM_BROWSER=YES
123 ifeq ($(ENABLE_NPAPI_INTO_BROWSER
),YES
)
125 $(eval
$(call gb_Module_add_targets
,extensions
,\
126 Executable_nsplugin \
128 StaticLibrary_npsoenv \
129 WinResTarget_npsoplugin \
132 endif # ENABLE_NPAPI_INTO_BROWSER=YES
135 $(eval
$(call gb_Module_add_targets
,extensions
,\
136 Library_OOoSpotlightImporter \
141 $(eval
$(call gb_Module_add_subsequentcheck_targets
,extensions
,\
142 JunitTest_extensions_unoapi \
145 # vim:set shiftwidth=4 softtabstop=4 noexpandtab: