* depcomp: workaround for problem with SGI IRIX sed (it can only
handle lines of up to 8192 characters, the rest of the line will
be mangled).
+2000-06-02 Morten Eriksen <mortene@sim.no>
+
+ * depcomp: workaround for problem with SGI IRIX sed (it can only
+ handle lines of up to 8192 characters, the rest of the line will
+ be mangled).
+
2000-05-31 Morten Eriksen <mortene@sim.no>
* depcomp: tell SGI MIPSpro compilers to generate dependencies
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
- sed 's/^[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and remove the tr invocations, as IRIX sed won't handle
+ # lines with more than 8192 characters.
+ tr ' ' '
+' < "$tmpdepfile" | sed 's/^[^\.]*\.o://' | tr '
+' ' ' >> $depfile
+
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
- sed 's/^[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and remove the tr invocations, as IRIX sed won't handle
+ # lines with more than 8192 characters.
+ tr ' ' '
+' < "$tmpdepfile" | sed 's/^[^\.]*\.o://' | tr '
+' ' ' >> $depfile
+
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation