st/xvmc: consolidate C sources list into Makefile.sources
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 22 Sep 2013 19:52:11 +0000 (20:52 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 1 Oct 2013 14:29:52 +0000 (07:29 -0700)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/xvmc/Makefile.am
src/gallium/state_trackers/xvmc/Makefile.sources [new file with mode: 0644]

index 008c50a5a2c72c601dad29bf3a786e24927b2156..c11091223f79ec961d590f795b8aa23fcc572f7e 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 = \
@@ -28,12 +29,7 @@ AM_CFLAGS = \
 
 noinst_LTLIBRARIES = libxvmctracker.la
 
-libxvmctracker_la_SOURCES = \
-       block.c \
-       surface.c \
-       context.c \
-       subpicture.c \
-       attributes.c
+libxvmctracker_la_SOURCES = $(C_SOURCES)
 
 check_PROGRAMS = \
        tests/test_context \
diff --git a/src/gallium/state_trackers/xvmc/Makefile.sources b/src/gallium/state_trackers/xvmc/Makefile.sources
new file mode 100644 (file)
index 0000000..8609801
--- /dev/null
@@ -0,0 +1,6 @@
+C_SOURCES := \
+       block.c \
+       surface.c \
+       context.c \
+       subpicture.c \
+       attributes.c