summaryrefslogtreecommitdiffstats
path: root/tests/icles
diff options
context:
space:
mode:
Diffstat (limited to 'tests/icles')
-rw-r--r--tests/icles/Makefile.am15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/icles/Makefile.am b/tests/icles/Makefile.am
index 693a6e41..dd415ef8 100644
--- a/tests/icles/Makefile.am
+++ b/tests/icles/Makefile.am
@@ -1,3 +1,16 @@
+if USE_GST_V4L2
+V4L2_TESTS = v4l2src-test
+
+v4l2src_test_SOURCES = v4l2src-test.c
+v4l2src_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
+v4l2src_test_LDADD = $(GST_PLUGINS_BASE_LIBS)
+
+v4l2src_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -lgstinterfaces-$(GST_MAJORMINOR)
+
+else
+V4L2_TESTS =
+endif
+
if USE_X
X_TESTS = ximagesrc-test
@@ -8,5 +21,5 @@ else
X_TESTS =
endif
-noinst_PROGRAMS = $(X_TESTS)
+noinst_PROGRAMS = $(V4L2_TESTS) $(X_TESTS)