summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-09-22 20:36:42 +0100
committerTom Stellard <[email protected]>2013-10-01 07:29:51 -0700
commitbfbbc7c8c8f2d8de8c0e8e2a823be5a51a820984 (patch)
tree43399c4e6f89d927ee51eaa2bac3bdc78b8f8b54 /src/gallium/state_trackers/vdpau
parentc0024c4548e07a8eeedb178bdc0feaf320b71c3e (diff)
st/vdpau: 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/gallium/state_trackers/vdpau')
-rw-r--r--src/gallium/state_trackers/vdpau/Makefile.am14
-rw-r--r--src/gallium/state_trackers/vdpau/Makefile.sources12
2 files changed, 14 insertions, 12 deletions
diff --git a/src/gallium/state_trackers/vdpau/Makefile.am b/src/gallium/state_trackers/vdpau/Makefile.am
index f7c5ed664e0..a2fa3667b04 100644
--- a/src/gallium/state_trackers/vdpau/Makefile.am
+++ b/src/gallium/state_trackers/vdpau/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
VDPAU_MAJOR = 1
@@ -35,15 +36,4 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libvdpautracker.la
-libvdpautracker_la_SOURCES = \
- htab.c \
- ftab.c \
- device.c \
- query.c \
- surface.c \
- decode.c \
- presentation.c \
- bitmap.c \
- output.c \
- preemption.c \
- mixer.c
+libvdpautracker_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/vdpau/Makefile.sources b/src/gallium/state_trackers/vdpau/Makefile.sources
new file mode 100644
index 00000000000..d90a870a8ef
--- /dev/null
+++ b/src/gallium/state_trackers/vdpau/Makefile.sources
@@ -0,0 +1,12 @@
+C_SOURCES := \
+ htab.c \
+ ftab.c \
+ device.c \
+ query.c \
+ surface.c \
+ decode.c \
+ presentation.c \
+ bitmap.c \
+ output.c \
+ preemption.c \
+ mixer.c