gstreamer/tests/Makefile.am
Maarten Bosmans 593a106149 Some Makefile.am tweaks
Executables on Windows have a .exe extension, so don't hardcode gsts-xmlinspect in TARGETS, but let automake figure it out.
Add Makefile.in to MAINTAINERCLEANFILES.
Fix typo in glue/Makefile.am.
2009-12-06 11:16:01 +01:00

18 lines
847 B
Makefile

MCS_FLAGS = -debug $(MONO_NUNIT_LIBS)
ASSEMBLY_NAME = gstreamer-tests
ASSEMBLY = $(ASSEMBLY_NAME).dll
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
$(ASSEMBLY): $(ASSEMBLY_CSFILES)
$(CSC) $(MCS_FLAGS) -out:$@ -target:library -r:$(top_builddir)/gstreamer-sharp/gstreamer-sharp.dll $(ASSEMBLY_CSFILES) $(GLIBSHARP_LIBS)
run-test: $(ASSEMBLY)
LD_LIBRARY_PATH=$(top_builddir)/gstreamer-sharp/glue/.libs:$$LD_LIBRARY_PATH MONO_PATH=$(top_builddir)/gstreamer-sharp $(NUNIT_TESTER) -labels $(ASSEMBLY)
EXTRA_DIST = $(ASSEMBLY_CSFILES)
CLEANFILES = $(ASSEMBLY) *.mdb *.pdb TestResult.xml
MAINTAINERCLEANFILES = Makefile.in
clean-local:
rm -rf %temp%