blob: bec46faa076869f529e62235a2e987d646a848ee [file] [log] [blame]
if HAVE_GTK
GTK_TESTS = gdkpixbufsink-test gdkpixbufoverlay-test
gdkpixbufsink_test_SOURCES = gdkpixbufsink-test.c
gdkpixbufsink_test_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
gdkpixbufsink_test_LDADD = $(GST_LIBS) $(GTK_LIBS)
gdkpixbufoverlay_test_SOURCES = gdkpixbufoverlay-test.c
gdkpixbufoverlay_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
$(GDK_PIXBUF_CFLAGS) $(GIO_CFLAGS)
gdkpixbufoverlay_test_LDADD = $(GST_LIBS) $(GDK_PIXBUF_LIBS) $(GIO_LIBS) \
$(LIBM)
else
GTK_TESTS =
endif
if USE_OSS4
OSS4_TESTS=test-oss4
test_oss4_SOURCES = test-oss4.c
test_oss4_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
test_oss4_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS)
test_oss4_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
else
OSS4_TESTS=
endif
if USE_X
X_TESTS = ximagesrc-test
ximagesrc_test_SOURCES = ximagesrc-test.c
ximagesrc_test_CFLAGS = $(GST_CFLAGS)
ximagesrc_test_LDADD = $(GST_LIBS)
else
X_TESTS =
endif
equalizer_test_SOURCES = equalizer-test.c
equalizer_test_CFLAGS = $(GST_CFLAGS)
equalizer_test_LDADD = $(GST_LIBS)
test_accurate_seek_SOURCES = test-accurate-seek.c
test_accurate_seek_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) $(GST_CFLAGS)
test_accurate_seek_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) \
$(GST_BASE_LIBS) $(GST_LIBS)
test_segment_seeks_SOURCES = test-segment-seeks.c
test_segment_seeks_CFLAGS = $(GST_CFLAGS)
test_segment_seeks_LDADD = $(GST_LIBS)
videocrop_test_SOURCES = videocrop-test.c
videocrop_test_CFLAGS = $(GST_CFLAGS)
videocrop_test_LDADD = $(GST_LIBS)
videobox_test_SOURCES = videobox-test.c
videobox_test_CFLAGS = $(GST_CFLAGS)
videobox_test_LDADD = $(GST_LIBS)
videocrop2_test_SOURCES = videocrop2-test.c
videocrop2_test_CFLAGS = $(GST_CFLAGS)
videocrop2_test_LDADD = $(GST_LIBS)
noinst_PROGRAMS = $(GTK_TESTS) $(OSS4_TESTS) $(X_TESTS) \
equalizer-test \
test-accurate-seek \
test-segment-seeks \
videocrop-test \
videobox-test \
videocrop2-test