#
# Copyright (c) 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 LucĂa Andrea Illanes Albornoz <lucia@luciaillanes.de>
#
# WARNING: Do _NOT_ use whitespaces (` ') or tab (` ')
# characters in any of the variables below save for MAKEFLAGS,
# PATH, and TIMESTAMP_FMT.
#
# ${PREFIX_{CROSS,MINGW32,MINIPIX,NATIVE,RPM}} and ${BUILD_WORKDIR}
# must be immediately beneath ${PREFIX}. ${PREFIX} must be o+rwx.
# The variables mentioned should not be forward slash-terminated.
#
#
# Default command & tool flags & variables
: ${DEFAULT_AUTOCONF_CONFIG_GUESS:="copy"};
: ${DEFAULT_CMAKE_LISTFILE:="CMakeLists.txt"};
: ${DEFAULT_GIT_ARGS:=""};
: ${DEFAULT_GITROOT:=git://midipix.org};
: ${DEFAULT_GITROOT_HEAD:=git://midipix.org};
: ${DEFAULT_MAKE_INSTALL_VNAME:=DESTDIR};
: ${DEFAULT_MAKEFLAGS_LOADAVG:="-l${DEFAULT_BUILD_CPUS}"};
: ${DEFAULT_MAKEFLAGS_PARALLELISE:="-j${DEFAULT_BUILD_CPUS}"};
: ${DEFAULT_MAKEFLAGS_VERBOSITY:="V=99 VERBOSE=1"};
: ${DEFAULT_RPM_JOBS_MAX:=1};
: ${DEFAULT_RPM_JOBS_SEMAPHORE:="${BUILD_WORKDIR}/rpm.jobs"};
: ${DEFAULT_RPM_JOBS_WAIT:=8};
: ${DEFAULT_TIMESTAMP_FMT:="%Y/%m/%d %H:%M:%S"};
: ${DEFAULT_WGET_ARGS:="--no-check-certificate --timeout=25 --waitretry=16"};
: ${DEFAULT_ZIPDIST_DEFROOT:="/dev/fs/c/midipix"};
#
# Default CMake flags & variables
: ${DEFAULT_CMAKE_ARGS:="
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
-DCMAKE_INSTALL_PREFIX=
-DCMAKE_VERBOSE_MAKEFILE=YES"};
# vim:filetype=sh textwidth=0