Avoid potential negative array index access to cached text.
[LibreOffice.git] / postprocess / Module_postprocess.mk
blob56ecd75db150993c93ba6ed002464791a4d2e7b1
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 # Do not sign individual EXE/DLL files
32 # ifeq ($(WINDOWS_BUILD_SIGNING),TRUE)
33 # $(eval $(call gb_Module_add_targets,postprocess,\
34 # CustomTarget_signing \
35 # ))
36 # endif
38 # For configurations that use fontconfig (cf. inclusion of
39 # vcl/unx/generic/fontmanager/fontconfig.cxx in Library_vcl), add
40 # instdir/share/fonts/truetype/fc_local.conf when it shall
41 # contain content from at least one of external/more_fonts/fc_local.snippet
42 # (conditional on MORE_FONTS in BUILD_TYPE) and
43 # extras/source/truetype/symbol/fc_local.snippet (unconditional):
44 ifneq ($(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)),)
45 $(eval $(call gb_Module_add_targets,postprocess, \
46 CustomTarget_fontconfig \
47 Package_fontconfig \
49 endif
51 ifeq ($(OS),LINUX)
52 ifneq ($(PKGFORMAT),)
53 $(eval $(call gb_Module_add_check_targets,postprocess,\
54 CustomTarget_check_dynamic_objects \
56 endif
57 endif
59 # Implementation com.sun.star.xml.security.SEInitializer_Gpg
60 # does not provide a constructor or factory in case of MPLv2 subset
61 ifneq ($(MPL_SUBSET),TRUE)
62 $(eval $(call gb_Module_add_check_targets,postprocess,\
63 CppunitTest_services \
65 endif
67 # vim: set noet sw=4 ts=4: