2009-06-15 05:47:54 +00:00
|
|
|
MCS_FLAGS = -debug $(MONO_NUNIT_LIBS)
|
2006-05-20 22:35:40 +00:00
|
|
|
|
|
|
|
ASSEMBLY_NAME = gstreamer-tests
|
|
|
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
2006-08-11 20:53:33 +00:00
|
|
|
ASSEMBLY_CSFILES = $(srcdir)/ApplicationTest.cs $(srcdir)/BinTest.cs $(srcdir)/BufferTest.cs $(srcdir)/CapsTest.cs $(srcdir)/PadTest.cs $(srcdir)/ElementTest.cs $(srcdir)/MessageTest.cs $(srcdir)/PipelineTest.cs
|
2006-06-04 16:49:35 +00:00
|
|
|
|
2006-05-20 22:35:40 +00:00
|
|
|
$(ASSEMBLY): $(ASSEMBLY_CSFILES)
|
2009-06-15 05:47:54 +00:00
|
|
|
$(CSC) $(MCS_FLAGS) -out:$@ -target:library -r:$(top_builddir)/gstreamer-sharp/gstreamer-sharp.dll $(ASSEMBLY_CSFILES) $(GLIBSHARP_LIBS)
|
2006-05-20 22:35:40 +00:00
|
|
|
|
2009-06-15 05:47:54 +00:00
|
|
|
run-test: $(ASSEMBLY)
|
2009-09-03 06:46:52 +00:00
|
|
|
LD_LIBRARY_PATH=$(top_builddir)/gstreamer-sharp/glue/.libs:$$LD_LIBRARY_PATH MONO_PATH=$(top_builddir)/gstreamer-sharp $(MONO) $(NUNIT_TESTER) -labels $(ASSEMBLY)
|
2006-05-20 22:35:40 +00:00
|
|
|
|
2009-09-03 06:46:52 +00:00
|
|
|
EXTRA_DIST = $(ASSEMBLY_CSFILES)
|
2009-06-15 05:47:54 +00:00
|
|
|
CLEANFILES = $(ASSEMBLY) *.mdb *.pdb TestResult.xml
|
|
|
|
DISTCLEANFILES = Makefile.in
|
2006-05-20 22:35:40 +00:00
|
|
|
|
2009-09-03 08:21:50 +00:00
|
|
|
clean-local:
|
|
|
|
rm -rf %temp%
|