2008-04-06 18:28:09 +00:00
|
|
|
if HAVE_GTK
|
|
|
|
GTK_TESTS = gdkpixbufsink-test
|
|
|
|
gdkpixbufsink_test_SOURCES = gdkpixbufsink-test.c
|
2010-04-14 19:06:09 +00:00
|
|
|
gdkpixbufsink_test_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
|
|
|
|
gdkpixbufsink_test_LDADD = $(GST_LIBS) $(GTK_LIBS)
|
2008-04-06 18:28:09 +00:00
|
|
|
else
|
|
|
|
GTK_TESTS =
|
|
|
|
endif
|
|
|
|
|
2006-10-03 18:35:34 +00:00
|
|
|
if USE_GST_V4L2
|
|
|
|
V4L2_TESTS = v4l2src-test
|
|
|
|
|
|
|
|
v4l2src_test_SOURCES = v4l2src-test.c
|
2009-01-30 18:04:11 +00:00
|
|
|
v4l2src_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
2011-11-29 18:10:58 +00:00
|
|
|
v4l2src_test_LDADD = $(GST_PLUGINS_BASE_LIBS) \
|
2012-04-04 12:33:23 +00:00
|
|
|
-lgstvideo-$(GST_API_VERSION) \
|
|
|
|
-lgstinterfaces-$(GST_API_VERSION) $(GST_LIBS)
|
2006-10-03 18:35:34 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
V4L2_TESTS =
|
|
|
|
endif
|
|
|
|
|
2010-05-11 15:08:21 +00:00
|
|
|
if USE_OSS4
|
|
|
|
OSS4_TESTS=test-oss4
|
|
|
|
|
|
|
|
test_oss4_SOURCES = test-oss4.c
|
|
|
|
test_oss4_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
2012-04-04 12:33:23 +00:00
|
|
|
test_oss4_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_API_VERSION) $(GST_LIBS)
|
2010-05-11 15:08:21 +00:00
|
|
|
test_oss4_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
else
|
|
|
|
OSS4_TESTS=
|
|
|
|
endif
|
|
|
|
|
2006-03-31 17:52:36 +00:00
|
|
|
if USE_X
|
2006-04-01 10:14:26 +00:00
|
|
|
X_TESTS = ximagesrc-test
|
2006-03-31 17:52:36 +00:00
|
|
|
|
|
|
|
ximagesrc_test_SOURCES = ximagesrc-test.c
|
|
|
|
ximagesrc_test_CFLAGS = $(GST_CFLAGS)
|
2010-04-14 19:06:09 +00:00
|
|
|
ximagesrc_test_LDADD = $(GST_LIBS)
|
2006-03-31 17:52:36 +00:00
|
|
|
else
|
|
|
|
X_TESTS =
|
|
|
|
endif
|
|
|
|
|
2011-02-16 14:28:53 +00:00
|
|
|
equalizer_test_SOURCES = equalizer-test.c
|
|
|
|
equalizer_test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
equalizer_test_LDADD = $(GST_LIBS)
|
|
|
|
|
2007-06-12 20:15:29 +00:00
|
|
|
videocrop_test_SOURCES = videocrop-test.c
|
|
|
|
videocrop_test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
videocrop_test_LDADD = $(GST_LIBS)
|
|
|
|
|
2008-08-20 10:59:52 +00:00
|
|
|
videobox_test_SOURCES = videobox-test.c
|
|
|
|
videobox_test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
videobox_test_LDADD = $(GST_LIBS)
|
|
|
|
|
2008-11-25 16:06:22 +00:00
|
|
|
videocrop2_test_SOURCES = videocrop2-test.c
|
|
|
|
videocrop2_test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
videocrop2_test_LDADD = $(GST_LIBS)
|
|
|
|
|
2011-02-16 14:28:53 +00:00
|
|
|
noinst_PROGRAMS = $(GTK_TESTS) $(OSS4_TESTS) $(V4L2_TESTS) $(X_TESTS) equalizer-test videocrop-test videobox-test videocrop2-test
|
2006-03-31 17:52:36 +00:00
|
|
|
|