freedreno: consolidate C sources list into Makefile.sources
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 8 May 2013 22:46:38 +0000 (23:46 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 1 Oct 2013 14:29:50 +0000 (07:29 -0700)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/freedreno/Makefile.am
src/gallium/drivers/freedreno/Makefile.sources [new file with mode: 0644]
src/gallium/drivers/freedreno/a2xx/Makefile.am
src/gallium/drivers/freedreno/a2xx/Makefile.sources [new file with mode: 0644]
src/gallium/drivers/freedreno/a3xx/Makefile.am
src/gallium/drivers/freedreno/a3xx/Makefile.sources [new file with mode: 0644]

index b6dbbd191833013f6ba92fbd09e0512a3ab69208..9f5a80af97925afabc666ec6c03fc8b98dbbccc9 100644 (file)
@@ -1,3 +1,4 @@
+include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
 noinst_LTLIBRARIES = libfreedreno.la
@@ -13,17 +14,7 @@ AM_CFLAGS = \
 
 SUBDIRS = a2xx a3xx
 
-libfreedreno_la_SOURCES = \
-       freedreno_util.c \
-       freedreno_fence.c \
-       freedreno_resource.c \
-       freedreno_surface.c \
-       freedreno_draw.c \
-       freedreno_state.c \
-       freedreno_texture.c \
-       freedreno_context.c \
-       freedreno_screen.c \
-       freedreno_gmem.c
+libfreedreno_la_SOURCES = $(C_SOURCES)
 
 libfreedreno_la_LIBADD = \
        a3xx/libfd3xx.la \
diff --git a/src/gallium/drivers/freedreno/Makefile.sources b/src/gallium/drivers/freedreno/Makefile.sources
new file mode 100644 (file)
index 0000000..02a88b6
--- /dev/null
@@ -0,0 +1,11 @@
+C_SOURCES := \
+       freedreno_util.c \
+       freedreno_fence.c \
+       freedreno_resource.c \
+       freedreno_surface.c \
+       freedreno_draw.c \
+       freedreno_state.c \
+       freedreno_texture.c \
+       freedreno_context.c \
+       freedreno_screen.c \
+       freedreno_gmem.c
index 8ab0f76205897496c51a907eeaec2a2d0ff488c9..b8a5ac16ca214c1942b463b5b0c2452fecaab7b3 100644 (file)
@@ -1,3 +1,4 @@
+include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
 noinst_LTLIBRARIES = libfd2xx.la
@@ -10,18 +11,4 @@ AM_CFLAGS = \
        $(FREEDRENO_CFLAGS) \
        $(VISIBILITY_CFLAGS)
 
-libfd2xx_la_SOURCES = \
-       fd2_blend.c \
-       fd2_compiler.c \
-       fd2_context.c \
-       fd2_draw.c \
-       fd2_emit.c \
-       fd2_gmem.c \
-       fd2_program.c \
-       fd2_rasterizer.c \
-       fd2_screen.c \
-       fd2_texture.c \
-       fd2_util.c \
-       fd2_zsa.c \
-       disasm-a2xx.c \
-       ir-a2xx.c
+libfd2xx_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/drivers/freedreno/a2xx/Makefile.sources b/src/gallium/drivers/freedreno/a2xx/Makefile.sources
new file mode 100644 (file)
index 0000000..1ef2852
--- /dev/null
@@ -0,0 +1,15 @@
+C_SOURCES := \
+       fd2_blend.c \
+       fd2_compiler.c \
+       fd2_context.c \
+       fd2_draw.c \
+       fd2_emit.c \
+       fd2_gmem.c \
+       fd2_program.c \
+       fd2_rasterizer.c \
+       fd2_screen.c \
+       fd2_texture.c \
+       fd2_util.c \
+       fd2_zsa.c \
+       disasm-a2xx.c \
+       ir-a2xx.c
index a7e415f7fbd640bd85420808cd0ecd49e8093458..6b8b2e4bf042cc6f29453b97935196b80f30ffd7 100644 (file)
@@ -1,3 +1,4 @@
+include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
 noinst_LTLIBRARIES = libfd3xx.la
@@ -10,18 +11,4 @@ AM_CFLAGS = \
        $(FREEDRENO_CFLAGS) \
        $(VISIBILITY_CFLAGS)
 
-libfd3xx_la_SOURCES = \
-       fd3_blend.c \
-       fd3_compiler.c \
-       fd3_context.c \
-       fd3_draw.c \
-       fd3_emit.c \
-       fd3_gmem.c \
-       fd3_program.c \
-       fd3_rasterizer.c \
-       fd3_screen.c \
-       fd3_texture.c \
-       fd3_util.c \
-       fd3_zsa.c \
-       disasm-a3xx.c \
-       ir-a3xx.c
+libfd3xx_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/drivers/freedreno/a3xx/Makefile.sources b/src/gallium/drivers/freedreno/a3xx/Makefile.sources
new file mode 100644 (file)
index 0000000..24ee6f0
--- /dev/null
@@ -0,0 +1,15 @@
+C_SOURCES := \
+       fd3_blend.c \
+       fd3_compiler.c \
+       fd3_context.c \
+       fd3_draw.c \
+       fd3_emit.c \
+       fd3_gmem.c \
+       fd3_program.c \
+       fd3_rasterizer.c \
+       fd3_screen.c \
+       fd3_texture.c \
+       fd3_util.c \
+       fd3_zsa.c \
+       disasm-a3xx.c \
+       ir-a3xx.c