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