e5fd1493fd
This minimizes the "make" output from the yacc and lex rules, following the same technique as the rest of the Makefile. The lex rule had a special case to deal with the situation where flex is not available. I don't think this is needed, so I removed it. If flex is truly unavailable, the person building gdb can simply "touch" the output file. gdb/ChangeLog 2018-07-09 Tom Tromey <tom@tromey.com> * Makefile.in (%.c: %.y): Use ECHO_YACC. (%.c: %.l): Use ECHO_LEX. Just fail if flex not available. * silent-rules.mk (ECHO_YACC, ECHO_LEX): New variables.
18 lines
566 B
Makefile
18 lines
566 B
Makefile
# If V is undefined or V=0 is specified, use the silent/verbose/compact mode.
|
|
V ?= 0
|
|
ifeq ($(V),0)
|
|
ECHO_CXX = @echo " CXX $@";
|
|
ECHO_CXXLD = @echo " CXXLD $@";
|
|
ECHO_REGDAT = @echo " REGDAT $@";
|
|
ECHO_GEN = @echo " GEN $@";
|
|
ECHO_GEN_XML_BUILTIN = \
|
|
@echo " GEN xml-builtin.c";
|
|
ECHO_GEN_XML_BUILTIN_GENERATED = \
|
|
@echo " GEN xml-builtin-generated.c";
|
|
ECHO_INIT_C = echo " GEN init.c" ||
|
|
ECHO_SIGN = @echo " SIGN gdb";
|
|
ECHO_YACC = @echo " YACC $@";
|
|
ECHO_LEX = @echo " LEX $@";
|
|
SILENCE = @
|
|
endif
|