summaryrefslogtreecommitdiff
path: root/samples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'samples/Makefile.am')
-rw-r--r--samples/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/samples/Makefile.am b/samples/Makefile.am
new file mode 100644
index 0000000..38d6445
--- /dev/null
+++ b/samples/Makefile.am
@@ -0,0 +1,21 @@
+TARGETS = playback.exe video-overlay.exe
+
+DEBUGS = $(addsuffix .mdb, $(TARGETS))
+assemblies = \
+ $(top_builddir)/out/gstreamer-sharp.dll
+
+references=$(addprefix -r:, $(assemblies))
+
+noinst_SCRIPTS = $(TARGETS)
+CLEANFILES = $(TARGETS) $(DEBUGS)
+
+playback.exe: $(srcdir)/Playback.cs $(assemblies)
+ $(CSC) $(CSFLAGS) -out:playback.exe $(references) $(GLIB_SHARP_LIBS) $(srcdir)/Playback.cs
+
+video-overlay.exe: $(srcdir)/VideoOverlay.cs $(assemblies)
+ $(CSC) $(CSFLAGS) -out:video-overlay.exe $(references) $(GTK_SHARP_LIBS) $(srcdir)/VideoOverlay.cs
+
+
+EXTRA_DIST = \
+ Playback.cs \
+ VideoOverlay.cs