diff options
author | Garry Zacheiss <zacheiss@mit.edu> | 2004-09-10 17:12:46 +0000 |
---|---|---|
committer | Garry Zacheiss <zacheiss@mit.edu> | 2004-09-10 17:12:46 +0000 |
commit | 4add8116a9d226ecea9e1f023b80da533a166f41 (patch) | |
tree | 698a896c526eb48f657282dad38b61b340fb166c | |
parent | ca7aaaa6c9bc5f82a2c46289c7805ce6b072ace5 (diff) |
Punt athstatic.
-rwxr-xr-x | athstatic | 31 | ||||
-rw-r--r-- | zhm/Makefile.in | 2 |
2 files changed, 1 insertions, 32 deletions
diff --git a/athstatic b/athstatic deleted file mode 100755 index 051697f..0000000 --- a/athstatic +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# $Id$ - -# Usage: athstatic progname options ... - -# Replaces -lfoo options with /usr/athena/lib/libfoo.a if it exists, -# thus preferring static libraries to shared libraries for stuff in -# /usr/athena/lib. - -progname=$1 -shift - -options= -for arg do - case $arg in - -l*) - # Chop off the first two characters to get the library name. - lib=`expr "$arg" : '..\(.*\)$'` - if [ -f /usr/athena/lib/lib${lib}.a ]; then - options="$options /usr/athena/lib/lib${lib}.a" - else - options="$options $arg" - fi - ;; - *) - options="$options $arg" - ;; - esac -done - -exec "$progname" $options diff --git a/zhm/Makefile.in b/zhm/Makefile.in index 6f81402..060ab7d 100644 --- a/zhm/Makefile.in +++ b/zhm/Makefile.in @@ -29,7 +29,7 @@ OBJS= timer.o queue.o zhm.o zhm_client.o zhm_server.o all: zhm zhm: ${OBJS} ${BUILDTOP}/lib/libzephyr.a - ${BUILDTOP}/athstatic ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} + ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} .c.o: ${CC} -c ${ALL_CFLAGS} $< |