15 TEST_CFLAGS = $(LIBVA_CFLAGS) -I$(top_srcdir)/gst-libs $(GST_CFLAGS) -DGST_USE_UNSTABLE_API
16 TEST_X11_CFLAGS = -DUSE_X11 $(X11_CFLAGS)
17 TEST_GLX_CFLAGS = -DUSE_GLX $(GLX_CFLAGS)
18 TEST_MIX_CFLAGS = $(TEST_X11_CFLAGS)
20 TEST_MIX_CFLAGS += $(TEST_GLX_CFLAGS)
25 $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-@GST_MAJORMINOR@.la
31 $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-@GST_MAJORMINOR@.la
37 $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-@GST_MAJORMINOR@.la
39 TEST_MIX_LIBS = $(TEST_X11_LIBS)
41 TEST_MIX_LIBS += $(TEST_GLX_LIBS)
44 test_codecs_source_c = test-mpeg2.c test-h264.c test-vc1.c
45 test_codecs_source_h = $(test_codecs_source_c:%.c=%.h)
47 test_decode_SOURCES = test-decode.c $(test_codecs_source_c)
48 test_decode_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
49 test_decode_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
51 test_display_SOURCES = test-display.c
52 test_display_CFLAGS = $(TEST_CFLAGS) $(TEST_MIX_CFLAGS)
53 test_display_LDADD = $(TEST_LIBS) $(TEST_MIX_LIBS)
55 test_surfaces_SOURCES = test-surfaces.c
56 test_surfaces_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
57 test_surfaces_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
59 test_subpicture_SOURCES = test-subpicture.c test-h264.c test-subpicture-data.c
60 test_subpicture_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
61 test_subpicture_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
63 test_windows_SOURCES = test-windows.c image.c
64 test_windows_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
65 test_windows_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
67 test_textures_SOURCES = test-textures.c image.c
68 test_textures_CFLAGS = $(TEST_CFLAGS) $(TEST_GLX_CFLAGS)
69 test_textures_LDADD = $(TEST_LIBS) $(TEST_GLX_LIBS)
74 $(test_codecs_source_c) \
75 $(test_codecs_source_h) \
78 # Extra clean files so that maintainer-clean removes *everything*
79 MAINTAINERCLEANFILES = Makefile.in