diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
commit | c04dcc2e7d834218ef2d4194331e383402495ae1 (patch) | |
tree | 7333e38d10d75386e60f336b80c2443c1166031d /tools/depends/Makefile.include.in | |
parent | Initial commit. (diff) | |
download | kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.tar.xz kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.zip |
Adding upstream version 2:20.4+dfsg.upstream/2%20.4+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/depends/Makefile.include.in')
-rw-r--r-- | tools/depends/Makefile.include.in | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/tools/depends/Makefile.include.in b/tools/depends/Makefile.include.in new file mode 100644 index 0000000..3a36d20 --- /dev/null +++ b/tools/depends/Makefile.include.in @@ -0,0 +1,127 @@ +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@ +BUILD=@use_build@ +BUILD_CPU=@use_buildcpu@ +CPU=@use_cpu@ +MESON_CPU=@meson_cpu@ +MESON_SYSTEM=@meson_system@ +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@ +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@ +RENDER_SYSTEM=@app_rendersystem@ +WINDOW_SYSTEM=@app_winsystem@ +SHA512SUM=@SHA512SUM@ +SHA256SUM=@SHA256SUM@ +SHASUM=@SHASUM@ +HASH_TOOL_FLAGS=-c --status + +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=-LsS --create-dirs --retry 10 --retry-connrefused -O +ARCHIVE_TOOL_FLAGS=--strip-components=1 -xf +CONFIG_SUB=@prefix@/@tool_dir@/share/automake-1.16/config.sub +CONFIG_GUESS=@prefix@/@tool_dir@/share/automake-1.16/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 @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@ + + +ifneq (@use_build_toolchain@,) + PATH:=@use_build_toolchain@/bin:@use_build_toolchain@/usr/bin:$(PATH) +endif +PATH:=@prefix@/@tool_dir@/bin:$(PATH) +LD_FOR_BUILD=@LD_FOR_BUILD@ +CC_BINARY_FOR_BUILD=@CC_FOR_BUILD@ +CXX_BINARY_FOR_BUILD=@CXX_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@ + CCACHE=@CCACHE@ +endif +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=@host_includes@ -I@prefix@/@tool_dir@/include +NATIVE_LDFLAGS=@host_includes@ -L@prefix@/@tool_dir@/lib +NATIVE_CPPFLAGS=@host_includes@ -I@prefix@/@tool_dir@/include +NATIVE_CXXFLAGS=@host_includes@ -I@prefix@/@tool_dir@/include + +VERSION.TXT := $(CMAKE_SOURCE_DIR)/version.txt +APP_NAME=$(shell awk '/APP_NAME/ {print tolower($$2)}' $(VERSION.TXT)) + +# Python related vars +PYTHON_VERSION=3.11 +PYTHON_SITE_PKG=@prefix@/@deps_dir@/lib/python${PYTHON_VERSION}/site-packages + +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 |