2005-02-11 12:55:16 +00:00
|
|
|
TESTS_ENVIRONMENT=\
|
|
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/check \
|
|
|
|
GST_REGISTRY=$(top_builddir)/check/test-registry.xml
|
|
|
|
|
|
|
|
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
|
|
|
|
# make all tests depend on the versioned gst-register
|
|
|
|
$(TESTS): $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@
|
|
|
|
|
|
|
|
# rebuild gst-register-@GST_MAJORMINOR@ if needed
|
|
|
|
# the EXEEXT is because am 1.6 complained about overrides
|
|
|
|
$(top_builddir)/tools/gst-register-@GST_MAJORMINOR@$(EXEEXT):
|
|
|
|
cd $(top_builddir)/tools && make
|
|
|
|
|
|
|
|
# override to _not_ install the test plugins
|
|
|
|
install-pluginLTLIBRARIES:
|
|
|
|
|
|
|
|
# This rule is here so make distcheck works on machines where core
|
|
|
|
# dumps have PIDs appended
|
|
|
|
CLEANFILES = core.*
|
|
|
|
|
|
|
|
TESTS = $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@ \
|
|
|
|
gst/gstcaps \
|
2004-12-21 15:51:09 +00:00
|
|
|
gst/gstdata \
|
|
|
|
gst/gstobject \
|
|
|
|
gst-libs/gdp
|
2004-12-13 14:49:11 +00:00
|
|
|
|
2004-12-13 17:55:57 +00:00
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
|
2004-12-21 14:50:57 +00:00
|
|
|
noinst_LTLIBRARIES = libgstcheck.la
|
|
|
|
|
|
|
|
libgstcheck_la_SOURCES = gstcheck.c
|
|
|
|
libgstcheck_la_LIBADD = $(GST_OBJ_LIBS)
|
|
|
|
noinst_HEADERS = gstcheck.h
|
|
|
|
|
2004-12-13 17:55:57 +00:00
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(CHECK_CFLAGS)
|
2004-12-21 14:50:57 +00:00
|
|
|
LDADD = $(GST_OBJ_LIBS) $(CHECK_LIBS) libgstcheck.la
|
2004-12-21 12:26:38 +00:00
|
|
|
|
|
|
|
gst_libs_gdp_SOURCES = \
|
|
|
|
gst-libs/gdp.c \
|
|
|
|
$(top_srcdir)/libs/gst/dataprotocol/dataprotocol.c
|
|
|
|
# remove GST_ENABLE_NEW when dataprotocol has been declared API-stable
|
|
|
|
gst_libs_gdp_CFLAGS = $(AM_CFLAGS) -DGST_ENABLE_NEW
|