summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-09-22 20:49:43 +0100
committerTom Stellard <[email protected]>2013-10-01 07:29:52 -0700
commit556207e57983cd2770524464cd8df6abd1193dd3 (patch)
treeb16e5b184a2c9e01bdeddfbdc883800048672c80 /src/gallium
parentf7df719b3938321cedc1cf0094513b2dd9456035 (diff)
st/xa: consolidate C sources list into Makefile.sources
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/xa/Makefile.am9
-rw-r--r--src/gallium/state_trackers/xa/Makefile.sources7
2 files changed, 9 insertions, 7 deletions
diff --git a/src/gallium/state_trackers/xa/Makefile.am b/src/gallium/state_trackers/xa/Makefile.am
index 57d55c4a91e..7d0b366e639 100644
--- a/src/gallium/state_trackers/xa/Makefile.am
+++ b/src/gallium/state_trackers/xa/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 = \
@@ -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
index 00000000000..154bc047c8d
--- /dev/null
+++ b/src/gallium/state_trackers/xa/Makefile.sources
@@ -0,0 +1,7 @@
+C_SOURCES := \
+ xa_tracker.c \
+ xa_context.c \
+ xa_renderer.c \
+ xa_tgsi.c \
+ xa_yuv.c \
+ xa_composite.c