encoder(h264,h263,mpeg4): changed styles, names
[vaapi:windyuan-gstreamer-vaapi.git] / gst / vaapi / Makefile.am
1 plugin_LTLIBRARIES = libgstvaapi.la
2
3 libgstvaapi_CFLAGS = \
4         $(LIBVA_CFLAGS)                 \
5         -DGST_USE_UNSTABLE_API          \
6         -I$(top_srcdir)/gst-libs        \
7         -I$(top_builddir)/gst-libs      \
8         $(NULL)
9
10 libgstvaapi_LIBS =
11
12 if USE_DRM
13 libgstvaapi_LIBS += \
14         $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-drm-$(GST_MAJORMINOR).la
15 endif
16
17 if USE_X11
18 libgstvaapi_LIBS += \
19         $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-$(GST_MAJORMINOR).la
20 endif
21
22 if USE_GLX
23 libgstvaapi_LIBS += \
24         $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-$(GST_MAJORMINOR).la
25 endif
26
27 if USE_WAYLAND
28 libgstvaapi_LIBS += \
29         $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-wayland-$(GST_MAJORMINOR).la
30 endif
31
32 libgstvaapi_la_SOURCES =        \
33         gstvaapi.c              \
34         gstvaapidecode.c        \
35         gstvaapidownload.c      \
36         gstvaapipluginbuffer.c  \
37         gstvaapipluginutil.c    \
38         gstvaapipostproc.c      \
39         gstvaapisink.c          \
40         gstvaapiupload.c        \
41         $(NULL)
42
43 noinst_HEADERS =                \
44         gstvaapidecode.h        \
45         gstvaapidownload.h      \
46         gstvaapipluginbuffer.h  \
47         gstvaapipluginutil.h    \
48         gstvaapipostproc.h      \
49         gstvaapisink.h          \
50         gstvaapiupload.h        \
51         $(NULL)
52
53 if USE_ENCODERS
54 libgstvaapi_la_SOURCES +=    \
55     gstvaapiencode.c    \
56     gstvaapiencode_h264.c \
57     gstvaapiencode_h263.c \
58     gstvaapiencode_mpeg4.c \
59         $(NULL)
60
61 noinst_HEADERS +=        \
62     gstvaapiencode.h    \
63     gstvaapiencode_h264.h \
64     gstvaapiencode_h263.h \
65     gstvaapiencode_mpeg4.h \
66         $(NULL)
67 endif
68
69 libgstvaapi_la_CFLAGS = \
70         $(libgstvaapi_CFLAGS)   \
71         $(GST_CFLAGS)           \
72         $(GST_BASE_CFLAGS)      \
73         $(GST_VIDEO_CFLAGS)     \
74         $(GST_INTERFACES_CFLAGS) \
75         $(GST_BASEVIDEO_CFLAGS) \
76         $(GST_PLUGINS_BASE_CFLAGS)
77
78 libgstvaapi_la_LIBADD = \
79         $(libgstvaapi_LIBS)     \
80         $(GST_LIBS)             \
81         $(GST_BASE_LIBS)        \
82         $(GST_VIDEO_LIBS)       \
83         $(GST_INTERFACES_LIBS)  \
84         $(GST_BASEVIDEO_LIBS)   \
85         $(GST_PLUGINS_BASE_LIBS)
86
87 libgstvaapi_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
88 libgstvaapi_la_LIBTOOLFLAGS = --tag=disable-static
89
90 # Extra clean files so that maintainer-clean removes *everything*
91 MAINTAINERCLEANFILES = Makefile.in