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
|
2009-09-23 07:03:43 +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 $(srcdir)/BaseTransformTest.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-04 05:06:36 +00:00
|
|
|
LD_LIBRARY_PATH=$(top_builddir)/gstreamer-sharp/glue/.libs:$$LD_LIBRARY_PATH MONO_PATH=$(top_builddir)/gstreamer-sharp $(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
|
2009-12-05 09:14:17 +00:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
2006-05-20 22:35:40 +00:00
|
|
|
|
2009-09-03 08:21:50 +00:00
|
|
|
clean-local:
|
|
|
|
rm -rf %temp%
|