[PATCH] Fix the TAGS object
Jiang Jilin
freephp@gmail.com
Fri Sep 17 23:40:00 GMT 2010
Hi,
I found it failed when run 'make tags', because there is no
libopcodes.c, and ctags cannot recognize the '-t' argument.
I try to fix it. Is it OK?
Thanks!
2010-09-17 Jiang Jilin <freephp@gmail.com>
* opcodes/Makefile.in (libopcodes_a_SOURCES): Remove the libopcodes.c.
(SOURCES): Likewise.
* readline/Makefile.in (ETAGS): Remove the option 't'.
(CTAGS): Likewise.
---
opcodes/Makefile.in | 4 ++--
readline/Makefile.in | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
index 942d68c..94187b6 100644
--- a/opcodes/Makefile.in
+++ b/opcodes/Makefile.in
@@ -69,7 +69,7 @@ LIBRARIES = $(noinst_LIBRARIES)
ARFLAGS = cru
libopcodes_a_AR = $(AR) $(ARFLAGS)
libopcodes_a_LIBADD =
-libopcodes_a_SOURCES = libopcodes.c
+libopcodes_a_SOURCES =
libopcodes_a_OBJECTS = libopcodes.$(OBJEXT)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
@@ -116,7 +116,7 @@ CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
-SOURCES = libopcodes.c $(libopcodes_la_SOURCES) \
+SOURCES = $(libopcodes_la_SOURCES) \
$(EXTRA_libopcodes_la_SOURCES)
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
diff --git a/readline/Makefile.in b/readline/Makefile.in
index 4423b23..03f31c9 100644
--- a/readline/Makefile.in
+++ b/readline/Makefile.in
@@ -68,8 +68,8 @@ man3dir = $(mandir)/man3
DESTDIR =
# Programs to make tags files.
-ETAGS = etags -tw
-CTAGS = ctags -tw
+ETAGS = etags -w
+CTAGS = ctags -w
CFLAGS = @CFLAGS@
LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
--
1.7.0.4
More information about the Gdb-patches
mailing list