From 0e64e2d02c7353ccad8951dfb9b5ec8b03cd59ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 9 Nov 2010 15:16:41 +0100 Subject: [PATCH] build: make it silent This patch make it easier to spot warnings in compilation. It should work with older versions of automake that don't support silent rules. If you want verbose build, make V=1. Signed-off-by: Uri Lublin https://bugs.freedesktop.org/show_bug.cgi?id=34795 --- configure.ac | 2 ++ server/Makefile.am | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 00f19d2..5642be3 100644 --- a/configure.ac +++ b/configure.ac @@ -452,6 +452,8 @@ AC_SUBST(SPICE_NONPKGCONFIG_LIBS) AC_SUBST([SPICEC_STATIC_LINKAGE_BSTATIC]) AC_SUBST([SPICEC_STATIC_LINKAGE_BDYNAMIC]) +m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) + AC_OUTPUT([ Makefile spice-server.pc diff --git a/server/Makefile.am b/server/Makefile.am index d265bfb..1cc5010 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -23,14 +23,14 @@ INCLUDES = \ spice_built_sources = generated_marshallers.c generated_marshallers.h generated_demarshallers.c generated_demarshallers.c: $(top_srcdir)/spice.proto - $(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --server --include red_common.h $(top_srcdir)/spice.proto generated_demarshallers.c + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --server --include red_common.h $(top_srcdir)/spice.proto generated_demarshallers.c STRUCTS=-M String -M Rect -M Point -M DisplayBase -M Fill -M Opaque -M Copy -M Blend -M Blackness -M Whiteness -M Invers -M Rop3 -M Stroke -M Text -M Transparent -M AlphaBlend generated_marshallers.c: $(top_srcdir)/spice.proto - $(PYTHON) $(top_srcdir)/spice_codegen.py --include red_common.h --generate-marshallers $(STRUCTS) --server $(top_srcdir)/spice.proto generated_marshallers.c + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --include red_common.h --generate-marshallers $(STRUCTS) --server $(top_srcdir)/spice.proto generated_marshallers.c generated_marshallers.h: $(top_srcdir)/spice.proto - $(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers $(STRUCTS) --server -H $(top_srcdir)/spice.proto generated_marshallers.h + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers $(STRUCTS) --server -H $(top_srcdir)/spice.proto generated_marshallers.h if SUPPORT_GL GL_SRCS = \ -- 1.7.4