2002-05-30 13:52:13 +00:00
|
|
|
plugindir = $(shell cd $(top_builddir)/testsuite/plugin/ && pwd)
|
2002-05-10 19:24:04 +00:00
|
|
|
|
2002-05-05 16:49:45 +00:00
|
|
|
GST_PLUGIN_PATH=$(shell cd $(top_builddir) && pwd)
|
|
|
|
TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(GST_PLUGIN_PATH) GST_REGISTRY=$(GST_PLUGIN_PATH)/testsuite/test-registry.xml
|
|
|
|
|
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)
|