summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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