star-build

Automation tool for project installation
git clone git://git.meso-star.fr/star-build.git
Log | Files | Refs | README | LICENSE

commit 9f82473933486a01d0fd3a70fdc17dc36e7c7d40
parent 4ff047f2cb17956b3dda3d9ac2118b98f654f387
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 10 Oct 2023 15:02:07 +0200

Add the build script of the htrdr program

Diffstat:
Mlint.mk | 1+
Asrc/htrdr.sh | 59+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/lint.mk b/lint.mk @@ -22,6 +22,7 @@ lint: shellcheck -o all -x -P src src/htcp.sh shellcheck -o all -x -P src src/htgop.sh shellcheck -o all -x -P src src/htmie.sh + shellcheck -o all -x -P src src/htrdr.sh shellcheck -o all -x -P src src/htsky.sh shellcheck -o all -x -P src src/mrumtl.sh shellcheck -o all -x -P src src/noweb_2.13rc3.sh diff --git a/src/htrdr.sh b/src/htrdr.sh @@ -0,0 +1,59 @@ +#!/bin/sh -e + +# Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +[ -n "${HTRDR_SH}" ] && return +export HTRDR_SH=1 + +[ -z "${ATMOSPHERE}" ] && ATMOSPHERE=ENABLE +[ -z "${COMBUSTION}" ] && COMBUSTION=ENABLE +[ -z "${PLANETO}" ] && PLANETO=ENABLE + +. "build.sh" +. "aw.sh" +. "mrumtl.sh" +. "rsys.sh" +. "star-3d.sh" +. "star-camera.sh" +. "star-sf.sh" +. "star-sp.sh" +. "star-vx.sh" + +if [ "${ATMOSPHERE}" = "ENABLE" ]; then + . "htsky.sh" + dep="${dep} htsky" +fi +if [ "${COMBUSTION}" = "ENABLE" ]; then + . "atrstm.sh" + dep="${dep} atrstm" +fi +if [ "${PLANETO}" = "ENABLE" ]; then + . "rnatm.sh" + . "rngrd.sh" + . "star-buffer.sh" + dep="${dep} rnatm rngrd star-buffer" +fi + +opt="ATMOSPHERE=${ATMOSPHERE} COMBUSTION=${COMBUSTION} PLANETO=${PLANETO}" + +name="htrdr" +url="$\(REPO\)/htrdr.git" +tag="origin/feature_posix_make" +dep="${dep} aw mrumtl rsys star-3d star-camera star-sf star-sp star-vx" +opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" +git_repo + +profile htrdr.profile