gstreamer/tests/Makefile.am

81 lines
2.2 KiB
Makefile
Raw Normal View History

noinst_PROGRAMS = \
test-decode \
test-display \
test-surfaces \
test-windows \
test-subpicture \
$(NULL)
2010-03-26 08:10:23 +00:00
if USE_GLX
2010-03-25 17:28:49 +00:00
noinst_PROGRAMS += \
test-textures \
$(NULL)
2010-03-26 08:10:23 +00:00
endif
2010-03-25 17:28:49 +00:00
TEST_CFLAGS = $(LIBVA_CFLAGS) -I$(top_srcdir)/gst-libs $(GST_CFLAGS) -DGST_USE_UNSTABLE_API
2010-03-26 08:10:23 +00:00
TEST_X11_CFLAGS = -DUSE_X11 $(X11_CFLAGS)
TEST_GLX_CFLAGS = -DUSE_GLX $(GLX_CFLAGS)
TEST_MIX_CFLAGS = $(TEST_X11_CFLAGS)
if USE_GLX
TEST_MIX_CFLAGS += $(TEST_GLX_CFLAGS)
endif
TEST_LIBS = \
2011-12-07 12:52:17 +00:00
$(GST_LIBS) \
2010-03-26 08:10:23 +00:00
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-@GST_MAJORMINOR@.la
TEST_X11_LIBS = \
$(X11_LIBS) \
2011-12-07 12:52:17 +00:00
$(GST_LIBS) \
$(LIBVA_X11_LIBS) \
2010-03-26 08:10:23 +00:00
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-@GST_MAJORMINOR@.la
2010-03-25 17:28:49 +00:00
TEST_GLX_LIBS = \
2010-03-26 08:10:23 +00:00
$(GLX_LIBS) \
2011-12-07 12:52:17 +00:00
$(GST_LIBS) \
$(LIBVA_GLX_LIBS) \
2010-03-25 17:28:49 +00:00
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-@GST_MAJORMINOR@.la
2010-03-26 08:10:23 +00:00
TEST_MIX_LIBS = $(TEST_X11_LIBS)
if USE_GLX
TEST_MIX_LIBS += $(TEST_GLX_LIBS)
endif
2010-03-25 17:28:49 +00:00
test_codecs_source_c = test-mpeg2.c test-h264.c test-vc1.c
test_codecs_source_h = $(test_codecs_source_c:%.c=%.h)
test_decode_SOURCES = test-decode.c $(test_codecs_source_c)
test_decode_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
test_decode_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
test_display_SOURCES = test-display.c
2010-03-26 08:10:23 +00:00
test_display_CFLAGS = $(TEST_CFLAGS) $(TEST_MIX_CFLAGS)
test_display_LDADD = $(TEST_LIBS) $(TEST_MIX_LIBS)
test_surfaces_SOURCES = test-surfaces.c
2010-03-26 08:10:23 +00:00
test_surfaces_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
2010-03-25 17:28:49 +00:00
test_surfaces_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
test_subpicture_SOURCES = test-subpicture.c test-h264.c test-subpicture-data.c
test_subpicture_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
test_subpicture_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
2010-03-26 15:16:01 +00:00
test_windows_SOURCES = test-windows.c image.c
2010-03-26 08:10:23 +00:00
test_windows_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
2010-03-25 17:28:49 +00:00
test_windows_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
2010-03-29 13:27:16 +00:00
test_textures_SOURCES = test-textures.c image.c
2010-03-26 08:10:23 +00:00
test_textures_CFLAGS = $(TEST_CFLAGS) $(TEST_GLX_CFLAGS)
2010-03-25 17:28:49 +00:00
test_textures_LDADD = $(TEST_LIBS) $(TEST_GLX_LIBS)
2010-01-25 15:04:10 +00:00
2010-05-03 22:42:46 +00:00
EXTRA_DIST = \
image.h \
test-decode.h \
test-subpicture-data.h \
2010-05-03 22:42:46 +00:00
$(test_codecs_source_c) \
$(test_codecs_source_h) \
$(NULL)
2010-03-29 14:40:26 +00:00
2010-01-25 15:04:10 +00:00
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in