aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-04-12 02:50:28 +0000
committerAlan Modra <amodra@gmail.com>2005-04-12 02:50:28 +0000
commitceae3e339f25193207809084cfcf929d75558859 (patch)
tree352561a5f9a932b51820dc63013c37472463278a /binutils/Makefile.in
parentc3af963cda1e98018adf4781c68a7040f4f41e1e (diff)
downloadgdb-ceae3e339f25193207809084cfcf929d75558859.zip
gdb-ceae3e339f25193207809084cfcf929d75558859.tar.gz
gdb-ceae3e339f25193207809084cfcf929d75558859.tar.bz2
bfd/
* Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * libcoff.h: Regenerate. bfd/doc/ * Makefile.in: Regenerate. binutils/ * Makefile.am: Run "make dep-am". (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command. (sysroff.o, defparse.o, deflex.o): Likewise. (nlmheader.o, rcparse.o, rclex.o): Likewise. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. gas/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ * Makefile.am: Run "make dep-am". (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command. * Makefile.in: Regenerate. * config.in: Regenerate.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r--binutils/Makefile.in37
1 files changed, 28 insertions, 9 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index ebfbc10..655c621 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -993,16 +993,16 @@ sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
syslex.o:
if [ -r syslex.c ]; then \
- $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c ; \
+ $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c -Wno-error ; \
else \
- $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c ;\
+ $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c -Wno-error ;\
fi
sysinfo.o:
if [ -r sysinfo.c ]; then \
- $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c ; \
+ $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c -Wno-error ; \
else \
- $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c ; \
+ $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c -Wno-error ; \
fi
# We need these for parallel make.
@@ -1012,6 +1012,25 @@ nlmheader.h: nlmheader.c
rcparse.h: rcparse.c
sysinfo.h: sysinfo.c
+# Disable -Werror, if it has been enabled, since old versions of bison/
+# yacc will produce working code which contain compile time warnings.
+arparse.o:
+ $(COMPILE) -c $< -Wno-error
+arlex.o:
+ $(COMPILE) -c $< -Wno-error
+sysroff.o:
+ $(COMPILE) -c $< -Wno-error
+defparse.o:
+ $(COMPILE) -c $< -Wno-error
+deflex.o:
+ $(COMPILE) -c $< -Wno-error
+nlmheader.o:
+ $(COMPILE) -c $< -Wno-error
+rcparse.o:
+ $(COMPILE) -c $< -Wno-error
+rclex.o:
+ $(COMPILE) -c $< -Wno-error
+
dlltool.o:
$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
@@ -1102,15 +1121,15 @@ install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
+addr2line.o: addr2line.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
- $(INCDIR)/demangle.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
+ $(INCDIR)/demangle.h bucomm.h $(INCDIR)/bin-bugs.h \
$(INCDIR)/fopen-same.h budemang.h
ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
$(INCDIR)/libiberty.h $(INCDIR)/progress.h bucomm.h \
config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
- $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h $(INCDIR)/filenames.h \
- binemul.h
+ $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h \
+ arsup.h $(INCDIR)/filenames.h binemul.h
arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/symcat.h arsup.h $(INCDIR)/libiberty.h bucomm.h \
config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
@@ -1121,7 +1140,7 @@ binemul.o: binemul.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/libiberty.h \
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
- $(INCDIR)/filenames.h $(BFDDIR)/libbfd.h
+ $(INCDIR)/filenames.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h
budemang.o: budemang.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
budemang.h