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

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


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

diff --git a/src/gallium/state_trackers/xa/Makefile.am b/src/gallium/state_trackers/xa/Makefile.am
index 57d55c4..7d0b366 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 0000000..154bc04
--- /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
-- 
1.8.4



More information about the mesa-dev mailing list