[banshee] build: Include DllMapVerifier in $ASSEMBLY_FILE reqs (bgo#691696)



commit add932c2d4714e2d51e9a2fabd116bec9df10014
Author: Andres G. Aragoneses <knocte gmail com>
Date:   Tue Jan 22 00:38:33 2013 +0000

    build: Include DllMapVerifier in $ASSEMBLY_FILE reqs (bgo#691696)
    
    By including the DLL_MAP_VERIFIER_ASSEMBLY in the list of requirements of
    the ASSEMBLY_FILE target, all assemblies can be build from MonoDevelop
    without requiring a first "make" compilation from the command line.
    
    This not only lowers the barrier of entry to new developers but is also
    more in line with our building instructions here:
    
    http://banshee.fm/download/development/
    
    Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>

 build/build.rules.mk |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/build/build.rules.mk b/build/build.rules.mk
index 344b90f..4f942c2 100644
--- a/build/build.rules.mk
+++ b/build/build.rules.mk
@@ -14,6 +14,7 @@ endif
 
 FILTERED_LINK = $(shell echo "$(LINK)" | $(UNIQUE_FILTER_PIPE))
 DEP_LINK = $(shell echo "$(LINK)" | $(UNIQUE_FILTER_PIPE) | sed s,-r:,,g | grep '$(top_builddir)/bin/')
+DLL_MAP_VERIFIER_ASSEMBLY = $(top_srcdir)/build/dll-map-verifier.exe
 
 moduledir = $(INSTALL_DIR_RESOLVED)
 module_SCRIPTS = $(OUTPUT_FILES)
@@ -33,9 +34,12 @@ test:
 build-debug:
        @echo $(DEP_LINK)
 
+$(DLL_MAP_VERIFIER_ASSEMBLY): $(top_srcdir)/build/DllMapVerifier.cs
+       $(MCS) -out:$@ $<
+
 $(ASSEMBLY_FILE).mdb: $(ASSEMBLY_FILE)
 
-$(ASSEMBLY_FILE): $(SOURCES_BUILD) $(RESOURCES_EXPANDED) $(DEP_LINK)
+$(ASSEMBLY_FILE): $(SOURCES_BUILD) $(RESOURCES_EXPANDED) $(DEP_LINK) $(DLL_MAP_VERIFIER_ASSEMBLY)
        @mkdir -p $(top_builddir)/bin
        @if [ ! "x$(ENABLE_RELEASE)" = "xyes" ]; then \
                $(top_srcdir)/build/dll-map-makefile-verifier $(srcdir)/Makefile.am $(srcdir)/$(notdir $  
config) && \


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