2011-09-14 19:12:41 +00:00
|
|
|
plugin_LTLIBRARIES = libgstvaapi.la
|
2010-01-12 15:51:39 +00:00
|
|
|
|
2010-03-12 23:53:48 +00:00
|
|
|
libgstvaapi_CFLAGS = \
|
2011-12-09 09:45:20 +00:00
|
|
|
$(LIBVA_CFLAGS) \
|
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
|
|
|
$(NULL)
|
2010-03-12 23:53:48 +00:00
|
|
|
|
2012-07-23 14:15:38 +00:00
|
|
|
libgstvaapi_LIBS =
|
|
|
|
|
2012-08-01 13:46:19 +00:00
|
|
|
if USE_DRM
|
|
|
|
libgstvaapi_LIBS += \
|
|
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-drm-$(GST_MAJORMINOR).la
|
|
|
|
endif
|
|
|
|
|
2012-07-23 14:15:38 +00:00
|
|
|
if USE_X11
|
|
|
|
libgstvaapi_LIBS += \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-$(GST_MAJORMINOR).la
|
2010-03-29 14:13:26 +00:00
|
|
|
endif
|
2010-03-12 23:53:48 +00:00
|
|
|
|
2012-07-23 14:15:38 +00:00
|
|
|
if USE_GLX
|
|
|
|
libgstvaapi_LIBS += \
|
|
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-$(GST_MAJORMINOR).la
|
|
|
|
endif
|
|
|
|
|
2012-07-24 07:45:25 +00:00
|
|
|
if USE_WAYLAND
|
|
|
|
libgstvaapi_LIBS += \
|
|
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-wayland-$(GST_MAJORMINOR).la
|
|
|
|
endif
|
|
|
|
|
2011-09-14 19:12:41 +00:00
|
|
|
libgstvaapi_la_SOURCES = \
|
|
|
|
gstvaapi.c \
|
|
|
|
gstvaapidecode.c \
|
2012-01-05 09:50:59 +00:00
|
|
|
gstvaapidownload.c \
|
2012-07-24 12:31:25 +00:00
|
|
|
gstvaapipluginbuffer.c \
|
2011-11-04 20:50:15 +00:00
|
|
|
gstvaapipluginutil.c \
|
2012-03-26 12:37:24 +00:00
|
|
|
gstvaapipostproc.c \
|
2010-03-05 17:11:52 +00:00
|
|
|
gstvaapisink.c \
|
2012-01-03 13:34:09 +00:00
|
|
|
gstvaapiupload.c \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
noinst_HEADERS = \
|
2011-09-14 19:12:41 +00:00
|
|
|
gstvaapidecode.h \
|
2012-01-05 09:50:59 +00:00
|
|
|
gstvaapidownload.h \
|
2012-07-24 12:31:25 +00:00
|
|
|
gstvaapipluginbuffer.h \
|
2011-11-04 20:50:15 +00:00
|
|
|
gstvaapipluginutil.h \
|
2012-03-26 12:37:24 +00:00
|
|
|
gstvaapipostproc.h \
|
2010-03-05 17:11:52 +00:00
|
|
|
gstvaapisink.h \
|
2012-01-03 13:34:09 +00:00
|
|
|
gstvaapiupload.h \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2011-09-14 19:12:41 +00:00
|
|
|
libgstvaapi_la_CFLAGS = \
|
2010-03-12 23:53:48 +00:00
|
|
|
$(libgstvaapi_CFLAGS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_CFLAGS) \
|
2011-09-14 19:12:41 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2010-05-12 11:43:50 +00:00
|
|
|
$(GST_INTERFACES_CFLAGS) \
|
2011-11-04 20:50:15 +00:00
|
|
|
$(GST_BASEVIDEO_CFLAGS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2011-09-14 19:12:41 +00:00
|
|
|
libgstvaapi_la_LIBADD = \
|
2010-03-12 23:53:48 +00:00
|
|
|
$(libgstvaapi_LIBS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_LIBS) \
|
2011-09-14 19:12:41 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_VIDEO_LIBS) \
|
2010-05-12 11:43:50 +00:00
|
|
|
$(GST_INTERFACES_LIBS) \
|
2011-11-04 20:50:15 +00:00
|
|
|
$(GST_BASEVIDEO_LIBS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS)
|
|
|
|
|
2011-09-14 19:12:41 +00:00
|
|
|
libgstvaapi_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstvaapi_la_LIBTOOLFLAGS = --tag=disable-static
|
2010-01-12 15:51:39 +00:00
|
|
|
|
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|