2010-03-16 09:39:07 +00:00
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libgstvaapi-@GST_MAJORMINOR@.la \
|
|
|
|
libgstvaapi-x11-@GST_MAJORMINOR@.la \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-03-25 17:28:49 +00:00
|
|
|
if USE_GLX
|
|
|
|
lib_LTLIBRARIES += libgstvaapi-glx-@GST_MAJORMINOR@.la
|
|
|
|
endif
|
|
|
|
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi_includedir = \
|
|
|
|
$(includedir)/gstreamer-@GST_MAJORMINOR@/gst/vaapi
|
2010-01-12 15:51:39 +00:00
|
|
|
|
2010-04-23 16:05:58 +00:00
|
|
|
libgstvaapi_ffmpeg_source_c = \
|
|
|
|
gstvaapidecoder_ffmpeg.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_ffmpeg_source_h = \
|
|
|
|
gstvaapidecoder_ffmpeg.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_ffmpeg_source_priv_h = \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-03-04 17:39:01 +00:00
|
|
|
libgstvaapi_source_c = \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapicontext.c \
|
|
|
|
gstvaapidecoder.c \
|
2010-01-25 16:15:01 +00:00
|
|
|
gstvaapidisplay.c \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapiimage.c \
|
|
|
|
gstvaapiimageformat.c \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapiimagepool.c \
|
2010-03-23 17:12:40 +00:00
|
|
|
gstvaapimarshal.c \
|
2010-03-23 16:21:28 +00:00
|
|
|
gstvaapiobject.c \
|
2010-03-24 12:57:54 +00:00
|
|
|
gstvaapiparamspecs.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 \
|
2010-03-24 13:37:38 +00:00
|
|
|
gstvaapivalue.c \
|
2010-03-12 23:48:50 +00:00
|
|
|
gstvaapivideobuffer.c \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapivideopool.c \
|
2010-03-16 09:03:10 +00:00
|
|
|
gstvaapivideosink.c \
|
2010-03-15 15:12:27 +00:00
|
|
|
gstvaapiwindow.c \
|
2010-04-23 16:05:58 +00:00
|
|
|
$(libgstvaapi_ffmpeg_source_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
|
|
|
gstvaapicontext.h \
|
|
|
|
gstvaapidecoder.h \
|
2010-01-25 16:15:01 +00:00
|
|
|
gstvaapidisplay.h \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapiimage.h \
|
|
|
|
gstvaapiimageformat.h \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapiimagepool.h \
|
2010-03-23 16:21:28 +00:00
|
|
|
gstvaapiobject.h \
|
2010-03-24 12:57:54 +00:00
|
|
|
gstvaapiparamspecs.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 \
|
2010-03-24 13:37:38 +00:00
|
|
|
gstvaapivalue.h \
|
2010-03-12 23:48:50 +00:00
|
|
|
gstvaapivideobuffer.h \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapivideopool.h \
|
2010-03-16 09:03:10 +00:00
|
|
|
gstvaapivideosink.h \
|
2010-03-15 15:12:27 +00:00
|
|
|
gstvaapiwindow.h \
|
2010-04-23 16:05:58 +00:00
|
|
|
$(libgstvaapi_ffmpeg_source_h) \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:21:15 +00:00
|
|
|
libgstvaapi_source_priv_h = \
|
2010-03-24 16:27:36 +00:00
|
|
|
gstvaapicompat.h \
|
2010-03-16 09:21:15 +00:00
|
|
|
gstvaapidebug.h \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapidecoder_priv.h \
|
2010-04-01 09:47:59 +00:00
|
|
|
gstvaapidisplay_priv.h \
|
2010-03-24 08:32:12 +00:00
|
|
|
gstvaapiobject_priv.h \
|
2010-03-16 09:21:15 +00:00
|
|
|
gstvaapiutils.h \
|
2010-04-01 09:47:59 +00:00
|
|
|
gstvaapi_priv.h \
|
2010-04-23 16:05:58 +00:00
|
|
|
$(libgst_vaapi_ffmpeg_source_priv_h) \
|
2010-03-16 09:21:15 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi_x11_source_c = \
|
|
|
|
gstvaapidisplay_x11.c \
|
|
|
|
gstvaapiutils.c \
|
|
|
|
gstvaapiutils_x11.c \
|
|
|
|
gstvaapiwindow_x11.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_x11_source_h = \
|
|
|
|
gstvaapidisplay_x11.h \
|
|
|
|
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 \
|
|
|
|
$(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)
|
|
|
|
|
2010-03-04 17:39:01 +00:00
|
|
|
libgstvaapi_@GST_MAJORMINOR@_la_SOURCES = \
|
|
|
|
$(libgstvaapi_source_c) \
|
2010-03-16 09:21:15 +00:00
|
|
|
$(libgstvaapi_source_priv_h) \
|
2010-03-04 17:39:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_@GST_MAJORMINOR@include_HEADERS = \
|
|
|
|
$(libgstvaapi_source_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_@GST_MAJORMINOR@includedir = \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(libgstvaapi_includedir)
|
2010-01-12 15:51:39 +00:00
|
|
|
|
2010-01-25 16:15:01 +00:00
|
|
|
libgstvaapi_@GST_MAJORMINOR@_la_CFLAGS = \
|
2010-03-04 17:39:01 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_CFLAGS) \
|
2010-04-23 16:05:58 +00:00
|
|
|
$(LIBAVCODEC_CFLAGS) \
|
|
|
|
$(LIBAVFORMAT_CFLAGS) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(LIBVA_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_@GST_MAJORMINOR@_la_LIBADD = \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_LIBS) \
|
2010-04-23 16:05:58 +00:00
|
|
|
$(LIBAVCODEC_LIBS) \
|
|
|
|
$(LIBAVFORMAT_LIBS) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(LIBVA_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-05-04 15:03:47 +00:00
|
|
|
libgstvaapi_@GST_MAJORMINOR@_la_LDFLAGS = \
|
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi_x11_@GST_MAJORMINOR@_la_SOURCES = \
|
|
|
|
$(libgstvaapi_x11_source_c) \
|
|
|
|
$(libgstvaapi_x11_source_priv_h) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi_x11_@GST_MAJORMINOR@include_HEADERS = \
|
|
|
|
$(libgstvaapi_x11_source_h) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi_x11_@GST_MAJORMINOR@includedir = \
|
|
|
|
$(libgstvaapi_includedir)
|
|
|
|
|
|
|
|
libgstvaapi_x11_@GST_MAJORMINOR@_la_CFLAGS = \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2010-03-26 08:00:32 +00:00
|
|
|
$(X11_CFLAGS) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(LIBVA_X11_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi_x11_@GST_MAJORMINOR@_la_LIBADD = \
|
|
|
|
$(GLIB_LIBS) \
|
2010-03-26 08:00:32 +00:00
|
|
|
$(X11_LIBS) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(LIBVA_X11_LIBS) \
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi-@GST_MAJORMINOR@.la \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-05-04 15:03:47 +00:00
|
|
|
libgstvaapi_x11_@GST_MAJORMINOR@_la_LDFLAGS = \
|
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-03-25 17:28:49 +00:00
|
|
|
libgstvaapi_glx_@GST_MAJORMINOR@_la_SOURCES = \
|
|
|
|
$(libgstvaapi_glx_source_c) \
|
|
|
|
$(libgstvaapi_glx_source_priv_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_glx_@GST_MAJORMINOR@include_HEADERS = \
|
|
|
|
$(libgstvaapi_glx_source_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_glx_@GST_MAJORMINOR@includedir = \
|
|
|
|
$(libgstvaapi_includedir)
|
|
|
|
|
|
|
|
libgstvaapi_glx_@GST_MAJORMINOR@_la_CFLAGS = \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2010-03-26 08:00:32 +00:00
|
|
|
$(GLX_CFLAGS) \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(LIBVA_GLX_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_glx_@GST_MAJORMINOR@_la_LIBADD = \
|
|
|
|
$(GLIB_LIBS) \
|
2010-03-26 08:00:32 +00:00
|
|
|
$(GLX_LIBS) \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(LIBVA_GLX_LIBS) \
|
|
|
|
libgstvaapi-x11-@GST_MAJORMINOR@.la \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-05-04 15:02:29 +00:00
|
|
|
libgstvaapi_glx_@GST_MAJORMINOR@_la_LDFLAGS = \
|
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-01-12 15:51:39 +00:00
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
2010-03-23 17:12:40 +00:00
|
|
|
|
|
|
|
# glib-genmarshal rules
|
|
|
|
glib_marshal_list = gstvaapimarshal.list
|
|
|
|
glib_marshal_prefix = gst_vaapi_marshal
|
|
|
|
|
|
|
|
marshal_h = $(glib_marshal_list:.list=.h)
|
|
|
|
marshal_c = $(glib_marshal_list:.list=.c)
|
|
|
|
|
|
|
|
CLEANFILES = stamp-marshal
|
|
|
|
DISTCLEANFILES = $(marshal_h) $(marshal_c)
|
|
|
|
BUILT_SOURCES = $(marshal_h) $(marshal_c)
|
|
|
|
EXTRA_DIST = $(srcdir)/$(glib_marshal_list)
|
|
|
|
|
|
|
|
stamp-marshal: $(glib_marshal_list)
|
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=$(glib_marshal_prefix) \
|
|
|
|
--header \
|
|
|
|
$(srcdir)/$(glib_marshal_list) > xgen-mh \
|
|
|
|
&& (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \
|
|
|
|
&& rm -f xgen-mh \
|
|
|
|
&& echo timestamp > $(@F)
|
|
|
|
|
|
|
|
$(marshal_h): stamp-marshal
|
|
|
|
@true
|
|
|
|
|
|
|
|
$(marshal_c): $(marshal_h)
|
|
|
|
(echo "#include \"$(marshal_h)\"" ; \
|
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=$(glib_marshal_prefix) \
|
|
|
|
--body \
|
|
|
|
$(srcdir)/$(glib_marshal_list)) > xgen-mc \
|
|
|
|
&& cp xgen-mc $(marshal_c) \
|
|
|
|
&& rm -f xgen-mc
|