st/vdpau: consolidate C sources list into Makefile.sources
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 22 Sep 2013 19:36:42 +0000 (20:36 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 1 Oct 2013 14:29:51 +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/vdpau/Makefile.am
src/gallium/state_trackers/vdpau/Makefile.sources [new file with mode: 0644]

index f7c5ed664e09cdf41dc780f2f13d423f3955c092..a2fa3667b04b384d6e012c8e85ae7e07bfcbbe37 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
 
 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 (file)
index 0000000..d90a870
--- /dev/null
@@ -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