From: Tom Tromey Date: Tue, 21 Nov 2017 20:44:11 +0000 (-0700) Subject: Define YYOBJ in terms of YYFILES X-Git-Tag: users/ARM/embedded-binutils-master-2017q4~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=afa0a4115985939f242bcd54211c98345eefe16b;p=thirdparty%2Fbinutils-gdb.git Define YYOBJ in terms of YYFILES Change YYOBJ to be defined in terms of YYFILES. ChangeLog 2017-11-27 Tom Tromey * Makefile.in (YYFILES): Update comment. (YYOBJ): Redefine. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 412720c0820..a3daef70a9e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-11-27 Tom Tromey + + * Makefile.in (YYFILES): Update comment. + (YYOBJ): Redefine. + 2017-11-27 Tom Tromey * Makefile.in (SUBDIR_PYTHON_OBS): Redefine. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index c1b2e655f04..bc3e2526d9b 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.