aboutsummaryrefslogtreecommitdiffstats
path: root/bs/mkdep.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-09-06 09:28:16 +0000
committerEric Wong <normalperson@yhbt.net>2006-09-06 09:28:16 +0000
commitb78b0a7f09eb2c276cb62645c5f2481f205329a0 (patch)
tree32a5c42ce51a1ca33987d17b4144297d2c912cf0 /bs/mkdep.sh
parent412cb1ee105a74999a3ffac4e60e6602c5f2e541 (diff)
downloadmpd-b78b0a7f09eb2c276cb62645c5f2481f205329a0.tar.gz
mpd-b78b0a7f09eb2c276cb62645c5f2481f205329a0.tar.xz
mpd-b78b0a7f09eb2c276cb62645c5f2481f205329a0.zip
remove bs; oops, didn't mean to commit that
git-svn-id: https://svn.musicpd.org/mpd/trunk@4738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rwxr-xr-xbs/mkdep.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/bs/mkdep.sh b/bs/mkdep.sh
deleted file mode 100755
index fb3ce12a7..000000000
--- a/bs/mkdep.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-f="$1"
-d="`dirname $1`"
-t=.tmp.$$
-
-# -MM is gcc-specific...
-$CC -MM $CPPFLAGS $CFLAGS "$f" > $t
-
-if test $? -ne 0; then
- # ok, maybe -M is supported...
- $CC -M $CPPFLAGS $CFLAGS "$f" > "$t"
-
- # guess not, fudge the dependencies by using all headers
- if test $? -ne 0; then
- echo "$O/$f: $f $O/config.h $HDR_DEP_HACK" | sed -e 's#c:#o:#'
- exec rm -f $t
- fi
-fi
-
-sed -e 's#.c$#.o#' -e "1s#^#$O/$d/&#" < $t
-exec rm -f $t