summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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