Makefile and bfin-parse.c ?
H. J. Lu
hjl@lucon.org
Tue Oct 25 00:50:00 GMT 2005
On Tue, Oct 25, 2005 at 02:06:35AM +0800, Jie Zhang wrote:
> On 24 Oct 2005 10:33:57 -0700, Ian Lance Taylor <ian@airs.com> wrote:
> > Jie Zhang <jzhang918@gmail.com> writes:
> >
> > The obvious difference is that I see
> > itbl-parse.c and itbl-parse.h, but I see bfin-parse.c and
> > bfin-parse.tab.h. Perhaps if you change bfin-parse.tab.h to
> > bfin-parse.h automake will recognize what is going on.
> >
> I tried it. The warnings were still there.
>
Is bfin-parse.tab.h really needed? This patch seems to work.
H.J.
--- gas/Makefile.am.dup 2005-10-24 17:32:45.000000000 -0700
+++ gas/Makefile.am 2005-10-24 17:47:33.000000000 -0700
@@ -605,7 +605,7 @@ m68k-parse.o: m68k-parse.c $(srcdir)/con
m68k-parse.h: ; @true
$(srcdir)/config/m68k-parse.h: ; @true
-bfin-parse.c bfin-parse.tab.h: $(srcdir)/config/bfin-parse.y
+bfin-parse.c: $(srcdir)/config/bfin-parse.y
$(SHELL) $(YLWRAP) $(srcdir)/config/bfin-parse.y y.tab.c bfin-parse.c y.tab.h bfin-parse.h -- $(YACCCOMPILE) -d ;
bfin-parse.o: bfin-parse.c bfin-parse.h $(srcdir)/config/bfin-defs.h
More information about the Binutils
mailing list