2013-03-20 10:44:10 +00:00
|
|
|
lib_LTLIBRARIES = libgstvaapi-@GST_API_VERSION@.la
|
2010-03-16 09:39:07 +00:00
|
|
|
|
2012-08-01 13:44:02 +00:00
|
|
|
if USE_DRM
|
2013-03-20 10:44:10 +00:00
|
|
|
lib_LTLIBRARIES += libgstvaapi-drm-@GST_API_VERSION@.la
|
2012-08-01 13:44:02 +00:00
|
|
|
endif
|
|
|
|
|
2012-07-31 15:58:43 +00:00
|
|
|
if USE_X11
|
2013-03-20 10:44:10 +00:00
|
|
|
lib_LTLIBRARIES += libgstvaapi-x11-@GST_API_VERSION@.la
|
2012-07-19 08:27:23 +00:00
|
|
|
endif
|
|
|
|
|
2010-03-25 17:28:49 +00:00
|
|
|
if USE_GLX
|
2013-03-20 10:44:10 +00:00
|
|
|
lib_LTLIBRARIES += libgstvaapi-glx-@GST_API_VERSION@.la
|
2010-03-25 17:28:49 +00:00
|
|
|
endif
|
|
|
|
|
2012-07-31 15:58:43 +00:00
|
|
|
if USE_WAYLAND
|
2013-03-20 10:44:10 +00:00
|
|
|
lib_LTLIBRARIES += libgstvaapi-wayland-@GST_API_VERSION@.la
|
2012-07-31 15:58:43 +00:00
|
|
|
endif
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_includedir = \
|
|
|
|
$(includedir)/gstreamer-$(GST_API_VERSION)/gst/vaapi
|
2010-01-12 15:51:39 +00:00
|
|
|
|
2011-08-12 08:21:19 +00:00
|
|
|
libgstvaapi_cflags = \
|
2013-04-30 15:20:46 +00:00
|
|
|
-DGST_VAAPI_CORE \
|
2011-08-12 08:21:19 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
2012-10-11 11:23:02 +00:00
|
|
|
-I$(top_builddir)/gst-libs \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_BASEVIDEO_CFLAGS) \
|
|
|
|
$(GST_VIDEO_CFLAGS) \
|
|
|
|
$(GST_CFLAGS) \
|
2012-07-19 15:16:28 +00:00
|
|
|
$(GST_CODEC_PARSERS_CFLAGS) \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(LIBVA_CFLAGS) \
|
2010-04-23 16:05:58 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2011-08-12 08:21:19 +00:00
|
|
|
libgstvaapi_libs = \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_BASEVIDEO_LIBS) \
|
|
|
|
$(GST_LIBS) \
|
2012-06-25 15:25:44 +00:00
|
|
|
$(GST_VIDEO_LIBS) \
|
2012-07-19 15:16:28 +00:00
|
|
|
$(GST_CODEC_PARSERS_LIBS) \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(LIBVA_LIBS) \
|
2013-07-29 07:41:23 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/base/libgstvaapi-baseutils.la \
|
2012-12-21 13:29:01 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvaapi-videoutils.la \
|
2012-10-11 11:23:02 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/codecparsers/libgstvaapi-codecparsers.la
|
2010-04-23 16:05:58 +00:00
|
|
|
|
2010-03-04 17:39:01 +00:00
|
|
|
libgstvaapi_source_c = \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapicodec_objects.c \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapicontext.c \
|
|
|
|
gstvaapidecoder.c \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_dpb.c \
|
|
|
|
gstvaapidecoder_h264.c \
|
|
|
|
gstvaapidecoder_mpeg2.c \
|
|
|
|
gstvaapidecoder_mpeg4.c \
|
|
|
|
gstvaapidecoder_objects.c \
|
2012-12-06 08:44:01 +00:00
|
|
|
gstvaapidecoder_unit.c \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_vc1.c \
|
2010-01-25 16:15:01 +00:00
|
|
|
gstvaapidisplay.c \
|
2012-01-12 11:46:34 +00:00
|
|
|
gstvaapidisplaycache.c \
|
2013-07-23 13:52:45 +00:00
|
|
|
gstvaapifilter.c \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapiimage.c \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapiimagepool.c \
|
2012-11-30 16:25:07 +00:00
|
|
|
gstvaapiminiobject.c \
|
2010-03-23 16:21:28 +00:00
|
|
|
gstvaapiobject.c \
|
2013-04-16 11:23:41 +00:00
|
|
|
gstvaapiparser_frame.c \
|
2013-07-22 08:00:21 +00:00
|
|
|
gstvaapipixmap.c \
|
2010-04-20 13:36:04 +00:00
|
|
|
gstvaapiprofile.c \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapisubpicture.c \
|
|
|
|
gstvaapisurface.c \
|
2010-03-12 17:45:18 +00:00
|
|
|
gstvaapisurfacepool.c \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapisurfaceproxy.c \
|
2010-03-16 09:15:48 +00:00
|
|
|
gstvaapiutils.c \
|
2013-12-06 16:21:52 +00:00
|
|
|
gstvaapiutils_h264.c \
|
2014-01-13 15:20:06 +00:00
|
|
|
gstvaapiutils_mpeg2.c \
|
2010-03-24 13:37:38 +00:00
|
|
|
gstvaapivalue.c \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapivideopool.c \
|
2010-03-15 15:12:27 +00:00
|
|
|
gstvaapiwindow.c \
|
2013-07-09 13:29:59 +00:00
|
|
|
video-format.c \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-04 17:39:01 +00:00
|
|
|
libgstvaapi_source_h = \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapidecoder.h \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_h264.h \
|
|
|
|
gstvaapidecoder_mpeg2.h \
|
|
|
|
gstvaapidecoder_mpeg4.h \
|
|
|
|
gstvaapidecoder_vc1.h \
|
2010-01-25 16:15:01 +00:00
|
|
|
gstvaapidisplay.h \
|
2013-07-26 11:57:35 +00:00
|
|
|
gstvaapifilter.h \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapiimage.h \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapiimagepool.h \
|
2010-03-23 16:21:28 +00:00
|
|
|
gstvaapiobject.h \
|
2013-07-22 08:00:21 +00:00
|
|
|
gstvaapipixmap.h \
|
2010-04-20 13:36:04 +00:00
|
|
|
gstvaapiprofile.h \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapisubpicture.h \
|
|
|
|
gstvaapisurface.h \
|
2010-03-12 17:45:18 +00:00
|
|
|
gstvaapisurfacepool.h \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapisurfaceproxy.h \
|
2010-03-22 12:16:47 +00:00
|
|
|
gstvaapitypes.h \
|
2014-01-10 17:27:20 +00:00
|
|
|
gstvaapiutils_h264.h \
|
2014-01-13 15:20:06 +00:00
|
|
|
gstvaapiutils_mpeg2.h \
|
2010-03-24 13:37:38 +00:00
|
|
|
gstvaapivalue.h \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapivideopool.h \
|
2010-03-15 15:12:27 +00:00
|
|
|
gstvaapiwindow.h \
|
2013-07-09 13:29:59 +00:00
|
|
|
video-format.h \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:21:15 +00:00
|
|
|
libgstvaapi_source_priv_h = \
|
2012-01-30 17:25:03 +00:00
|
|
|
glibcompat.h \
|
2013-03-20 17:12:18 +00:00
|
|
|
gstcompat.h \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapicodec_objects.h \
|
2010-03-24 16:27:36 +00:00
|
|
|
gstvaapicompat.h \
|
2013-07-26 11:57:35 +00:00
|
|
|
gstvaapicontext.h \
|
2010-03-16 09:21:15 +00:00
|
|
|
gstvaapidebug.h \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_dpb.h \
|
|
|
|
gstvaapidecoder_objects.h \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapidecoder_priv.h \
|
2012-12-06 08:44:01 +00:00
|
|
|
gstvaapidecoder_unit.h \
|
2010-04-01 09:47:59 +00:00
|
|
|
gstvaapidisplay_priv.h \
|
2013-07-26 11:57:35 +00:00
|
|
|
gstvaapidisplaycache.h \
|
2013-07-26 10:57:19 +00:00
|
|
|
gstvaapiimage_priv.h \
|
2012-11-30 16:25:07 +00:00
|
|
|
gstvaapiminiobject.h \
|
2010-03-24 08:32:12 +00:00
|
|
|
gstvaapiobject_priv.h \
|
2013-04-16 11:23:41 +00:00
|
|
|
gstvaapiparser_frame.h \
|
2013-07-22 08:00:21 +00:00
|
|
|
gstvaapipixmap_priv.h \
|
2011-12-13 15:53:15 +00:00
|
|
|
gstvaapisurface_priv.h \
|
2013-04-16 16:35:48 +00:00
|
|
|
gstvaapisurfaceproxy_priv.h \
|
2010-03-16 09:21:15 +00:00
|
|
|
gstvaapiutils.h \
|
2014-01-10 17:27:20 +00:00
|
|
|
gstvaapiutils_h264_priv.h \
|
2014-01-13 15:20:06 +00:00
|
|
|
gstvaapiutils_mpeg2_priv.h \
|
2013-01-18 13:17:34 +00:00
|
|
|
gstvaapiversion.h \
|
2013-05-03 09:01:12 +00:00
|
|
|
gstvaapivideopool_priv.h \
|
2013-04-30 15:20:14 +00:00
|
|
|
gstvaapiwindow_priv.h \
|
2012-01-24 09:06:37 +00:00
|
|
|
gstvaapiworkarounds.h \
|
2012-01-30 17:12:59 +00:00
|
|
|
sysdeps.h \
|
2010-03-16 09:21:15 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_jpegdec_source_c = gstvaapidecoder_jpeg.c
|
|
|
|
libgstvaapi_jpegdec_source_h = gstvaapidecoder_jpeg.h
|
2012-07-31 15:58:43 +00:00
|
|
|
if USE_JPEG_DECODER
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_source_c += $(libgstvaapi_jpegdec_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_jpegdec_source_h)
|
2012-07-31 15:58:43 +00:00
|
|
|
endif
|
|
|
|
|
2013-07-29 05:34:06 +00:00
|
|
|
libgstvaapi_enc_source_c = \
|
2013-12-03 15:11:46 +00:00
|
|
|
gstvaapicodedbuffer.c \
|
|
|
|
gstvaapicodedbufferpool.c \
|
|
|
|
gstvaapicodedbufferproxy.c \
|
2013-07-29 05:34:06 +00:00
|
|
|
gstvaapiencoder.c \
|
2013-07-29 07:46:11 +00:00
|
|
|
gstvaapiencoder_h264.c \
|
2013-11-20 08:20:15 +00:00
|
|
|
gstvaapiencoder_mpeg2.c \
|
2013-07-29 05:34:06 +00:00
|
|
|
gstvaapiencoder_objects.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_enc_source_h = \
|
2013-12-03 15:11:46 +00:00
|
|
|
gstvaapicodedbuffer.h \
|
|
|
|
gstvaapicodedbufferpool.h \
|
|
|
|
gstvaapicodedbufferproxy.h \
|
2013-07-29 05:34:06 +00:00
|
|
|
gstvaapiencoder.h \
|
2013-07-29 07:46:11 +00:00
|
|
|
gstvaapiencoder_h264.h \
|
2013-11-20 08:20:15 +00:00
|
|
|
gstvaapiencoder_mpeg2.h \
|
2013-07-29 05:34:06 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_enc_source_priv_h = \
|
2013-12-03 15:11:46 +00:00
|
|
|
gstvaapicodedbuffer_priv.h \
|
2013-12-03 11:05:17 +00:00
|
|
|
gstvaapicodedbufferproxy_priv.h \
|
|
|
|
gstvaapiencoder_h264_priv.h \
|
|
|
|
gstvaapiencoder_mpeg2_priv.h \
|
2013-07-29 05:34:06 +00:00
|
|
|
gstvaapiencoder_objects.h \
|
|
|
|
gstvaapiencoder_priv.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if USE_ENCODERS
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_enc_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_enc_source_h)
|
|
|
|
libgstvaapi_source_priv_h += $(libgstvaapi_enc_source_priv_h)
|
|
|
|
endif
|
|
|
|
|
2012-08-01 13:44:02 +00:00
|
|
|
libgstvaapi_drm_source_c = \
|
|
|
|
gstvaapidisplay_drm.c \
|
|
|
|
gstvaapiwindow_drm.c \
|
|
|
|
gstvaapiutils.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_drm_source_h = \
|
|
|
|
gstvaapidisplay_drm.h \
|
|
|
|
gstvaapiwindow_drm.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_drm_source_priv_h = \
|
|
|
|
gstvaapicompat.h \
|
|
|
|
gstvaapidisplay_drm_priv.h \
|
|
|
|
gstvaapiutils.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi_x11_source_c = \
|
|
|
|
gstvaapidisplay_x11.c \
|
2013-07-19 13:05:34 +00:00
|
|
|
gstvaapipixmap_x11.c \
|
2010-03-16 09:39:07 +00:00
|
|
|
gstvaapiutils.c \
|
|
|
|
gstvaapiutils_x11.c \
|
|
|
|
gstvaapiwindow_x11.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_x11_source_h = \
|
|
|
|
gstvaapidisplay_x11.h \
|
2013-07-19 13:05:34 +00:00
|
|
|
gstvaapipixmap_x11.h \
|
2010-03-16 09:39:07 +00:00
|
|
|
gstvaapiwindow_x11.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_x11_source_priv_h = \
|
2010-03-26 11:39:20 +00:00
|
|
|
gstvaapicompat.h \
|
2010-04-01 13:41:24 +00:00
|
|
|
gstvaapidisplay_x11_priv.h \
|
2010-03-16 09:39:07 +00:00
|
|
|
gstvaapiutils.h \
|
|
|
|
gstvaapiutils_x11.h \
|
2013-04-30 15:20:14 +00:00
|
|
|
gstvaapiwindow_x11_priv.h \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-25 17:28:49 +00:00
|
|
|
libgstvaapi_glx_source_c = \
|
|
|
|
gstvaapidisplay_glx.c \
|
2010-03-26 16:52:07 +00:00
|
|
|
gstvaapitexture.c \
|
2010-03-25 17:28:49 +00:00
|
|
|
gstvaapiutils.c \
|
|
|
|
gstvaapiutils_glx.c \
|
|
|
|
gstvaapiutils_x11.c \
|
|
|
|
gstvaapiwindow_glx.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_glx_source_h = \
|
|
|
|
gstvaapidisplay_glx.h \
|
2010-03-26 16:52:07 +00:00
|
|
|
gstvaapitexture.h \
|
2010-03-25 17:28:49 +00:00
|
|
|
gstvaapiwindow_glx.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_glx_source_priv_h = \
|
2010-03-26 11:39:20 +00:00
|
|
|
gstvaapicompat.h \
|
2010-04-01 13:41:24 +00:00
|
|
|
gstvaapidisplay_glx_priv.h \
|
2010-03-25 17:28:49 +00:00
|
|
|
gstvaapiutils.h \
|
|
|
|
gstvaapiutils_glx.h \
|
|
|
|
gstvaapiutils_x11.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-07-31 15:58:43 +00:00
|
|
|
libgstvaapi_wayland_source_c = \
|
|
|
|
gstvaapidisplay_wayland.c \
|
|
|
|
gstvaapiutils.c \
|
|
|
|
gstvaapiwindow_wayland.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_wayland_source_h = \
|
|
|
|
gstvaapidisplay_wayland.h \
|
|
|
|
gstvaapiwindow_wayland.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_wayland_source_priv_h = \
|
|
|
|
gstvaapicompat.h \
|
|
|
|
gstvaapidisplay_wayland_priv.h \
|
|
|
|
gstvaapiutils.h \
|
|
|
|
$(NULL)
|
2011-08-12 08:21:19 +00:00
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_@GST_API_VERSION@_la_SOURCES = \
|
2010-03-04 17:39:01 +00:00
|
|
|
$(libgstvaapi_source_c) \
|
2010-03-16 09:21:15 +00:00
|
|
|
$(libgstvaapi_source_priv_h) \
|
2010-03-04 17:39:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_@GST_API_VERSION@include_HEADERS = \
|
2010-03-04 17:39:01 +00:00
|
|
|
$(libgstvaapi_source_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_@GST_API_VERSION@includedir = \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(libgstvaapi_includedir)
|
2010-01-12 15:51:39 +00:00
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_@GST_API_VERSION@_la_CFLAGS = \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(libgstvaapi_cflags) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_@GST_API_VERSION@_la_LIBADD = \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(libgstvaapi_libs) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_@GST_API_VERSION@_la_LDFLAGS = \
|
2010-05-04 15:03:47 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
2012-12-18 14:15:52 +00:00
|
|
|
$(GST_VAAPI_LT_LDFLAGS) \
|
2013-07-15 12:42:33 +00:00
|
|
|
-export-symbols-regex "^gst_.*vaapi.*" \
|
2010-05-04 15:03:47 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_drm_@GST_API_VERSION@_la_SOURCES = \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(libgstvaapi_drm_source_c) \
|
|
|
|
$(libgstvaapi_drm_source_priv_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_drm_@GST_API_VERSION@include_HEADERS = \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(libgstvaapi_drm_source_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_drm_@GST_API_VERSION@includedir = \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(libgstvaapi_includedir)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_drm_@GST_API_VERSION@_la_CFLAGS = \
|
2012-08-01 13:44:02 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2013-11-26 12:06:07 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(UDEV_CFLAGS) \
|
|
|
|
$(DRM_CFLAGS) \
|
|
|
|
$(LIBVA_DRM_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_drm_@GST_API_VERSION@_la_LIBADD = \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(UDEV_LIBS) \
|
|
|
|
$(DRM_LIBS) \
|
|
|
|
$(LIBVA_DRM_LIBS) \
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi-$(GST_API_VERSION).la \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_drm_@GST_API_VERSION@_la_LDFLAGS = \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
2012-12-18 14:15:52 +00:00
|
|
|
$(GST_VAAPI_LT_LDFLAGS) \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_x11_@GST_API_VERSION@_la_SOURCES = \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(libgstvaapi_x11_source_c) \
|
|
|
|
$(libgstvaapi_x11_source_priv_h) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_x11_@GST_API_VERSION@include_HEADERS = \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(libgstvaapi_x11_source_h) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_x11_@GST_API_VERSION@includedir = \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(libgstvaapi_includedir)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_x11_@GST_API_VERSION@_la_CFLAGS = \
|
2011-11-04 21:16:23 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
2010-03-16 09:39:07 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2013-11-26 12:06:07 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2010-03-26 08:00:32 +00:00
|
|
|
$(X11_CFLAGS) \
|
2012-09-06 09:50:21 +00:00
|
|
|
$(XRANDR_CFLAGS) \
|
2013-07-22 07:00:38 +00:00
|
|
|
$(XRENDER_CFLAGS) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(LIBVA_X11_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_x11_@GST_API_VERSION@_la_LIBADD = \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(GLIB_LIBS) \
|
2010-03-26 08:00:32 +00:00
|
|
|
$(X11_LIBS) \
|
2012-09-06 09:50:21 +00:00
|
|
|
$(XRANDR_LIBS) \
|
2013-07-22 07:00:38 +00:00
|
|
|
$(XRENDER_LIBS) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(LIBVA_X11_LIBS) \
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi-$(GST_API_VERSION).la \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_x11_@GST_API_VERSION@_la_LDFLAGS = \
|
2010-05-04 15:03:47 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
2012-12-18 14:15:52 +00:00
|
|
|
$(GST_VAAPI_LT_LDFLAGS) \
|
2010-05-04 15:03:47 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_glx_@GST_API_VERSION@_la_SOURCES = \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(libgstvaapi_glx_source_c) \
|
|
|
|
$(libgstvaapi_glx_source_priv_h) \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_glx_@GST_API_VERSION@include_HEADERS = \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(libgstvaapi_glx_source_h) \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_glx_@GST_API_VERSION@includedir = \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(libgstvaapi_includedir)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_glx_@GST_API_VERSION@_la_CFLAGS = \
|
2012-07-19 08:27:23 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2012-11-15 14:00:43 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(GL_CFLAGS) \
|
|
|
|
$(LIBVA_GLX_CFLAGS) \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_glx_@GST_API_VERSION@_la_LIBADD = \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(GLIB_LIBS) \
|
2012-11-15 14:00:43 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_VIDEO_LIBS) \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(GL_LIBS) \
|
|
|
|
$(LIBVA_GLX_LIBS) \
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi-x11-$(GST_API_VERSION).la \
|
2013-04-15 08:52:51 +00:00
|
|
|
$(DLOPEN_LIBS) \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_glx_@GST_API_VERSION@_la_LDFLAGS = \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
2012-12-18 14:15:52 +00:00
|
|
|
$(GST_VAAPI_LT_LDFLAGS) \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_wayland_@GST_API_VERSION@_la_SOURCES = \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(libgstvaapi_wayland_source_c) \
|
|
|
|
$(libgstvaapi_wayland_source_priv_h) \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_wayland_@GST_API_VERSION@include_HEADERS = \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(libgstvaapi_wayland_source_h) \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_wayland_@GST_API_VERSION@includedir = \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(libgstvaapi_includedir)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_wayland_@GST_API_VERSION@_la_CFLAGS = \
|
2011-11-04 21:16:23 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
2010-03-25 17:28:49 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2013-11-26 12:06:07 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(WAYLAND_CFLAGS) \
|
|
|
|
$(LIBVA_WAYLAND_CFLAGS) \
|
2013-11-14 10:58:37 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvaapi-videoutils.la \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_wayland_@GST_API_VERSION@_la_LIBADD = \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(GLIB_LIBS) \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(WAYLAND_LIBS) \
|
|
|
|
$(LIBVA_WAYLAND_LIBS) \
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi-$(GST_API_VERSION).la \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-20 10:44:10 +00:00
|
|
|
libgstvaapi_wayland_@GST_API_VERSION@_la_LDFLAGS = \
|
2010-05-04 15:02:29 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
2012-12-18 14:15:52 +00:00
|
|
|
$(GST_VAAPI_LT_LDFLAGS) \
|
2010-05-04 15:02:29 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-01-18 13:17:34 +00:00
|
|
|
VERSION_FILE = .VERSION
|
|
|
|
OLD_VERSION_FILE = $(VERSION_FILE).old
|
|
|
|
NEW_VERSION_FILE = $(VERSION_FILE).new
|
|
|
|
PKG_VERSION_FILE = $(VERSION_FILE).pkg
|
|
|
|
|
|
|
|
gstvaapiversion.h: gen-version
|
|
|
|
$(AM_V_GEN) \
|
|
|
|
OV=`[ -f $(OLD_VERSION_FILE) ] && cat $(OLD_VERSION_FILE) || :`; \
|
|
|
|
NV=`cat $(NEW_VERSION_FILE)`; \
|
|
|
|
if [ "$$OV" != "$$NV" -o ! -f gstvaapiversion.h ]; then \
|
|
|
|
cp -f $(NEW_VERSION_FILE) $(OLD_VERSION_FILE); \
|
|
|
|
$(SED) -e "s|\@GST_VAAPI_VERSION_ID\@|$${NV}|" \
|
|
|
|
$(srcdir)/gstvaapiversion.h.in > gstvaapiversion.h; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
gen-version:
|
|
|
|
@echo $(VERSION) > $(NEW_VERSION_FILE)
|
|
|
|
if HAVE_GIT
|
|
|
|
@[ -d $(top_srcdir)/.git ] && \
|
|
|
|
(cd $(top_srcdir) && $(GIT) describe --tags) > $(NEW_VERSION_FILE) || :
|
|
|
|
endif
|
|
|
|
@[ -f $(srcdir)/$(PKG_VERSION_FILE) ] && \
|
|
|
|
cp -f $(srcdir)/$(PKG_VERSION_FILE) $(NEW_VERSION_FILE) || :
|
|
|
|
|
|
|
|
$(PKG_VERSION_FILE): $(NEW_VERSION_FILE)
|
|
|
|
@cp -f $< $@
|
|
|
|
|
|
|
|
BUILT_SOURCES = gstvaapiversion.h
|
|
|
|
EXTRA_DIST = gstvaapiversion.h.in $(PKG_VERSION_FILE)
|
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
EXTRA_DIST += \
|
2013-12-03 11:05:17 +00:00
|
|
|
$(libgstvaapi_enc_source_c) \
|
|
|
|
$(libgstvaapi_enc_source_h) \
|
|
|
|
$(libgstvaapi_enc_source_priv_h) \
|
|
|
|
$(libgstvaapi_jpegdec_source_c) \
|
|
|
|
$(libgstvaapi_jpegdec_source_h) \
|
2013-04-10 13:31:41 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-01-18 13:17:34 +00:00
|
|
|
CLEANFILES = \
|
|
|
|
$(OLD_VERSION_FILE) \
|
|
|
|
$(NEW_VERSION_FILE) \
|
|
|
|
$(PKG_VERSION_FILE) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-01-12 15:51:39 +00:00
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|