star-build

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

commit 4ff047f2cb17956b3dda3d9ac2118b98f654f387
parent 70b6db787ec9a5592c4000561cebaad8310468ca
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 26 Sep 2023 10:03:53 +0200

Add the build script of the rnatm library

Diffstat:
Mlint.mk | 1+
Asrc/rnatm.sh | 39+++++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/lint.mk b/lint.mk @@ -28,6 +28,7 @@ lint: shellcheck -o all -x -P src src/polygon.sh shellcheck -o all -x -P src src/prereq.sh shellcheck -o all -x -P src src/random123_1.14.0.sh + shellcheck -o all -x -P src src/rnatm.sh shellcheck -o all -x -P src src/rngrd.sh shellcheck -o all -x -P src src/rnsf.sh shellcheck -o all -x -P src src/rnsl.sh diff --git a/src/rnatm.sh b/src/rnatm.sh @@ -0,0 +1,39 @@ +#!/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 "${RNATM_SH}" ] && return +export RNATM_SH=1 + +. "build.sh" +. "rnsf.sh" +. "rnsl.sh" +. "rsys.sh" +. "star-aerosol.sh" +. "star-buffer.sh" +. "star-ck.sh" +. "star-mesh.sh" +. "star-sf.sh" +. "star-uvm.sh" +. "star-vx.sh" + +name="rnatm" +url="$\(REPO\)/rnatm.git" +tag="origin/feature_posix_make" +dep="rnsf rnsl rsys star-aerosol star-buffer star-ck star-mesh star-sf \ + star-uvm star-vx" +opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" +git_repo