[Mesa-dev] [PATCH 20/29] st/vdpau: consolidate C sources list into Makefile.sources

Emil Velikov emil.l.velikov at gmail.com
Sun Sep 22 13:29:43 PDT 2013


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/state_trackers/vdpau/Makefile.am      | 14 ++------------
 src/gallium/state_trackers/vdpau/Makefile.sources | 12 ++++++++++++
 2 files changed, 14 insertions(+), 12 deletions(-)
 create mode 100644 src/gallium/state_trackers/vdpau/Makefile.sources

diff --git a/src/gallium/state_trackers/vdpau/Makefile.am b/src/gallium/state_trackers/vdpau/Makefile.am
index f7c5ed6..a2fa366 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 0000000..d90a870
--- /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
-- 
1.8.4



More information about the mesa-dev mailing list