st/xa: consolidate C sources list into Makefile.sources
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 22 Sep 2013 19:49:43 +0000 (20:49 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 1 Oct 2013 14:29:52 +0000 (07:29 -0700)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/state_trackers/xa/Makefile.am
src/gallium/state_trackers/xa/Makefile.sources [new file with mode: 0644]

index 57d55c4a91ee928b018027676e7bd00ab8111abd..7d0b366e6399d20dbe227d2cf465503e5e6241b6 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
 
 AM_CFLAGS = \
@@ -40,10 +41,4 @@ xa_include_HEADERS = \
 
 noinst_LTLIBRARIES = libxatracker.la
 
-libxatracker_la_SOURCES = \
-       xa_tracker.c \
-       xa_context.c \
-       xa_renderer.c \
-       xa_tgsi.c \
-       xa_yuv.c \
-       xa_composite.c
+libxatracker_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/xa/Makefile.sources b/src/gallium/state_trackers/xa/Makefile.sources
new file mode 100644 (file)
index 0000000..154bc04
--- /dev/null
@@ -0,0 +1,7 @@
+C_SOURCES := \
+       xa_tracker.c \
+       xa_context.c \
+       xa_renderer.c \
+       xa_tgsi.c \
+       xa_yuv.c \
+       xa_composite.c