star-build

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

commit 70b6db787ec9a5592c4000561cebaad8310468ca
parent 5cb92cd525d4d756daa5fc8520bdfa40e1116344
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 15 Sep 2023 17:00:09 +0200

Add the build script of the rngrd library

Diffstat:
Mlint.mk | 1+
Asrc/rngrd.sh | 35+++++++++++++++++++++++++++++++++++
2 files changed, 36 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/rngrd.sh shellcheck -o all -x -P src src/rnsf.sh shellcheck -o all -x -P src src/rnsl.sh shellcheck -o all -x -P src src/rsimd.sh diff --git a/src/rngrd.sh b/src/rngrd.sh @@ -0,0 +1,35 @@ +#!/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 "${RNGRD_SH}" ] && return +export RNGRD_SH=1 + +. "build.sh" +. "mrumtl.sh" +. "rnsl.sh" +. "rsys.sh" +. "star-3d.sh" +. "star-buffer.sh" +. "star-mesh.sh" +. "star-sf.sh" + +name="rngrd" +url="$\(REPO\)/rngrd.git" +tag="origin/feature_posix_make" +dep="mrumtl rnsl rsys star-3d star-buffer star-mesh star-sf" +opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" +git_repo