commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Debian MIG packaging branch, upstream, updated. f392d170938263d6fa


From: Samuel Thibault
Subject: [SCM] Debian MIG packaging branch, upstream, updated. f392d170938263d6fa4823fd2fb57b77747e787c
Date: Sat, 30 Jun 2012 15:58:30 +0000

The following commit has been merged in the upstream branch:
commit 41fd7888dc98d596c0e42aa3e049294e8198dd7a
Author: Guillem Jover <address@hidden>
Date:   Tue Aug 30 03:14:19 2011 +0200

    Add silent rules support if available and disable it by default
    
    * configure.ac (AM_SILENT_RULES): Add silent rules support if available,
      and disable it by default.
    * Makefile.am (AWK_V, AWK_V_, AWK_V_0): New variables.
    (.sym.symc): Use AWK_V in front of AWK.
    (.symc.symo): Use AM_V_CC in front of TARGET_CC.
    (.symo.h): Use AM_V_GEN in front of sed.

diff --git a/Makefile.am b/Makefile.am
index 5de3fde..a28fa3e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,10 @@ EXTRA_DIST = gensym.awk cpu.sym
 
 CLEANFILES = cpu.h *.sym[co]
 
+AWK_V = $(AWK_V_$(V))
+AWK_V_ = $(AWK_V_$(AM_DEFAULT_VERBOSITY))
+AWK_V_0 = @echo "  AWK    $@";
+
 migcom_SOURCES = alloc.h boolean.h error.c error.h global.c global.h   \
                 header.c lexxer.h lexxer.l message.h mig_string.h      \
                 migcom.c parser.h parser.y routine.c routine.h         \
@@ -17,11 +21,11 @@ migcom_LDADD = @ALLOCA@ @LEXLIB@
 SUFFIXES = .h .symo .symc .sym
 
 .sym.symc:
-       $(AWK) -f $(srcdir)/gensym.awk $< > $@
+       $(AWK_V) $(AWK) -f $(srcdir)/gensym.awk $< > $@
 .symc.symo:
-       $(TARGET_CC) -S $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -x c -o $@ $<
+       $(AM_V_CC) $(TARGET_CC) -S $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -x c -o 
$@ $<
 .symo.h:
-       sed -e '/^[^*].*$$/d' -e 's/^[*]/#define/' -e 's/mAgIc[^-0-9]*//' \
+       $(AM_V_GEN) sed -e '/^[^*].*$$/d' -e 's/^[*]/#define/' -e 
's/mAgIc[^-0-9]*//' \
            $< > $@
 cpu.symc: $(srcdir)/gensym.awk
 
diff --git a/configure.ac b/configure.ac
index b78a71a..4b2852e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,9 @@ dnl Don't define `PACKAGE' and `VERSION'.
   [no-define]
 )
 
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([no])],
+                            [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+
 dnl Checks for programs.
 AC_PROG_CC
 AC_PROG_CPP

-- 
Debian MIG packaging



reply via email to

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