summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/Makefile.am13
-rw-r--r--src/gallium/drivers/freedreno/Makefile.sources11
-rw-r--r--src/gallium/drivers/freedreno/a2xx/Makefile.am17
-rw-r--r--src/gallium/drivers/freedreno/a2xx/Makefile.sources15
-rw-r--r--src/gallium/drivers/freedreno/a3xx/Makefile.am17
-rw-r--r--src/gallium/drivers/freedreno/a3xx/Makefile.sources15
6 files changed, 47 insertions, 41 deletions
diff --git a/src/gallium/drivers/freedreno/Makefile.am b/src/gallium/drivers/freedreno/Makefile.am
index b6dbbd19183..9f5a80af979 100644
--- a/src/gallium/drivers/freedreno/Makefile.am
+++ b/src/gallium/drivers/freedreno/Makefile.am
@@ -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
index 00000000000..02a88b6138d
--- /dev/null
+++ b/src/gallium/drivers/freedreno/Makefile.sources
@@ -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
diff --git a/src/gallium/drivers/freedreno/a2xx/Makefile.am b/src/gallium/drivers/freedreno/a2xx/Makefile.am
index 8ab0f762058..b8a5ac16ca2 100644
--- a/src/gallium/drivers/freedreno/a2xx/Makefile.am
+++ b/src/gallium/drivers/freedreno/a2xx/Makefile.am
@@ -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
index 00000000000..1ef2852fd4e
--- /dev/null
+++ b/src/gallium/drivers/freedreno/a2xx/Makefile.sources
@@ -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
diff --git a/src/gallium/drivers/freedreno/a3xx/Makefile.am b/src/gallium/drivers/freedreno/a3xx/Makefile.am
index a7e415f7fbd..6b8b2e4bf04 100644
--- a/src/gallium/drivers/freedreno/a3xx/Makefile.am
+++ b/src/gallium/drivers/freedreno/a3xx/Makefile.am
@@ -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
index 00000000000..24ee6f03836
--- /dev/null
+++ b/src/gallium/drivers/freedreno/a3xx/Makefile.sources
@@ -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