emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117793: --enable-silent-warnings now suppresses mor


From: Paul Eggert
Subject: [Emacs-diffs] trunk r117793: --enable-silent-warnings now suppresses more chatter.
Date: Mon, 01 Sep 2014 09:49:59 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117793
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2014-09-01 02:49:51 -0700
message:
  --enable-silent-warnings now suppresses more chatter.
  
  * INSTALL, etc/NEWS: Document this.
  * lib-src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
  (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
  (am__v_CCLD_1): New macros, taken from Automake.
  (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
  (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
  (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
  (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
  (update-game-score${EXEEXT}): Use them.
  * lwlib/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
  (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
  (.c.o): Use them.
  * oldXMenu/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
  (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
  (.c.o): Use them.
  * src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
  (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
  (am__v_CCLD_1): New macros, taken from Automake.
  (.c.o, .m.o, temacs$(EXEEXT)): Use them.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  INSTALL                        install-20091113204419-o5vbwnq5f7feedwu-581
  etc/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1485
  etc/NEWS                       news-20100311060928-aoit31wvzf25yr1z-1
  lib-src/ChangeLog              changelog-20091113204419-o5vbwnq5f7feedwu-1608
  lib-src/Makefile.in            makefile.in-20091113204419-o5vbwnq5f7feedwu-475
  lwlib/ChangeLog                changelog-20091113204419-o5vbwnq5f7feedwu-1447
  lwlib/Makefile.in              makefile.in-20091113204419-o5vbwnq5f7feedwu-662
  oldXMenu/ChangeLog             changelog-20091113204419-o5vbwnq5f7feedwu-1572
  oldXMenu/Makefile.in           
makefile.in-20091113204419-o5vbwnq5f7feedwu-1588
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/Makefile.in                makefile.in-20091113204419-o5vbwnq5f7feedwu-631
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-09-01 02:37:22 +0000
+++ b/ChangeLog 2014-09-01 09:49:51 +0000
@@ -1,5 +1,8 @@
 2014-09-01  Paul Eggert  <address@hidden>
 
+       --enable-silent-warnings now suppresses more chatter.
+       * INSTALL: Document this.
+
        Clean up extern decls a bit.
        * configure.ac (WERROR_CFLAGS): Don't disable -Wnested-externs.
        While we're at it, don't disable -Wlogical-op either.

=== modified file 'INSTALL'
--- a/INSTALL   2014-06-05 17:31:41 +0000
+++ b/INSTALL   2014-09-01 09:49:51 +0000
@@ -328,6 +328,11 @@
 there should be no warnings; on older and on non-GNU systems the
 generated warnings may still be useful.
 
+Use --enable-silent-rules to cause 'make' to chatter less.  This is
+helpful when combined with options like --enable-gcc-warnings that
+generate long shell-command lines.  'make V=0' also suppresses the
+chatter.
+
 Use --enable-link-time-optimization to enable link-time optimizer.  If
 you're using GNU compiler, this feature is supported since version 4.5.0.
 If `configure' can determine number of online CPUS on your system, final

=== modified file 'etc/ChangeLog'
--- a/etc/ChangeLog     2014-08-29 23:30:50 +0000
+++ b/etc/ChangeLog     2014-09-01 09:49:51 +0000
@@ -1,3 +1,8 @@
+2014-09-01  Paul Eggert  <address@hidden>
+
+       --enable-silent-warnings now suppresses more chatter.
+       * NEWS: Document this.
+
 2014-08-29  Leo Liu  <address@hidden>
 
        * NEWS: Mention (:append FUN) to minibuffer-with-setup-hook.

=== modified file 'etc/NEWS'
--- a/etc/NEWS  2014-08-29 23:30:50 +0000
+++ b/etc/NEWS  2014-09-01 09:49:51 +0000
@@ -40,6 +40,9 @@
 ** The configure option `--with-pkg-config-prog' has been removed.
 Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to.
 
+** The configure option '--enable-silent-rules' and the command
+'make V=0' now do a better job of suppressing chatter.
+
 
 * Startup Changes in Emacs 24.5
 

=== modified file 'lib-src/ChangeLog'
--- a/lib-src/ChangeLog 2014-09-01 00:06:11 +0000
+++ b/lib-src/ChangeLog 2014-09-01 09:49:51 +0000
@@ -1,5 +1,15 @@
 2014-09-01  Paul Eggert  <address@hidden>
 
+       --enable-silent-warnings now suppresses more chatter.
+       * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
+       (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
+       (am__v_CCLD_1): New macros, taken from Automake.
+       (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
+       (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
+       (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
+       (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
+       (update-game-score${EXEEXT}): Use them.
+
        * etags.c (emacs_strchr, emacs_strrchr): Remove.
        All uses replaced by strchr and strrchr, which are on all
        target platforms now.

=== modified file 'lib-src/Makefile.in'
--- a/lib-src/Makefile.in       2014-06-26 06:18:53 +0000
+++ b/lib-src/Makefile.in       2014-09-01 09:49:51 +0000
@@ -45,6 +45,19 @@
 # Program name transformation.
 TRANSFORM = @program_transform_name@
 
+# 'make' verbosity.
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+
+AM_V_CC = $(address@hidden@)
+am__v_CC_ = $(address@hidden@)
+am__v_CC_0 = @echo "  CC      " $@;
+am__v_CC_1 =
+
+AM_V_CCLD = $(address@hidden@)
+am__v_CCLD_ = $(address@hidden@)
+am__v_CCLD_0 = @echo "  CCLD    " $@;
+am__v_CCLD_1 =
+
 # ==================== Where To Install Things ====================
 
 # Location to install Emacs.app under GNUstep / Mac OS X.
@@ -311,7 +324,7 @@
        $(MAKE) -C ../lib libgnu.a
 
 regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h $(config_h)
-       ${CC} -c ${CPP_CFLAGS} $<
+       $(AM_V_CC)$(CC) -c $(CPP_CFLAGS) $<
 
 
 etags_deps = ${srcdir}/etags.c regex.o $(NTLIB) $(config_h)
@@ -319,41 +332,41 @@
 etags_libs = regex.o $(LOADLIBES) $(NTLIB)
 
 etags${EXEEXT}: ${etags_deps}
-       $(CC) ${ALL_CFLAGS} $(etags_cflags) $< $(etags_libs)
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(etags_cflags) $< $(etags_libs)
 
 ## ctags.c is distinct from etags.c so that parallel makes do not write two
 ## etags.o files on top of each other.
 ## FIXME?
 ## Can't we use a wrapper that calls 'etags --ctags'?
 ctags${EXEEXT}: ${srcdir}/ctags.c ${etags_deps}
-       $(CC) ${ALL_CFLAGS} $(etags_cflags) $< $(etags_libs)
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(etags_cflags) $< $(etags_libs)
 
 ebrowse${EXEEXT}: ${srcdir}/ebrowse.c ${srcdir}/../lib/min-max.h $(NTLIB) \
                    $(config_h)
-       $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" \
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" \
          $< $(LOADLIBES) $(NTLIB) -o $@
 
 profile${EXEEXT}: ${srcdir}/profile.c $(NTLIB) $(config_h)
-       $(CC) ${ALL_CFLAGS} $< \
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< \
          $(LOADLIBES) $(NTLIB) $(LIB_CLOCK_GETTIME) -o $@
 
 make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(NTLIB) $(config_h)
-       $(CC) ${ALL_CFLAGS} $< $(LOADLIBES) $(NTLIB) -o $@
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< $(LOADLIBES) $(NTLIB) -o $@
 
 movemail${EXEEXT}: ${srcdir}/movemail.c pop.o $(NTLIB) $(config_h)
-       $(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} $< pop.o \
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} $< pop.o \
          $(LOADLIBES) $(NTLIB) $(LIBS_MOVE) -o $@
 
 pop.o: ${srcdir}/pop.c ${srcdir}/pop.h ${srcdir}/../lib/min-max.h $(config_h)
-       $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} $<
+       $(AM_V_CC)$(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} $<
 
 emacsclient${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(config_h)
-       $(CC) ${ALL_CFLAGS} $< \
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< \
           -DVERSION="\"${version}\"" $(NTLIB) $(LOADLIBES) $(LIB_FDATASYNC) \
           $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@
 
 emacsclientw${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(CLIENTRES) 
$(config_h)
-       $(CC) ${ALL_CFLAGS} $(CLIENTRES) -mwindows $< \
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(CLIENTRES) -mwindows $< \
           -DVERSION="\"${version}\"" $(LOADLIBES) $(LIB_FDATASYNC) \
           $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@
 
@@ -365,13 +378,14 @@
 # The dependency on $(NTDEPS) is a trick intended to cause recompile of
 # programs on MinGW whenever some private header in nt/inc is modified.
 ntlib.o: ${srcdir}/ntlib.c ${srcdir}/ntlib.h $(NTDEPS)
-       $(CC) -c ${CPP_CFLAGS} $<
+       $(AM_V_CC)$(CC) -c ${CPP_CFLAGS} $<
 
 hexl${EXEEXT}: ${srcdir}/hexl.c $(NTLIB) $(config_h)
-       $(CC) ${ALL_CFLAGS} $< $(LOADLIBES) -o $@
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< $(LOADLIBES) -o $@
 
 update-game-score${EXEEXT}: ${srcdir}/update-game-score.c $(NTLIB) $(config_h)
-       $(CC) ${ALL_CFLAGS} -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
+       $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} \
+         -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
          $< $(LOADLIBES) $(NTLIB) -o $@
 
 emacsclient.res: $(NTINC)/../emacsclient.rc

=== modified file 'lwlib/ChangeLog'
--- a/lwlib/ChangeLog   2014-07-15 09:59:05 +0000
+++ b/lwlib/ChangeLog   2014-09-01 09:49:51 +0000
@@ -1,3 +1,10 @@
+2014-09-01  Paul Eggert  <address@hidden>
+
+       --enable-silent-warnings now suppresses more chatter.
+       * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
+       (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
+       (.c.o): Use them.
+
 2014-07-15  Dmitry Antipov  <address@hidden>
 
        * lwlib.h (toplevel): Use unsigned int for LWLIB_ID.

=== modified file 'lwlib/Makefile.in'
--- a/lwlib/Makefile.in 2014-06-28 22:57:23 +0000
+++ b/lwlib/Makefile.in 2014-09-01 09:49:51 +0000
@@ -51,6 +51,14 @@
 
 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
 
+# 'make' verbosity.
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+
+AM_V_CC = $(address@hidden@)
+am__v_CC_ = $(address@hidden@)
+am__v_CC_0 = @echo "  CC      " $@;
+am__v_CC_1 =
+
 DEPDIR = deps
 ## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty.
 DEPFLAGS = @DEPFLAGS@
@@ -73,7 +81,7 @@
 
 .c.o:
        @$(MKDEPDIR)
-       $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
+       $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
 
 liblw.a: $(OBJS)
        rm -f $@

=== modified file 'oldXMenu/ChangeLog'
--- a/oldXMenu/ChangeLog        2014-07-12 04:06:32 +0000
+++ b/oldXMenu/ChangeLog        2014-09-01 09:49:51 +0000
@@ -1,3 +1,10 @@
+2014-09-01  Paul Eggert  <address@hidden>
+
+       --enable-silent-warnings now suppresses more chatter.
+       * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
+       (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
+       (.c.o): Use them.
+
 2014-07-12  Dmitry Antipov  <address@hidden>
 
        * XMenuInt.h (XDeleteAssoc): Remove duplicated prototype to

=== modified file 'oldXMenu/Makefile.in'
--- a/oldXMenu/Makefile.in      2014-06-28 22:57:23 +0000
+++ b/oldXMenu/Makefile.in      2014-09-01 09:49:51 +0000
@@ -93,6 +93,14 @@
 all: libXMenu11.a
 .PHONY: all
 
+# 'make' verbosity.
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+
+AM_V_CC = $(address@hidden@)
+am__v_CC_ = $(address@hidden@)
+am__v_CC_0 = @echo "  CC      " $@;
+am__v_CC_1 =
+
 DEPDIR = deps
 ## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty.
 DEPFLAGS = @DEPFLAGS@
@@ -107,7 +115,7 @@
 
 .c.o:
        @$(MKDEPDIR)
-       $(CC) -c ${ALL_CFLAGS} $<
+       $(AM_V_CC)$(CC) -c ${ALL_CFLAGS} $<
 
 libXMenu11.a: $(OBJS) $(EXTRA)
        $(RM) $@

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-09-01 02:37:22 +0000
+++ b/src/ChangeLog     2014-09-01 09:49:51 +0000
@@ -1,5 +1,11 @@
 2014-09-01  Paul Eggert  <address@hidden>
 
+       --enable-silent-warnings now suppresses more chatter.
+       * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
+       (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
+       (am__v_CCLD_1): New macros, taken from Automake.
+       (.c.o, .m.o, temacs$(EXEEXT)): Use them.
+
        Clean up extern decls a bit.
        * bytecode.c: Include blockinput.h and keyboard.h rather
        than rolling their APIs by hand.

=== modified file 'src/Makefile.in'
--- a/src/Makefile.in   2014-08-23 08:48:30 +0000
+++ b/src/Makefile.in   2014-09-01 09:49:51 +0000
@@ -304,6 +304,19 @@
 
 address@hidden@
 
+# 'make' verbosity.
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+
+AM_V_CC = $(address@hidden@)
+am__v_CC_ = $(address@hidden@)
+am__v_CC_0 = @echo "  CC      " $@;
+am__v_CC_1 =
+
+AM_V_CCLD = $(address@hidden@)
+am__v_CCLD_ = $(address@hidden@)
+am__v_CCLD_0 = @echo "  CCLD    " $@;
+am__v_CCLD_1 =
+
 DEPDIR=deps
 ## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty.
 address@hidden@
@@ -334,10 +347,10 @@
 .SUFFIXES: .m
 .c.o:
        @$(MKDEPDIR)
-       $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $(PROFILING_CFLAGS) $<
+       $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $(PROFILING_CFLAGS) $<
 .m.o:
        @$(MKDEPDIR)
-       $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $(PROFILING_CFLAGS) $<
+       $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $(PROFILING_CFLAGS) $<
 
 ## lastfile must follow all files whose initialized data areas should
 ## be dumped as pure by dump-emacs.
@@ -491,7 +504,7 @@
 ## to start if Vinstallation_directory has the wrong value.
 temacs$(EXEEXT): $(LIBXMENU) $(ALLOBJS) \
                 $(lib)/libgnu.a $(EMACSRES)
-       $(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \
+       $(AM_V_CCLD)$(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \
          -o temacs $(ALLOBJS) $(lib)/libgnu.a $(W32_RES_LINK) $(LIBES)
        $(MKDIR_P) $(etc)
        test "$(CANNOT_DUMP)" = "yes" || \


reply via email to

[Prev in Thread] Current Thread [Next in Thread]