st/omx: use makefile.sources to handle sources lists
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 17 Aug 2014 23:51:07 +0000 (00:51 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 28 Aug 2014 20:24:41 +0000 (21:24 +0100)
... and add the headers so that 'make check' is happy.

Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/omx/Makefile.am
src/gallium/state_trackers/omx/Makefile.sources [new file with mode: 0644]

index 83b3f90..68eed02 100644 (file)
@@ -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 (file)
index 0000000..d25cd2e
--- /dev/null
@@ -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