2003-05-18 22:59:51 +00:00
|
|
|
TOP_BUILDDIR=$(shell cd $(top_builddir) && pwd)
|
|
|
|
TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(TOP_BUILDDIR) GST_REGISTRY=$(TOP_BUILDDIR)/testsuite/test-registry.xml
|
2002-05-10 19:24:04 +00:00
|
|
|
|
2003-05-18 22:59:51 +00:00
|
|
|
plugindir = $(shell cd $(top_builddir)/testsuite/plugin/ && pwd)
|
2002-05-05 16:49:45 +00:00
|
|
|
|
2002-05-10 19:24:04 +00:00
|
|
|
plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
|
|
|
|
|
2001-12-10 09:09:53 +00:00
|
|
|
# FIXME : tests need fixing
|
2002-05-10 19:24:04 +00:00
|
|
|
testprogs = static dynamic linked loading registry static2
|
2001-08-21 20:16:48 +00:00
|
|
|
|
2002-01-12 00:47:40 +00:00
|
|
|
AM_CFLAGS = $(GST_CFLAGS)
|
|
|
|
LIBS = $(GST_LIBS)
|
|
|
|
|
2001-08-21 20:16:48 +00:00
|
|
|
libtestplugin_la_SOURCES = testplugin.c
|
2001-12-27 10:31:35 +00:00
|
|
|
libtestplugin_la_CFLAGS = $(GST_CFLAGS)
|
2002-05-10 19:24:04 +00:00
|
|
|
libtestplugin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2001-08-21 20:16:48 +00:00
|
|
|
libtestplugin2_la_SOURCES = testplugin2.c
|
2001-12-27 10:31:35 +00:00
|
|
|
libtestplugin2_la_CFLAGS = $(GST_CFLAGS)
|
2002-05-10 19:24:04 +00:00
|
|
|
libtestplugin2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2001-08-21 20:16:48 +00:00
|
|
|
|
2002-05-10 19:24:04 +00:00
|
|
|
linked_LDFLAGS = -L. -ltestplugin -ltestplugin2
|
2001-08-21 20:16:48 +00:00
|
|
|
|
2002-05-10 19:24:04 +00:00
|
|
|
static_SOURCES = static.c testplugin_s.c testplugin2_s.c
|
2001-08-21 20:16:48 +00:00
|
|
|
|
|
|
|
TESTS = $(testprogs)
|
|
|
|
|
|
|
|
check_PROGRAMS = $(testprogs)
|