summaryrefslogtreecommitdiffstats
path: root/tests/icles
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2006-10-03 18:35:34 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2006-10-03 18:35:34 +0000
commit2884ad88bac4bb4ef7a297a9b6d5f622f2fe3f76 (patch)
tree2b0c4f4a3af4dafefecbc781f7146417540c9d74 /tests/icles
parent0b5d4c7787689fed8c1a06416794851d7a4f2276 (diff)
add icle for v4l2
Original commit message from CVS: add icle for v4l2
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)