summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-10-08 01:05:10 +0000
committerDavid Schleef <ds@schleef.org>2003-10-08 01:05:10 +0000
commite3785989e34c0be544a23f72900e1a3c849c0106 (patch)
tree939969af3824fded2a3ac0e2c1ad36d176ab848e /testsuite
parent85a63494bf6b917186de389742bb4b52bc38660b (diff)
Clean up makefile. It's still kindof screwy, but that's because automake won't create .so files for noinst libs.
Original commit message from CVS: Clean up makefile. It's still kindof screwy, but that's because automake won't create .so files for noinst libs.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/plugin/Makefile.am16
1 files changed, 9 insertions, 7 deletions
diff --git a/testsuite/plugin/Makefile.am b/testsuite/plugin/Makefile.am
index 7cda5cea3..4ef486d3a 100644
--- a/testsuite/plugin/Makefile.am
+++ b/testsuite/plugin/Makefile.am
@@ -1,8 +1,6 @@
-TOP_BUILDDIR=$(shell cd $(top_builddir) && pwd)
-TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(TOP_BUILDDIR) GST_REGISTRY=$(TOP_BUILDDIR)/testsuite/test-registry.xml
-
-plugindir = $(shell cd $(top_builddir)/testsuite/plugin/ && pwd)
+TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(top_builddir) GST_REGISTRY=$(top_builddir)/testsuite/test-registry.xml
+plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
# FIXME : tests need fixing
@@ -18,10 +16,14 @@ libtestplugin2_la_SOURCES = testplugin2.c
libtestplugin2_la_CFLAGS = $(GST_CFLAGS)
libtestplugin2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-linked_LDFLAGS = -L. -ltestplugin -ltestplugin2
+linked_LIBS = libtestplugin.la libtestplugin2.la
static_SOURCES = static.c testplugin_s.c testplugin2_s.c
-TESTS = $(testprogs)
-
check_PROGRAMS = $(testprogs)
+
+TESTS = $(top_builddir)/tools/gst-register $(testprogs)
+
+# override to _not_ install the test plugins
+install-pluginLTLIBRARIES:
+