294
287
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
296
289
if test "$libtool" = yes; then
297
295
tmpdepfile1="$dir.libs/$base.lo.d"
301
300
tmpdepfile1="$dir$base.o.d"
302
301
tmpdepfile2="$dir$base.d"
307
307
if test $stat -eq 0; then :
313
313
if test -f "$tmpdepfile1"; then
314
314
tmpdepfile="$tmpdepfile1"
316
316
tmpdepfile="$tmpdepfile2"
318
320
if test -f "$tmpdepfile"; then
319
321
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"