summaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-11-21 13:44:11 -0700
committerTom Tromey <tom@tromey.com>2017-11-27 16:53:25 -0700
commitafa0a4115985939f242bcd54211c98345eefe16b (patch)
treeff9f0277924081a7fd3ca1da6cef675a61c81bb0 /gdb/Makefile.in
parent8fd8d003de32661ed703ae9fd7e1a856f1b58f81 (diff)
Define YYOBJ in terms of YYFILES
Change YYOBJ to be defined in terms of YYFILES. ChangeLog 2017-11-27 Tom Tromey <tom@tromey.com> * Makefile.in (YYFILES): Update comment. (YYOBJ): Redefine.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in15
1 files changed, 4 insertions, 11 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c1b2e655f0..bc3e2526d9 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1753,7 +1753,7 @@ CLEANDIRS = $(SUBDIRS)
# The format here is for the `case' shell command.
REQUIRED_SUBDIRS = doc | testsuite | $(GNULIB_BUILDDIR) | data-directory
-# For now, shortcut the "configure GDB for fewer languages" stuff.
+# Parser intermediate files.
YYFILES = \
ada-exp.c \
ada-lex.c \
@@ -1766,16 +1766,9 @@ YYFILES = \
p-exp.c \
rust-exp.c
-YYOBJ = \
- ada-exp.o \
- c-exp.o \
- cp-name-parser.o \
- d-exp.o \
- f-exp.o \
- go-exp.o \
- m2-exp.o \
- p-exp.o \
- rust-exp.o
+# ada-lex.c is included by another file, so it shouldn't wind up as a
+# .o itself.
+YYOBJ = $(filter-out ada-lex.o,$(patsubst %.c,%.o,$(YYFILES)))
# Things which need to be built when making a distribution.