aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/Makefile.include.in
blob: 3d31962c90fba616f9c4bf07e7355a255b2a461d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
abs_top_srcdir=@abs_top_srcdir@

DEBUG_BUILD=@use_debug@
TOOLCHAIN=@use_toolchain@
NDKROOT=@use_ndk_path@
SDKROOT=@use_sdk_path@
CMAKE_SOURCE_DIR=$(abspath $(abs_top_srcdir)/../../)
TARBALLS_LOCATION=@use_tarballs@
PLATFORM=@deps_dir@
HOST=@use_host@
CPU=@use_cpu@
NATIVEPLATFORM=@build_cpu@-@build_os@-native
NDK_LEVEL=@use_ndk_api@
RETRIEVE_TOOL=@CURL@
ARCHIVE_TOOL=@TAR@
PREFIX=@prefix@/@deps_dir@
NATIVEPREFIX=@prefix@/@tool_dir@
ARCHIVE_TOOL_NATIVE=$(NATIVEPREFIX)/bin/tar
OS=@platform_os@
NATIVE_OS=@build_os@
CROSS_COMPILING=@cross_compiling@
ARCH_DEFINES=@ARCH_DEFINES@
NATIVE_ARCH_DEFINES=@NATIVE_ARCH_DEFINES@
TARGET_PLATFORM=@target_platform@
AAPT=@AAPT@
DX=@DX@
ZIPALIGN=@ZIPALIGN@

HAS_ZLIB=@has_zlib@
NEED_LIBICONV=@need_libiconv@
LINK_ICONV=@link_iconv@
ENABLE_GPLV3=@use_gplv3@

BASE_URL=http://mirrors.kodi.tv/build-deps/sources
ifneq ($(KODI_MIRROR),)
BASE_URL=$(KODI_MIRROR)/build-deps/sources
endif
RETRIEVE_TOOL_FLAGS=-Ls --create-dirs -f -O
ARCHIVE_TOOL_FLAGS=--strip-components=1 -xf
CONFIG_SUB=@prefix@/@tool_dir@/share/automake-1.15/config.sub
CONFIG_GUESS=@prefix@/@tool_dir@/share/automake-1.15/config.guess

USE_CCACHE=@use_ccache@

LD=@LD@
ifneq (@use_ccache@,yes)
  CC=@CC@
  CXX=@CXX@
  CPP=@CPP@
else
  CC=@CCACHE@ @CC@
  CXX=@CCACHE@ @CXX@
  CPP=@CCACHE@ @CPP@
endif
AR=@AR@
RANLIB=@RANLIB@
AS=@AS@
NM=@NM@
STRIP=@STRIP@
READELF=@READELF@
OBJDUMP=@OBJDUMP@

CMAKE=@prefix@/@tool_dir@/bin/cmake -DCMAKE_TOOLCHAIN_FILE=$(PREFIX)/share/Toolchain.cmake -DCMAKE_INSTALL_PREFIX=$(PREFIX)
CFLAGS=@platform_cflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include
LDFLAGS=-L@prefix@/@deps_dir@/lib -L@prefix@/@deps_dir@/lib64 @platform_ldflags@
CXXFLAGS=@platform_cxxflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include
CPPFLAGS=@platform_cflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include
# set configured FFmpeg configure options
FFMPEG_CONFIGURE_OPTIONS=@ffmpeg_options@


PATH:=@prefix@/@tool_dir@/bin:$(PATH)
ifneq (@use_build_toolchain@,)
  PATH:=@use_build_toolchain@/bin:@use_build_toolchain@/usr/bin:$(PATH)
endif
LD_FOR_BUILD=@LD_FOR_BUILD@
ifneq (@use_ccache@,yes)
  CC_FOR_BUILD=@CC_FOR_BUILD@
  CXX_FOR_BUILD=@CXX_FOR_BUILD@
else
  CC_FOR_BUILD=@CCACHE@ @CC_FOR_BUILD@
  CXX_FOR_BUILD=@CCACHE@ @CXX_FOR_BUILD@
endif
CC_BINARY_FOR_BUILD=@CC_FOR_BUILD@
CXX_BINARY_FOR_BUILD=@CXX_FOR_BUILD@
AR_FOR_BUILD=@AR_FOR_BUILD@
RANLIB_FOR_BUILD=@RANLIB_FOR_BUILD@
AS_FOR_BUILD=@AS_FOR_BUILD@
NM_FOR_BUILD=@NM_FOR_BUILD@
STRIP_FOR_BUILD=@STRIP_FOR_BUILD@
READELF_FOR_BUILD=@READELF_FOR_BUILD@
OBJDUMP_FOR_BUILD=@OBJDUMP_FOR_BUILD@

NATIVE_CFLAGS=@native_platform_min_version@ -I@prefix@/@tool_dir@/include
NATIVE_LDFLAGS=@native_platform_min_version@ -L@prefix@/@tool_dir@/lib
NATIVE_CPPFLAGS=@native_platform_min_version@ -I@prefix@/@tool_dir@/include
NATIVE_CXXFLAGS=@native_platform_min_version@ -I@prefix@/@tool_dir@/include


ifeq ($(CPU), arm64)
  export GASPP_FIX_XCODE5=1
endif
export AUTOM4TE=@prefix@/@tool_dir@/bin/autom4te
export AUTOMAKE=@prefix@/@tool_dir@/bin/automake
export AUTOCONF=@prefix@/@tool_dir@/bin/autoconf
export ACLOCAL=@prefix@/@tool_dir@/bin/aclocal
export ACLOCAL_PATH=@prefix@/@deps_dir@/share/aclocal:@prefix@/@tool_dir@/share/aclocal
export AUTOPOINT=@prefix@/@tool_dir@/bin/autopoint
export AUTOHEADER=@prefix@/@tool_dir@/bin/autoheader
export LIBTOOL=@prefix@/@tool_dir@/bin/libtool
export LIBTOOLIZE=@prefix@/@tool_dir@/bin/libtoolize

export AUTORECONF=@prefix@/@tool_dir@/bin/autoreconf
export JSON_BUILDER=$(NATIVEPREFIX)/bin/JsonSchemaBuilder