Fix build of plugin bindings and don't ship generated sources
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 3 Sep 2009 06:57:16 +0000 (08:57 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 3 Sep 2009 06:57:16 +0000 (08:57 +0200)
gstreamer-sharp/Makefile.am

index deb6d34504333118bb340c1eb4e65914c200ca6f..64a51d364e360bf35352e463edfe0fa8418c865f 100644 (file)
@@ -55,8 +55,6 @@ sources = \
        NavigationMessage.cs \
        NavigationEvent.cs \
        NavigationQuery.cs \
-       coreplugins/generated/*.cs \
-       baseplugins/generated/*.cs \
        coreplugins/*.cs \
        glib-sharp/*.cs
 
@@ -119,6 +117,9 @@ customs =                   \
        ControlSource.custom    \
        VideoUtil.custom
 
+plugin_csfiles = coreplugins/generated/*.cs \
+       baseplugins/generated/*.cs
+
 build_customs = $(addprefix $(srcdir)/, $(customs))
 
 EXTRA_DIST =                   \
@@ -157,8 +158,8 @@ baseplugins/generated: $(API) baseplugins/*.custom baseplugins/*.metadata basepl
 $(KEYFILE): $(top_srcdir)/gstreamer-sharp.snk
        cp $(top_srcdir)/gstreamer-sharp.snk .
 
-$(ASSEMBLY): $(build_sources) generated-stamp $(KEYFILE)
-       $(CSC) -nowarn:0612 -debug -unsafe -out:$(ASSEMBLY) -target:library $(references) $(csc_build_sources) $(GENERATED_SOURCES)
+$(ASSEMBLY): $(build_sources) generated-stamp $(KEYFILE) $(plugin_csfiles)
+       $(CSC) -nowarn:0612 -debug -unsafe -out:$(ASSEMBLY) -target:library $(references) $(csc_build_sources) $(GENERATED_SOURCES) $(plugin_csfiles)
 
 plugins-update:
        $(MAKE) -C coreplugins plugins-update