[cogl/wip/cogl-sharp: 17/42] cogl-sharp: Introduce V_MCS when compiling C# assemblies



commit 6300cadeadd43ee4e7b54d8ff1a8912c11ab19b4
Author: Damien Lespiau <damien lespiau intel com>
Date:   Sun Sep 30 13:34:14 2012 +0100

    cogl-sharp: Introduce V_MCS when compiling C# assemblies
    
    This implements the quiet version of the mcs invocation to compile C#
    assemblies.

 cogl-sharp/Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/cogl-sharp/Makefile.am b/cogl-sharp/Makefile.am
index 7103083..69cabd2 100644
--- a/cogl-sharp/Makefile.am
+++ b/cogl-sharp/Makefile.am
@@ -1,3 +1,7 @@
+V_MCS = $(v_MCS_$(V))
+v_MCS_ = $(v_MCS_$(AM_DEFAULT_VERBOSITY))
+v_MCS_0 = @echo "  MCS   " $@;
+
 assemblydir = $(libdir)/cogl
 assembly_DATA = cogl2-sharp.dll cogl2-sharp.dll.config cogl2-sharp.dll.mdb
 
@@ -12,7 +16,7 @@ sources =		\
 
 cogl2-sharp.dll: $(sources)
 	@rm -f cogl2-sharp.dll.mdb
-	$(MCS) $(CSFLAGS) @$(srcdir)/cogl2-sharp.rsp -debug $(sources)
+	$(V_MCS)$(MCS) $(CSFLAGS) @$(srcdir)/cogl2-sharp.rsp -debug $(sources)
 
 cogl2-sharp.dll.mdb: cogl2-sharp.dll
 
@@ -43,7 +47,7 @@ tests_sources =			\
 	$(NULL)
 
 CoglTests.dll: $(tests_sources)
-	$(MCS) $(CSFLAGS) @$(srcdir)/CoglTests.rsp -lib:$(top_builddir)/cogl-sharp -r:cogl2-sharp.dll $(MONO_NUNIT_LIBS) $(tests_sources)
+	$(V_MCS)$(MCS) $(CSFLAGS) @$(srcdir)/CoglTests.rsp -lib:$(top_builddir)/cogl-sharp -r:cogl2-sharp.dll $(MONO_NUNIT_LIBS) $(tests_sources)
 
 EXTRA_DIST += $(tests_sources)
 CLEANFILES += CoglTests.dll



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