* libupdate.sh: Deleted.
authorKen Raeburn <raeburn@mit.edu>
Fri, 23 Apr 2004 00:59:19 +0000 (00:59 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 23 Apr 2004 00:59:19 +0000 (00:59 +0000)
* Makefile.in (libupdate, makeshlib): Targets deleted.
(all-recurse): Don't depend on them.
(clean): Don't try to delete them.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16265 dc483132-0cff-0310-8789-dd5450dbe970

src/util/ChangeLog
src/util/Makefile.in
src/util/libupdate.sh [deleted file]

index 31b200bde1a59e0ac26b230b1284b933df4eed70..f74c72dd87106f38871e1884e6947302846ae918 100644 (file)
@@ -1,6 +1,9 @@
 2004-04-22  Ken Raeburn  <raeburn@mit.edu>
 
-       * makeshlib.conf: Deleted.
+       * libupdate.sh, makeshlib.sh: Deleted.
+       * Makefile.in (libupdate, makeshlib): Targets deleted.
+       (all-recurse): Don't depend on them.
+       (clean): Don't try to delete them.
 
 2004-03-08  Ken Raeburn  <raeburn@mit.edu>
 
index f5207181c4683e2cc9c8cde697f304ef9f680155..b9994bb0df4bf38cc43b180762a4d60446f41f45 100644 (file)
@@ -28,7 +28,7 @@ SLIBSH=sed -e 's|@''CC''@|$(CC)|g' -e 's,@''HOST_TYPE''@,$(HOST_TYPE),g' -e 's,@
 DL_COMPILE=@DL_COMPILE@
 DL_COMPILE_TAIL=@DL_COMPILE_TAIL@
 
-all-recurse: libupdate makeshlib
+all-recurse:
 all-unix:: $(FAKEPREFIX)/lib
 all-mac::
 
@@ -63,16 +63,5 @@ clean-windows::
        $(MAKE) -$(MFLAGS) clean
        cd ..
 
-libupdate: $(srcdir)/libupdate.sh
-       $(RM) $@ $@.tmp
-       $(editsh) $(srcdir)/libupdate.sh > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
-
-makeshlib: $(srcdir)/makeshlib.sh Makefile
-        $(RM) $@ $@.tmp
-        $(SLIBSH) $(srcdir)/makeshlib.sh >$@.tmp&&chmod a+x $@.tmp&&mv $@.tmp $@
-
-clean::
-       $(RM) libupdate makeshlib
-
 install::
        @echo nothing to install in util
diff --git a/src/util/libupdate.sh b/src/util/libupdate.sh
deleted file mode 100644 (file)
index 8c3e61e..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# libupdate: Update a library based on a file of object files.
-#
-# Usage: libupdate <library> <object filelist> <directories> 
-#
-
-ARADD="@ARADD@"
-ARCHIVE="@ARCHIVE@"
-
-case "$1" in
---force)
-       force=yes
-       arcmd="$ARCHIVE"
-       shift
-       rmcmd="rm -f $1"
-       ;;
-*)
-       arcmd="$ARADD"
-       rmcmd=
-       force=
-esac
-library=$1
-oblist=$2
-shift
-shift
-for dir do
-       oblists="$oblists${oblists+ }$dir/$oblist";
-done
-
-stamp=`echo $library | sed -e 's/.a$/.stamp/'`
-
-if test "$force" != yes -a -f $stamp && \
-   ls -lt $stamp $oblists | sed 1q | grep $stamp$ > /dev/null || \
-   test -z "`cat $oblists`"
-then
-       exit 0
-fi
-
-echo "Updating library $library from $oblists"
-
-$rmcmd
-$arcmd $library `for dir do (cd $dir; cat $oblist | \
-       sed -e "s;^\([^ ]*\);$dir/\1;g" -e "s; \([^ ]*\); $dir/\1;g"); done`