294
262
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
296
264
if test "$libtool" = yes; then
299
265
tmpdepfile1="$dir.libs/$base.lo.d"
304
269
tmpdepfile1="$dir$base.o.d"
305
270
tmpdepfile2="$dir$base.d"
311
275
if test $stat -eq 0; then :
317
281
if test -f "$tmpdepfile1"; then
318
282
tmpdepfile="$tmpdepfile1"
320
284
tmpdepfile="$tmpdepfile2"
324
286
if test -f "$tmpdepfile"; then
325
287
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"