summaryrefslogtreecommitdiff
path: root/samples/Makefile.am
blob: 81d2a22fc9c120c7bf72d4c331d10e74be9c8b7d (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
TARGETS = playback.exe video-overlay.exe basic-tutorial-1.exe basic-tutorial-2.exe basic-tutorial-3.exe basic-tutorial-4.exe basic-tutorial-5.exe basic-tutorial-6.exe basic-tutorial-7.exe basic-tutorial-8.exe basic-tutorial-9.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

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

basic-tutorial-5.exe: $(srcdir)/BasicTutorial5.cs $(assemblies)
	$(CSC) $(CSFLAGS) -out:basic-tutorial-5.exe $(references) $(GTK_SHARP_LIBS) $(srcdir)/BasicTutorial5.cs

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

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

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

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

EXTRA_DIST = 				\
	Playback.cs \
    VideoOverlay.cs \
    BasicTutorial1.cs \
    BasicTutorial2.cs \
    BasicTutorial3.cs \
    BasicTutorial4.cs \
    BasicTutorial5.cs \
    BasicTutorial6.cs \
    BasicTutorial7.cs \
    BasicTutorial8.cs \
    BasicTutorial9.cs