summaryrefslogtreecommitdiff
path: root/samples/Makefile.am
blob: d8e7e045eb87304645c486139a30869a7eb84b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
TARGETS = playback.exe video-overlay.exe basic-tutorial-1.exe basic-tutorial-2.exe basic-tutorial-3.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

basic-tutorial-1.exe: $(srcdir)/BasicTutorial1.cs $(assemblies)
	$(CSC) $(CSFLAGS) -out:basic-tutorial-1.exe $(references) $(GLIB_SHARP_LIBS) $(srcdir)/BasicTutorial1.cs

basic-tutorial-2.exe: $(srcdir)/BasicTutorial2.cs $(assemblies)
	$(CSC) $(CSFLAGS) -out:basic-tutorial-2.exe $(references) $(GLIB_SHARP_LIBS) $(srcdir)/BasicTutorial2.cs

basic-tutorial-3.exe: $(srcdir)/BasicTutorial3.cs $(assemblies)
	$(CSC) $(CSFLAGS) -out:basic-tutorial-3.exe $(references) $(GLIB_SHARP_LIBS) $(srcdir)/BasicTutorial3.cs

EXTRA_DIST = 				\
	Playback.cs \
    VideoOverlay.cs \
    BasicTutorial1.cs \
    BasicTutorial2.cs \
    BasicTutorial3.cs