14 TEST_CFLAGS = $(LIBVA_CFLAGS) -I$(top_srcdir)/gst-libs $(GST_CFLAGS)
15 TEST_X11_CFLAGS = -DUSE_X11 $(X11_CFLAGS)
16 TEST_GLX_CFLAGS = -DUSE_GLX $(GLX_CFLAGS)
17 TEST_MIX_CFLAGS = $(TEST_X11_CFLAGS)
19 TEST_MIX_CFLAGS += $(TEST_GLX_CFLAGS)
24 $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-@GST_MAJORMINOR@.la
30 $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-@GST_MAJORMINOR@.la
36 $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-@GST_MAJORMINOR@.la
38 TEST_MIX_LIBS = $(TEST_X11_LIBS)
40 TEST_MIX_LIBS += $(TEST_GLX_LIBS)
43 test_codecs_source_c = test-mpeg2.c test-h264.c test-vc1.c
44 test_codecs_source_h = $(test_codecs_source_c:%.c=%.h)
46 test_decode_SOURCES = test-decode.c $(test_codecs_source_c)
47 test_decode_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
48 test_decode_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
50 test_display_SOURCES = test-display.c
51 test_display_CFLAGS = $(TEST_CFLAGS) $(TEST_MIX_CFLAGS)
52 test_display_LDADD = $(TEST_LIBS) $(TEST_MIX_LIBS)
54 test_surfaces_SOURCES = test-surfaces.c
55 test_surfaces_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
56 test_surfaces_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
58 test_windows_SOURCES = test-windows.c image.c
59 test_windows_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS)
60 test_windows_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS)
62 test_textures_SOURCES = test-textures.c image.c
63 test_textures_CFLAGS = $(TEST_CFLAGS) $(TEST_GLX_CFLAGS)
64 test_textures_LDADD = $(TEST_LIBS) $(TEST_GLX_LIBS)
69 $(test_codecs_source_c) \
70 $(test_codecs_source_h) \
73 # Extra clean files so that maintainer-clean removes *everything*
74 MAINTAINERCLEANFILES = Makefile.in