Debian Codegraph @

solenv/gbuild/extensions/pre_BuildTools.mk

raw
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #
3 # This file is part of the LibreOffice project.
4 #
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/.
8 #
9
10 # Tools we need to build for cross-compiling
11 ifeq ($(gb_Side),build)
12
13 gb_BUILD_TOOLS_executables = \
14 bestreversemap \
15 cfgex \
16 climaker \
17 cpp \
18 cppumaker \
19 $(if $(filter EMSCRIPTEN,$(BUILD_TYPE_FOR_HOST)),embindmaker wasmbridgegen) \
20 gencoll_rule \
21 genconv_dict \
22 $(if $(WITH_GALLERY_BUILD),gengal) \
23 genindex_data \
24 helpex \
25 idxdict \
26 javamaker \
27 $(call gb_CondExeLockfile,lockfile) \
28 makedepend \
29 propex \
30 saxparser \
31 svidl \
32 treex \
33 ulfex \
34 unoidl-check \
35 unoidl-write \
36 xrmex \
37 $(call gb_Helper_optional,HELPTOOLS, \
38 HelpIndexer \
39 HelpLinker \
40 ) \
41 $(if $(filter WNT,$(OS)),$(call gb_Helper_optional,DESKTOP,lngconvex)) \
42
43 gb_BUILD_TOOLS_executables_extern = \
44 python \
45 xsltproc \
46
47 # zxcvbn-c depends on a generated header by native code, therefore it is built
48 # both for the build and the host platform.
49 gb_BUILD_TOOLS = \
50 $(foreach executable,$(gb_BUILD_TOOLS_executables),$(call gb_Executable_get_runtime_dependencies,$(executable))) \
51 $(foreach executable,$(gb_BUILD_TOOLS_executables_extern),$(call gb_ExternalExecutable_get_dependencies,$(executable))) \
52 $(INSTROOT)/$(LIBO_URE_ETC_FOLDER)/$(call gb_Helper_get_rcfile,uno) \
53 $(if $(SYSTEM_ZXCVBN),,$(call gb_ExternalProject_get_target_for_build,zxcvbn-c)) \
54
55 endif
56
57 # vim: set noet sw=4 ts=4: