1 # The mips as doesn't grok #line directives, suppress them via -P during
3 # The sed script removes blanks that mips-tfile doesn't like,
4 # embedds stabs in comments and changes .long to .word
6 WIERDSTABS_S=wierd-ecoff.S
7 # Only gcc knows about stabs-in-ecoff
10 wierd.o: ${srcdir}/${WIERDSTABS_S} ${srcdir}/wierd.def ${srcdir}/wierd-ecoff.sed
11 cp ${srcdir}/${WIERDSTABS_S} tmp.c
12 $(STABSCC) -I${srcdir} -E -P tmp.c >tmp.s
13 sed -f ${srcdir}/wierd-ecoff.sed <tmp.s >wierd.s