Update git submodules
[LibreOffice.git] / postprocess / Module_postprocess.mk
blob0fbede6a9f2b3a53eb4ab2e23450798067bb9c11
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,postprocess))
12 # UGLY: postprocess_XCDS variable from CustomTarget_registry
13 # is reused in Package_registry!
15 $(eval $(call gb_Module_add_targets,postprocess,\
16 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),CustomTarget_components) \
17 CustomTarget_registry \
18 Rdb_services \
20 ifeq ($(gb_Side),host)
21 $(eval $(call gb_Module_add_targets,postprocess,\
22 CustomTarget_images \
23 Package_images \
25 endif
27 $(eval $(call gb_Module_add_l10n_targets,postprocess,\
28 Package_registry \
31 ifeq ($(WINDOWS_BUILD_SIGNING),TRUE)
32 $(eval $(call gb_Module_add_targets,postprocess,\
33 CustomTarget_signing \
35 endif
37 # For configurations that use fontconfig (cf. inclusion of
38 # vcl/unx/generic/fontmanager/fontconfig.cxx in Library_vcl), add
39 # instdir/share/fonts/truetype/fc_local.conf when it shall
40 # contain content from at least one of external/more_fonts/fc_local.snippet
41 # (conditional on MORE_FONTS in BUILD_TYPE) and
42 # extras/source/truetype/symbol/fc_local.snippet (unconditional):
43 ifneq ($(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)),)
44 $(eval $(call gb_Module_add_targets,postprocess, \
45 CustomTarget_fontconfig \
46 Package_fontconfig \
48 endif
50 ifeq ($(OS),LINUX)
51 ifneq ($(PKGFORMAT),)
52 $(eval $(call gb_Module_add_check_targets,postprocess,\
53 CustomTarget_check_dynamic_objects \
55 endif
56 endif
58 # Implementation com.sun.star.xml.security.SEInitializer_Gpg
59 # does not provide a constructor or factory in case of MPLv2 subset
60 ifneq ($(MPL_SUBSET),TRUE)
61 $(eval $(call gb_Module_add_check_targets,postprocess,\
62 CppunitTest_services \
64 endif
66 # vim: set noet sw=4 ts=4: