X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=makedepend.SH;h=229a73d83ee519b5d9c621ba32ae4b1daca674a2;hb=5782d502273e5b6d06607ebe625248c4c102d93b;hp=5d56d590489963f34f906ce924539a97b61d7241;hpb=96a8704c85b1e14bb3d63195b0b720f2fd5b8182;p=p5sagit%2Fp5-mst-13.2.git diff --git a/makedepend.SH b/makedepend.SH index 5d56d59..229a73d 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -83,7 +83,6 @@ if test -f Makefile; then # to be out of date. I don't know if OS/2 has touch, so do this: case "$osname" in os2) ;; - netbsd) ;; *) $touch $firstmakefile ;; esac fi @@ -211,6 +210,10 @@ if $test -s .deptmp; then $echo "Updating $mf..." $echo "# If this runs make out of memory, delete /usr/include lines." \ >> $mf.new + if [ "$osname" = vos ]; then + $sed 's|.incl.c|.h|' .deptmp >.deptmp.vos + mv -f .deptmp.vos .deptmp + fi $sed 's|^\(.*\$(OBJ_EXT):\) *\(.*/.*\.c\) *$|\1 \2; '"$defrule \2|" .deptmp \ >>$mf.new else