b7fbe2236123732a95880cd6cad36f5552bb7a20
[platform/upstream/gstreamer.git] / testsuite / refcounting / Makefile.am
1 TOP_BUILDDIR=$(shell cd $(top_builddir) && pwd)
2 TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(TOP_BUILDDIR) GST_REGISTRY=$(TOP_BUILDDIR)/testsuite/test-registry.xml
3
4 if BUILD_FAILING_TESTS
5 tests_failing = element bin element_pad pad
6 else
7 tests_failing =
8 endif
9 tests_working = mainloop sched
10
11 element_SOURCES = element.c mem.c
12 pad_SOURCES = pad.c mem.c
13
14 element_pad_SOURCES = element_pad.c mem.c
15 bin_SOURCES = bin.c mem.c
16
17 TESTS = $(tests_working)
18
19 check_PROGRAMS = $(TESTS)
20 noinst_PROGRAMS = $(tests_failing)
21
22 EXTRA_DIST = thread.c object.c
23
24 noinst_HEADERS = mem.h
25
26 # we have nothing but apps here, we can do this safely
27 LIBS = $(GST_LIBS)
28 AM_CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)
29