home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / opcodes / mpw-make.sed < prev    next >
Text File  |  1996-09-28  |  701b  |  24 lines

  1. # Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
  2.  
  3. # Empty HDEFINES.
  4. /HDEFINES/s/@HDEFINES@//
  5.  
  6. /INCDIR=/s/"{srcdir}":/"{topsrcdir}"/
  7. /^CSEARCH = .*$/s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
  8. /BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
  9. /archdefs/s/@archdefs@/{ARCHDEFS}/
  10.  
  11. # No PIC foolery in this environment.
  12. /@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/
  13. /@PICLIST@/s/@PICLIST@//
  14. /@PICFLAG@/s/@PICFLAG@//
  15. /^{OFILES} \\Option-f stamp-picdir/,/^$/d
  16.  
  17. # Remove the pic trickery from the default build rule.
  18. /^\.c\.o \\Option-f /,/End If/c\
  19. .c.o \\Option-f .c
  20.  
  21. # Remove pic trickery from other rules - aimed at the rule
  22. # for disassemble.o in particular.
  23. /-n "{PICFLAG}"/,/End If/d
  24.