From: Ken Raeburn Date: Fri, 23 Apr 2004 00:59:19 +0000 (+0000) Subject: * libupdate.sh: Deleted. X-Git-Tag: krb5-1.4-beta1~480 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=343bb2cb78e331f4ae4b9f022d4968058460ef4e;p=krb5.git * libupdate.sh: Deleted. * 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 --- diff --git a/src/util/ChangeLog b/src/util/ChangeLog index 31b200bde..f74c72dd8 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,6 +1,9 @@ 2004-04-22 Ken Raeburn - * 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 diff --git a/src/util/Makefile.in b/src/util/Makefile.in index f5207181c..b9994bb0d 100644 --- a/src/util/Makefile.in +++ b/src/util/Makefile.in @@ -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 index 8c3e61ece..000000000 --- a/src/util/libupdate.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# libupdate: Update a library based on a file of object files. -# -# Usage: libupdate -# - -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`