Fix build of plugin bindings and don't ship generated sources

This commit is contained in:
Sebastian Dröge 2009-09-03 08:57:16 +02:00
parent 3608f875fe
commit 45f07c6ed1

View file

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