2009-08-14 05:21:54 +00:00
|
|
|
TARGETS =
|
|
|
|
|
|
|
|
if HAVE_GLIB_SHARP
|
2009-08-14 05:27:42 +00:00
|
|
|
TARGETS += playbin-player.exe decodebin-transcoder.exe helloworld.exe typefind.exe metadata.exe
|
2009-08-14 05:21:54 +00:00
|
|
|
if HAVE_GTK_SHARP
|
|
|
|
TARGETS += gtk-video-player.exe
|
|
|
|
endif
|
2009-08-14 05:27:42 +00:00
|
|
|
if HAVE_MONO_CAIRO
|
|
|
|
TARGETS += appsrc.exe
|
|
|
|
endif
|
2009-05-26 13:35:00 +00:00
|
|
|
endif
|
2006-05-19 19:24:35 +00:00
|
|
|
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
|
|
|
|
2006-07-13 16:16:51 +00:00
|
|
|
all: $(TARGETS) link
|
|
|
|
|
2006-05-19 19:24:35 +00:00
|
|
|
assemblies=$(top_builddir)/gstreamer-sharp/gstreamer-sharp.dll
|
2009-08-14 05:27:42 +00:00
|
|
|
references=$(addprefix -r:, $(assemblies)) $(GLIB_SHARP_LIBS)
|
2006-05-19 19:24:35 +00:00
|
|
|
|
|
|
|
playbin-player.exe: $(srcdir)/PlayBinPlayer.cs $(assemblies)
|
2009-05-22 17:25:23 +00:00
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(srcdir)/PlayBinPlayer.cs
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2006-05-21 18:58:44 +00:00
|
|
|
decodebin-transcoder.exe: $(srcdir)/DecodeBinTranscoder.cs $(assemblies)
|
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(srcdir)/DecodeBinTranscoder.cs
|
|
|
|
|
2006-06-21 07:25:57 +00:00
|
|
|
helloworld.exe: $(srcdir)/HelloWorld.cs $(assemblies)
|
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(srcdir)/HelloWorld.cs
|
|
|
|
|
2006-07-13 16:16:51 +00:00
|
|
|
typefind.exe: $(srcdir)/TypeFind.cs $(assemblies)
|
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(srcdir)/TypeFind.cs
|
|
|
|
|
2006-08-25 09:49:52 +00:00
|
|
|
queueexample.exe: $(srcdir)/QueueExample.cs $(assemblies)
|
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(srcdir)/QueueExample.cs
|
|
|
|
|
2006-08-29 07:28:18 +00:00
|
|
|
metadata.exe: $(srcdir)/MetaData.cs $(assemblies)
|
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(srcdir)/MetaData.cs
|
|
|
|
|
2006-09-07 16:24:30 +00:00
|
|
|
mp3launchparse.exe: $(srcdir)/MP3LaunchParse.cs $(assemblies)
|
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(srcdir)/MP3LaunchParse.cs
|
|
|
|
|
2009-06-20 20:55:27 +00:00
|
|
|
appsrc.exe: $(srcdir)/AppSrc.cs $(assemblies)
|
2009-08-14 05:27:42 +00:00
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(MONO_CAIRO_LIBS) $(srcdir)/AppSrc.cs
|
2009-06-20 20:55:27 +00:00
|
|
|
|
2009-05-21 18:57:26 +00:00
|
|
|
gtk-video-player.exe: $(srcdir)/GtkVideoPlayer.cs $(assemblies)
|
2009-08-14 05:27:42 +00:00
|
|
|
$(CSC) -out:$@ $(GLIBSHARP_LIBS) $(references) $(GTK_SHARP_LIBS) $(srcdir)/GtkVideoPlayer.cs
|
2009-05-21 18:57:26 +00:00
|
|
|
|
2006-07-13 16:16:51 +00:00
|
|
|
link:
|
|
|
|
ln -sf $(top_builddir)/gstreamer-sharp/gstreamer-sharp.dll gstreamer-sharp.dll
|
|
|
|
ln -sf $(top_builddir)/gstreamer-sharp/gstreamer-sharp.dll.config gstreamer-sharp.dll.config
|
|
|
|
|
2006-05-19 19:24:35 +00:00
|
|
|
noinst_SCRIPTS = $(TARGETS)
|
|
|
|
|
2006-07-13 16:16:51 +00:00
|
|
|
CLEANFILES = $(TARGETS) $(DEBUGS) gstreamer-sharp.dll*
|
2006-05-19 19:24:35 +00:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
2006-05-21 18:58:44 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
PlayBinPlayer.cs \
|
2006-06-21 07:25:57 +00:00
|
|
|
DecodeBinTranscoder.cs \
|
2009-04-07 07:55:57 +00:00
|
|
|
HelloWorld.cs \
|
2009-08-14 05:21:54 +00:00
|
|
|
TypeFind.cs \
|
|
|
|
MetaData.cs \
|
|
|
|
AppSrc.cs \
|
|
|
|
GtkVideoPlayer.cs
|
|
|
|
|