From 0cadd6a299e4ad90cf07cb86c6704da58b600a68 Mon Sep 17 00:00:00 2001 From: David Given Date: Mon, 18 Jul 2022 20:50:26 +0200 Subject: [PATCH] Remove shf, which is obsolete and unused. --- util/shf/march.sh | 55 --------------------------------------------- util/shf/proto.make | 23 ------------------- 2 files changed, 78 deletions(-) delete mode 100755 util/shf/march.sh delete mode 100644 util/shf/proto.make diff --git a/util/shf/march.sh b/util/shf/march.sh deleted file mode 100755 index d1eb052bd..000000000 --- a/util/shf/march.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -: '$Id$' - -case $# in -3) makecmd=$3 ;; -2) makecmd=compmodule ;; -*) echo "Usage: $0 srcdir archname [ makecmd ]"; exit 1 ;; -esac - -errors=no -if test -r $1/LIST -then - ( - read archname - if test -r $1/$archname - then - arch x $1/$archname - for file in `arch t $1/$archname` - do - echo $file: 1>&2 - suffix=`expr $file : '.*\(\..*\)'` - ofile=`$makecmd $file $suffix` - if test $? != 0 - then errors=yes - fi - rm $file - OFILES="$OFILES $ofile" - done - else - while read file - do - echo $file: 1>&2 - suffix=`expr $file : '.*\(\..*\)'` - ofile=`$makecmd $1/$file $suffix` - if test $? != 0 - then errors=yes - fi - OFILES="$OFILES $ofile" - done - fi - if test $errors = no - then - if ${ASAR-arch} cr $2 $OFILES && ${RANLIB-:} $2 - then - rm $OFILES - fi - else - echo $2 not made, due to compilation errors - exit 1 - fi - ) < $1/LIST -else - echo no LIST file in directory $1 - exit 1 -fi diff --git a/util/shf/proto.make b/util/shf/proto.make deleted file mode 100644 index 986c3260a..000000000 --- a/util/shf/proto.make +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ - -#PARAMS do not remove this line! - -install: - -rm -f $(TARGET_HOME)/bin/march - cp $(SRC_HOME)/util/shf/march.sh $(TARGET_HOME)/bin/march - chmod +w $(TARGET_HOME)/bin/march - -clean: - @echo always clean - -lint: - @echo no C source files here - -cmp: - cmp $(SRC_HOME)/util/shf/march.sh $(TARGET_HOME)/bin/march - -opr: - make pr|opr - -pr: - @pr $(SRC_HOME)/util/shf/march.sh $(SRC_HOME)/util/shf/proto.make