2 libgstvaapi-@GST_MAJORMINOR@.la \
3 libgstvaapi-x11-@GST_MAJORMINOR@.la \
7 lib_LTLIBRARIES += libgstvaapi-glx-@GST_MAJORMINOR@.la
10 libgstvaapi_includedir = \
11 $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/vaapi
13 libgstvaapi_ffmpeg_source_c = \
14 gstvaapidecoder_ffmpeg.c \
17 libgstvaapi_ffmpeg_source_h = \
18 gstvaapidecoder_ffmpeg.h \
21 libgstvaapi_ffmpeg_source_priv_h = \
24 libgstvaapi_source_c = \
28 gstvaapidisplaycache.c \
30 gstvaapiimageformat.c \
34 gstvaapiparamspecs.c \
36 gstvaapisubpicture.c \
38 gstvaapisurfacepool.c \
39 gstvaapisurfaceproxy.c \
42 gstvaapivideobuffer.c \
46 $(libgstvaapi_ffmpeg_source_c) \
49 libgstvaapi_source_h = \
53 gstvaapidisplaycache.h \
55 gstvaapiimageformat.h \
58 gstvaapiparamspecs.h \
60 gstvaapisubpicture.h \
62 gstvaapisurfacepool.h \
63 gstvaapisurfaceproxy.h \
66 gstvaapivideobuffer.h \
70 $(libgstvaapi_ffmpeg_source_h) \
73 libgstvaapi_source_priv_h = \
77 gstvaapidecoder_priv.h \
78 gstvaapidisplay_priv.h \
79 gstvaapiobject_priv.h \
80 gstvaapisurface_priv.h \
82 gstvaapivideobuffer_priv.h \
83 $(libgst_vaapi_ffmpeg_source_priv_h) \
86 libgstvaapi_x11_source_c = \
87 gstvaapidisplay_x11.c \
90 gstvaapiwindow_x11.c \
93 libgstvaapi_x11_source_h = \
94 gstvaapidisplay_x11.h \
95 gstvaapiwindow_x11.h \
98 libgstvaapi_x11_source_priv_h = \
100 gstvaapidisplay_x11_priv.h \
102 gstvaapiutils_x11.h \
105 libgstvaapi_glx_source_c = \
106 gstvaapidisplay_glx.c \
109 gstvaapiutils_glx.c \
110 gstvaapiutils_x11.c \
111 gstvaapivideobuffer_glx.c \
112 gstvaapivideoconverter_glx.c \
113 gstvaapiwindow_glx.c \
116 libgstvaapi_glx_source_h = \
117 gstvaapidisplay_glx.h \
119 gstvaapivideobuffer_glx.h \
120 gstvaapivideoconverter_glx.h \
121 gstvaapiwindow_glx.h \
124 libgstvaapi_glx_source_priv_h = \
126 gstvaapidisplay_glx_priv.h \
128 gstvaapiutils_glx.h \
129 gstvaapiutils_x11.h \
132 libgstvaapi_@GST_MAJORMINOR@_la_SOURCES = \
133 $(libgstvaapi_source_c) \
134 $(libgstvaapi_source_priv_h) \
137 libgstvaapi_@GST_MAJORMINOR@include_HEADERS = \
138 $(libgstvaapi_source_h) \
141 libgstvaapi_@GST_MAJORMINOR@includedir = \
142 $(libgstvaapi_includedir)
144 libgstvaapi_@GST_MAJORMINOR@_la_CFLAGS = \
145 -DGST_USE_UNSTABLE_API \
146 -I$(top_srcdir)/gst-libs \
148 $(GST_BASEVIDEO_CFLAGS) \
149 $(GST_VIDEO_CFLAGS) \
151 $(LIBAVCODEC_CFLAGS) \
155 libgstvaapi_@GST_MAJORMINOR@_la_LIBADD = \
157 $(GST_BASEVIDEO_LIBS) \
163 libgstvaapi_@GST_MAJORMINOR@_la_LDFLAGS = \
167 libgstvaapi_x11_@GST_MAJORMINOR@_la_SOURCES = \
168 $(libgstvaapi_x11_source_c) \
169 $(libgstvaapi_x11_source_priv_h) \
172 libgstvaapi_x11_@GST_MAJORMINOR@include_HEADERS = \
173 $(libgstvaapi_x11_source_h) \
176 libgstvaapi_x11_@GST_MAJORMINOR@includedir = \
177 $(libgstvaapi_includedir)
179 libgstvaapi_x11_@GST_MAJORMINOR@_la_CFLAGS = \
180 -DGST_USE_UNSTABLE_API \
181 -I$(top_srcdir)/gst-libs \
185 $(LIBVA_X11_CFLAGS) \
188 libgstvaapi_x11_@GST_MAJORMINOR@_la_LIBADD = \
192 libgstvaapi-@GST_MAJORMINOR@.la \
195 libgstvaapi_x11_@GST_MAJORMINOR@_la_LDFLAGS = \
199 libgstvaapi_glx_@GST_MAJORMINOR@_la_SOURCES = \
200 $(libgstvaapi_glx_source_c) \
201 $(libgstvaapi_glx_source_priv_h) \
204 libgstvaapi_glx_@GST_MAJORMINOR@include_HEADERS = \
205 $(libgstvaapi_glx_source_h) \
208 libgstvaapi_glx_@GST_MAJORMINOR@includedir = \
209 $(libgstvaapi_includedir)
211 libgstvaapi_glx_@GST_MAJORMINOR@_la_CFLAGS = \
212 -DGST_USE_UNSTABLE_API \
213 -I$(top_srcdir)/gst-libs \
217 $(LIBVA_GLX_CFLAGS) \
220 libgstvaapi_glx_@GST_MAJORMINOR@_la_LIBADD = \
224 libgstvaapi-x11-@GST_MAJORMINOR@.la \
227 libgstvaapi_glx_@GST_MAJORMINOR@_la_LDFLAGS = \
231 # Extra clean files so that maintainer-clean removes *everything*
232 MAINTAINERCLEANFILES = Makefile.in
234 # glib-genmarshal rules
235 glib_marshal_list = gstvaapimarshal.list
236 glib_marshal_prefix = gst_vaapi_marshal
238 marshal_h = $(glib_marshal_list:.list=.h)
239 marshal_c = $(glib_marshal_list:.list=.c)
241 CLEANFILES = stamp-marshal
242 DISTCLEANFILES = $(marshal_h) $(marshal_c)
243 BUILT_SOURCES = $(marshal_h) $(marshal_c)
244 EXTRA_DIST = $(srcdir)/$(glib_marshal_list)
246 stamp-marshal: $(glib_marshal_list)
248 --prefix=$(glib_marshal_prefix) \
250 $(srcdir)/$(glib_marshal_list) > xgen-mh \
251 && (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \
253 && echo timestamp > $(@F)
255 $(marshal_h): stamp-marshal
258 $(marshal_c): $(marshal_h)
259 (echo "#include \"$(marshal_h)\"" ; \
261 --prefix=$(glib_marshal_prefix) \
263 $(srcdir)/$(glib_marshal_list)) > xgen-mc \
264 && cp xgen-mc $(marshal_c) \