summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/omx
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-08-18 00:51:07 +0100
committerEmil Velikov <[email protected]>2014-08-28 21:24:41 +0100
commit526a9d9c5ea26b08472ff572675c01338b430595 (patch)
tree2cc36ed85f69664d7a4bdecb1dd68b72d8b13a61 /src/gallium/state_trackers/omx
parentf6507d2357e23b95722b5b7f61ead81c37e6e914 (diff)
st/omx: use makefile.sources to handle sources lists
... and add the headers so that 'make check' is happy. Cc: Christian König <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/omx')
-rw-r--r--src/gallium/state_trackers/omx/Makefile.am8
-rw-r--r--src/gallium/state_trackers/omx/Makefile.sources9
2 files changed, 11 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/omx/Makefile.am b/src/gallium/state_trackers/omx/Makefile.am
index 83b3f90ad3c..68eed02e746 100644
--- a/src/gallium/state_trackers/omx/Makefile.am
+++ b/src/gallium/state_trackers/omx/Makefile.am
@@ -20,6 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
@@ -29,9 +30,4 @@ AM_CFLAGS = \
noinst_LTLIBRARIES = libomxtracker.la
-libomxtracker_la_SOURCES = \
- entrypoint.c \
- vid_dec.c \
- vid_dec_mpeg12.c \
- vid_dec_h264.c \
- vid_enc.c
+libomxtracker_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/omx/Makefile.sources b/src/gallium/state_trackers/omx/Makefile.sources
new file mode 100644
index 00000000000..d25cd2e3934
--- /dev/null
+++ b/src/gallium/state_trackers/omx/Makefile.sources
@@ -0,0 +1,9 @@
+C_SOURCES := \
+ entrypoint.c \
+ entrypoint.h \
+ vid_dec.c \
+ vid_dec.h \
+ vid_dec_mpeg12.c \
+ vid_dec_h264.c \
+ vid_enc.c \
+ vid_enc.h