* 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
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>
DL_COMPILE=@DL_COMPILE@
DL_COMPILE_TAIL=@DL_COMPILE_TAIL@
-all-recurse: libupdate makeshlib
+all-recurse:
all-unix:: $(FAKEPREFIX)/lib
all-mac::
$(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
+++ /dev/null
-#!/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`