summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-09-22 20:52:11 +0100
committerTom Stellard <[email protected]>2013-10-01 07:29:52 -0700
commit56dfbbd24afc10c659224bdce075cfdd72582afb (patch)
treea91ef24ec5c1f8959b24e34e85021e67599d1f65 /src
parent10bd3a3f712d3b53eb08e902eccb9fa1201fd16f (diff)
st/xvmc: consolidate C sources list into Makefile.sources
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tom Stellard <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/xvmc/Makefile.am8
-rw-r--r--src/gallium/state_trackers/xvmc/Makefile.sources6
2 files changed, 8 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/xvmc/Makefile.am b/src/gallium/state_trackers/xvmc/Makefile.am
index 008c50a5a2c..c11091223f7 100644
--- a/src/gallium/state_trackers/xvmc/Makefile.am
+++ b/src/gallium/state_trackers/xvmc/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 = \
@@ -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
index 00000000000..8609801100d
--- /dev/null
+++ b/src/gallium/state_trackers/xvmc/Makefile.sources
@@ -0,0 +1,6 @@
+C_SOURCES := \
+ block.c \
+ surface.c \
+ context.c \
+ subpicture.c \
+ attributes.c