[patch] Fix nonexisting .c default libopcodes_a_SOURCES

Jan Kratochvil jan.kratochvil@redhat.com
Sun Oct 10 17:59:00 GMT 2010


Hi,

as posted by Jiang Jilin in
	[PATCH] Fix the TAGS object
	http://sourceware.org/ml/gdb-patches/2010-09/msg00320.html

`make tags' currently:
	make[2]: *** No rule to make target `libopcodes.c', needed by `TAGS'.  Stop.
	make[2]: Leaving directory `.../opcodes'

due to automake `Default _SOURCES'.

OK to check-in?  The Makefile.in diff looks very safe.


Thanks,
Jan


opcodes/
2010-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
	    Jiang Jilin  <freephp@gmail.com>

	* Makefile.am (libopcodes_a_SOURCES): New as empty.
	* Makefile.in: Regenerate.

--- a/opcodes/Makefile.am
+++ b/opcodes/Makefile.am
@@ -287,6 +287,7 @@ EXTRA_libopcodes_la_SOURCES = $(LIBOPCODES_CFILES)
 # should be removed if everything else starts using libtool.  FIXME.
 
 noinst_LIBRARIES = libopcodes.a
+libopcodes_a_SOURCES =
 
 stamp-lib: libopcodes.la
 	libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \



More information about the Binutils mailing list