ARADD="@ARADD@"
ARCHIVE="@ARCHIVE@"
-library=$1
-oblist=$2
-dir=$3
-
-force=
-rmcmd=
-arcmd="$ARADD"
-if test "$1" = "--force"
-then
+case "$1" in
+--force)
force=yes
arcmd="$ARCHIVE"
- rmcmd="rm -f $library"
shift
-fi
+ rmcmd="rm -f $1"
+ ;;
+*)
+ arcmd="$ARADD"
+ rmcmd=
+ force=
+esac
+library=$1
+oblist=$2
+dir=$3
stamp=`echo $library | sed -e 's/.a$/.stamp/'`
$rmcmd
$arcmd $library `cat $oblist | \
sed -e "s;^\([^ ]*\);$dir/\1;g" -e "s; \([^ ]*\); $dir/\1;g"`
-
-
-
-
-
-
-