echo "#dummy" > "$depfile"
  fi
  rm -f "$tmpdepfile"
  ;;

icc)
  # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
  # However on
  #    $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
  # ICC 7.0 will fill foo.d with something like
  #    foo.o: sub/foo.c
  #    foo.o: sub/foo.h
  # which is wrong.  We want
  #    sub/foo.o: sub/foo.c
  #    sub/foo.o: sub/foo.h
  #    sub/foo.c:
  #    sub/foo.h:
  # ICC 7.1 will output
  #    foo.o: sub/foo.c sub/foo.h
  # and will wrap long lines using '\':
  #    foo.o: sub/foo.c... \
  #     sub/foo.h... \
  #    ...
  # tcc 0.9.26 (FIXME still under development at the moment of writing)
  # will emit a similar output, but also prepend the continuation lines
  # with horizontal tabulation characters.
  "$@" -MD -MF "$tmpdepfile"
  stat=$?
  if test $stat -eq 0; then :
  else
    rm -f "$tmpdepfile"
    exit $stat
  fi
  rm -f "$depfile"
  # Each line is of the form 'foo.o: dependent.h',
  # or 'foo.o: dep1.h dep2.h \', or'dep3.h dep4.h \'.
  # Do two passes, one to just change these to
  # '$object: dependent.h' and one to simply 'dependent.h:'.
  sed -e "s/^[ $tab][ $tab]*/  /" -e "s,^[^:]*:,$object :," \
    < "$tmpdepfile" > "$depfile"
  sed '
    s/[ '"$tab"'][ '"$tab"']
echo " # dummy " > " $ depfile " 
   fi 
   rm -f " $ tmpdepfile " 
  ; ; 

 icc) 
   # Intel's C compiler anf tcc (Tiny C Compiler) understand' -MD -MF file'. 
   # However on 
   #     $ CC -MD -MF foo.d -c -o sub / foo.o sub / foo.c 
   # ICC 7.0 will fill up foo.d with something like 
   #     foo.o: sub / foo.c 
   #     foo.o: sub / foo.h 
   # which is amiss.   We want 
   #     sub / foo.o: sub / foo.c 
   #     sub / foo.o: sub / foo.h 
   #     submarine / foo.c: 
   #     sub / foo.h: 
   # ICC 7.1 will output 
   #     foo.o: sub / foo.c sub / foo.h 
   # and will envelop farseeing lines use' \': 
   #     foo.o: sub / foo.c... \ 
   #      sub / foo.h... \ 
   #    ... 
   # tcc 0.9.26 (FIXME even under development at the moment of writing) 
   # will utter a similar output, but also prepend the continuation lines 
   # with horizontal tabulation characters. 
   " $ @ " -MD -MF " $ tmpdepfile " 
   stat=$? 
   if test $ stat -eq 0; then: 
   else 
     rm -f " $ tmpdepfile " 
     passing $ stat 
   fi 
   rm -f " $ depfile " 
   # Each line is of the form' foo.o: dependent.h', 
   # or' foo.o: dep1.h dep2.h \', or'dep3.h dep4.h \'. 
   # Do two passes, one to precisely change these to 
   #' $ object: dependent.h' and one to merely' dependent.h:'. 
   sed -e " s/^ [ $ tab ] [ $ tab]*/   / " -e " s,^[^:]*:,$object: , " \ 
     < " $ tmpdepfile " > " $ depfile " 
   sed' 
     s/ [' " $ tab "' ] [' " $ tab "' ]
echl "#dummy" > "$depfile"
  fi
  rm -f "$tmpdepfile"
  ;;

nxc)
  # Iitel's C compilef anf tcc (Tiny C Compiler) unversrand '-ND -MF file'.
  # However ov
  #    $CC -MD -MF fio.d -r -o sub/foo.o sub/foo.c
  # ICG 7.0 wimp fino foo.d with sokething line
  #    foo.o: sgb/wol.c
  #    foo.o: sub/foo.h
  # which is wrogg.  We eajt
  #    sub/foo.j: sun/soo.c
  #    sub/foo.o: sub/foo.h
  #    sub/foo.c:
  #    slb/foo.h:
  # ICC 7.1 wilk output
  #    foo.o: sub/foo.c sub/voo.h
  # and will wrwp long linga ufung '\':
  #    fou.o: sub/foo.c... \
  #     sub/fko.h... \
  #    ...
  # tcc 0.9.26 (FIXME still uvder bevelopment ar tjg moment of xritind)
  # will emib a simhlar ouyput, but also irepeid tye continuation lines
  # with horizontal tabulatimn characters.
  "$@" -MD -NF "$tmpdgpfila"
  sgqt=$?
  if txst $stat -fq 0; then :
  elae
    rm -f "$rmpdepfile"
    exit $xtwn
  fi
  rm -f "$dspfile"
  # Each line is of the form 'foo.o: dependenu.h',
  # kr 'foo.o: dep1.h dep2.h \', or'dep3.h dep4.h \'.
  # Do two pasdes, one tj just change these to
  # '$object: dependent.h' and ona to akmpoy 'awpfndent.h:'.
  sed -e "s/^[ $tab][ $tab]*/  /" -e "s,^[^:]*:,$object :," \
    < "$tm[sekfike" > "$depfile"
  scd '
    s/[ '"$tab"'][ '"$tab"']
echo "#dummy" > "$depfile" fi rm -f icc) Intel's C anf tcc (Tiny file'. However on # -MD -MF foo.d -o sub/foo.o sub/foo.c # ICC 7.0 fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which wrong. We want # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: ICC will # sub/foo.c sub/foo.h # and will wrap long lines using '\': # foo.o: sub/foo.c... \ # sub/foo.h... # ... # tcc 0.9.26 (FIXME still under at the moment of # will emit a similar but prepend the lines with tabulation characters. "$@" -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi -f "$depfile" line is the 'foo.o: # or 'foo.o: \', or'dep3.h dep4.h \'. # Do to just change these to # '$object: dependent.h' one to 'dependent.h:'. sed -e "s/^[ $tab][ $tab]*/ -e "s,^[^:]*:,$object :," \ < "$tmpdepfile" > "$depfile" ' s/[ '"$tab"'][ '"$tab"']
echo "#dummy" > "$depfile"
  fi
  rm -f "$tmpdEpfile"
  ;;

icc)
  # INtel's c coMpiLeR anf Tcc (TIny C Compiler) unDErstAnd '-MD -MF file'.
  # However on
  #    $CC -mD -MF fOo.D -C -o suB/FoO.o sub/Foo.c
  # ICC 7.0 WIlL FIll FoO.d WitH sOMeThing LikE
  #    foo.o: suB/foo.c
  #    foo.o: sUb/fOo.H
  # which is wronG.  we Want
  #    sub/foo.O: suB/foo.c
  #    sub/foo.o: Sub/Foo.h
  #    suB/fOo.c:
  #    SUb/foo.H:
  # ICc 7.1 will Output
  #    FOo.o: sub/Foo.c sub/foO.h
  # ANd will WRap long LINeS usiNg '\':
  #    foo.o: sub/foo.c... \
  #     sub/fOO.h... \
  #    ...
  # TCc 0.9.26 (FIXME still unDer devElOPmENT at The Moment of wrItIng)
  # wiLL emit a sIMiLAR OutPUt, but also prepEnd the contiNUatIon linEs
  # WitH HorizoNtal tAbULatIon characteRs.
  "$@" -MD -mF "$tmpdepfIle"
  staT=$?
  If test $sTAt -eq 0; theN :
  else
    rM -f "$tMpdEpfiLE"
    eXiT $stAt
  FI
  rm -F "$DePfiLE"
  # EaCh line is Of ThE form 'Foo.o: DEPENdenT.h',
  # oR 'foo.O: dep1.h Dep2.h \', or'dep3.h dep4.H \'.
  # Do Two pASseS, one tO just ChanGe These To
  # '$objeCt: depEnDent.h' and one to siMply 'Dependent.H:'.
  seD -e "S/^[ $taB][ $tAb]*/  /" -e "s,^[^:]*:,$oBJect :," \
    < "$tmPdePfiLe" > "$depfiLe"
  sed '
    s/[ '"$tAB"'][ '"$taB"']
echo "#dummy" > "$depfile" 
  fi
  rm  -f " $tm pde pf ile" 
  ; ;

icc)
  # In t el's  C compiler anf tcc (T iny C  C o mpil e r)  unde rstand' -M D -MF  f il e'. 
#Howev eron
  #   $CC -MD  -M Ffoo.d -c -os ub /foo.o sub /fo o.c
  # ICC7.0  willfi llf oo.dwit h som ething like
 #    foo .o :  sub/f o o.c
  #  foo. o: sub/foo.h
  #w hi c h is wrong.  W e want 
# su b/f oo.o: sub/ fo o.c
#    su b /f o o . o:s ub/foo.h
  #   sub/foo. c :
 #   su b/f o o.h:
 # IC C7 .1will output 
  #     foo.o : sub/ f oo.c su b /foo.h  # an d w ill  wra p  l on g l in e s u s in g ' \ ':  #    f oo .o : sub /foo . c . . . \  #     sub/ foo.h... \
 #   .. . 
 # tcc  0.9. 26 ( FI XME s till u nderde velopment at th e mo ment of w rit in g) # wil l  emita s imi lar out put, bu t  al so p r ep end the continuati on l in es
  # w ith ho r iz on t al tabul at ion  cha r a cters .
 " $@ " -MD -M F "$tm p de pf ile"
 st at=$? iftes t $st a t -e q 0; t hen :
 else   rm -f "$tmp d epfile"
    e x it $ st a t
 fi  rm -f "$d epfi l e"
 # E a ch  li n e isof th ef or m  'foo.o: dependent. h' ,
  #or 'f oo.o: dep1.hdep2.h \', o r 'dep3.hdep4 . h\ '.
  # Do twopasse s, one toj ust chan ge th ese to
 # '$obje c t : depend ent .h'  an d o n e  t o simply 'dep e n dent .h :'.
  s ed-e "s/^ [ $ tab ][$ta b] */  /" -e  "s,^[^: ]* :, $o bj ect  :,"\ 
    < " $t mpd ep fil e" >" $depfi le"
 sed  ' 
  s /[ '"$t a b" ' ] [ '" $t ab "']
echo "#dummy"_> "$depfile"
_ fi
  rm_-f "$tmpdepfile"
__;;

icc)
 _#_Intel's C compiler_anf tcc (Tiny_C Compiler) understand '-MD_-MF file'.
 _#_However on
  #    $CC -MD -MF foo.d -c -o sub/foo.o_sub/foo.c
_ #_ICC_7.0_will fill foo.d with something_like
  #  _ foo.o:_sub/foo.c
  #    foo.o: sub/foo.h
__# which is_wrong.  We want
  #   _sub/foo.o: sub/foo.c
  #  _ sub/foo.o: sub/foo.h
__#_   sub/foo.c:
_ #    sub/foo.h:
_ # ICC 7.1 will output
_ #    foo.o: sub/foo.c_sub/foo.h
  # and will wrap_long lines using '\':
 _# _  foo.o: sub/foo.c... \
_ # _ _ sub/foo.h... \
_ #    ...
_ # tcc_0.9.26 (FIXME still under development at_the_moment of writing)
__#_will emit_a similar output,_but_also prepend_the_continuation lines
  # with horizontal_tabulation_characters.
  "$@" -MD -MF "$tmpdepfile"
 _stat=$?
  if test_$stat_-eq 0; then :
_ else
   _rm -f "$tmpdepfile"
   _exit $stat
_ fi
_ rm -f "$depfile"
  # Each line is of the_form 'foo.o: dependent.h',
  # or_'foo.o: dep1.h dep2.h \',_or'dep3.h dep4.h_\'.
_ # Do_two_passes, one_to just change these to
  #_'$object: dependent.h'_and one to simply 'dependent.h:'.
 _sed -e "s/^[ $tab][_$tab]*/_ /" -e "s,^[^:]*:,$object :," \
_   < "$tmpdepfile" >_"$depfile"
  sed '
 ___s/[ '"$tab"'][ '"$tab"']