1993-09-17 11:51:28 +00:00
|
|
|
# This configuration is for a gcc that uses mips-tfile. If your gcc
|
|
|
|
# uses gas, you should configure gdb --with-gnu-as.
|
|
|
|
#
|
1993-07-18 15:47:51 +00:00
|
|
|
# The mips as doesn't grok #line directives, suppress them via -P during
|
1993-10-05 19:32:46 +00:00
|
|
|
# preprocessing and change long to word as mips as doesn't grok .long.
|
|
|
|
# The sed script removes blanks that mips-tfile doesn't like and
|
|
|
|
# embedds stabs in comments.
|
1993-07-18 15:47:51 +00:00
|
|
|
#
|
1993-09-15 22:17:29 +00:00
|
|
|
WEIRDSTABS_S=weird-ecoff.S
|
1993-07-18 15:47:51 +00:00
|
|
|
|
1993-09-15 22:17:29 +00:00
|
|
|
weird.o: ${srcdir}/${WEIRDSTABS_S} ${srcdir}/weird.def ${srcdir}/weird-ecoff.sed
|
|
|
|
cp ${srcdir}/${WEIRDSTABS_S} tmp.c
|
1993-10-05 19:32:46 +00:00
|
|
|
$(CC) -I${srcdir} -E -P -Dlong=word tmp.c >tmp.s
|
1993-09-15 22:17:29 +00:00
|
|
|
sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s
|
1993-09-17 11:51:28 +00:00
|
|
|
$(CC) -c weird.s
|