gstreamer/tests/Makefile.am

85 lines
2.1 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
noinst_PROGRAMS += \
test-textures \
2010-03-25 17:28:49 +00:00
$(NULL)
2010-03-26 08:10:23 +00:00
endif
2010-03-25 17:28:49 +00:00
TEST_CFLAGS = \
-DGST_USE_UNSTABLE_API \
-I$(top_srcdir)/gst-libs \
$(LIBVA_CFLAGS) \
$(GST_CFLAGS) \
$(NULL)
TEST_LIBS = \
$(LIBVA_LIBS) \
$(GST_LIBS) \
2010-03-26 08:10:23 +00:00
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-@GST_MAJORMINOR@.la
if USE_X11
TEST_CFLAGS += $(X11_CFLAGS)
TEST_LIBS += \
$(LIBVA_X11_LIBS) \
$(X11_LIBS) \
2010-03-26 08:10:23 +00:00
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-@GST_MAJORMINOR@.la
endif
2010-03-26 08:10:23 +00:00
if USE_GLX
TEST_CFLAGS += $(X11_CFLAGS) $(GL_CFLAGS)
TEST_LIBS += \
$(LIBVA_GLX_LIBS) \
$(X11_LIBS) \
$(GL_LIBS) \
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-@GST_MAJORMINOR@.la
2010-03-26 08:10:23 +00:00
endif
2010-03-25 17:28:49 +00:00
2012-07-17 11:44:45 +00:00
test_codecs_source_c = test-mpeg2.c test-h264.c test-vc1.c test-jpeg.c
test_codecs_source_h = $(test_codecs_source_c:%.c=%.h) test-decode.h
test_utils_source_c = image.c output.c $(test_codecs_source_c)
test_utils_source_h = image.h output.h $(test_codecs_source_h)
noinst_LTLIBRARIES = libutils.la
libutils_la_SOURCES = $(test_utils_source_c)
libutils_la_CFLAGS = $(TEST_CFLAGS)
test_decode_SOURCES = test-decode.c $(test_codecs_source_c)
test_decode_CFLAGS = $(TEST_CFLAGS)
test_decode_LDADD = libutils.la $(TEST_LIBS)
test_display_SOURCES = test-display.c
test_display_CFLAGS = $(TEST_CFLAGS)
test_display_LDADD = libutils.la $(TEST_LIBS)
test_surfaces_SOURCES = test-surfaces.c
test_surfaces_CFLAGS = $(TEST_CFLAGS)
test_surfaces_LDADD = libutils.la $(TEST_LIBS)
test_subpicture_SOURCES = test-subpicture.c test-subpicture-data.c
test_subpicture_CFLAGS = $(TEST_CFLAGS)
test_subpicture_LDADD = libutils.la $(TEST_LIBS)
test_windows_SOURCES = test-windows.c
test_windows_CFLAGS = $(TEST_CFLAGS)
test_windows_LDADD = libutils.la $(TEST_LIBS)
2010-03-25 17:28:49 +00:00
test_textures_SOURCES = test-textures.c
test_textures_CFLAGS = $(TEST_CFLAGS)
test_textures_LDADD = libutils.la $(TEST_LIBS)
2010-01-25 15:04:10 +00:00
2010-05-03 22:42:46 +00:00
EXTRA_DIST = \
test-subpicture-data.h \
$(test_utils_source_h) \
2010-05-03 22:42:46 +00:00
$(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