summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-08-25 17:55:42 -0700
committerChad Versace <[email protected]>2011-08-30 09:11:28 -0700
commit16f442e9d58cc50a40d1f85e90a13a909fc9cab1 (patch)
treeb5a6e3a4c174ee57e25717f98e9e7a38a25ff5eb /src/mesa/drivers/dri/common
parente4a6ebdd87cbff4d6c23db2a8d220ce212093620 (diff)
make: Factor out source lists from drivers/dri/common into Makefile.sources
In order that the Autoconf and Android build can share the same source lists, move the lists from src/mesa/drivers/dri/Makefile.defines into src/mesa/drivers/dri/common/Makefile.sources I would like for Android to just reuse Makefile.defines, but the file is unsuitable for reuse. Reviewed-by: Chia-I Wu <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Signed-off: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/Makefile.sources19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/Makefile.sources b/src/mesa/drivers/dri/common/Makefile.sources
new file mode 100644
index 00000000000..3432dda4575
--- /dev/null
+++ b/src/mesa/drivers/dri/common/Makefile.sources
@@ -0,0 +1,19 @@
+mesa_dri_common_gallium_SOURCES := \
+ utils.c \
+ vblank.c \
+ dri_util.c \
+ xmlconfig.c
+
+mesa_dri_common_SOURCES := \
+ $(mesa_dri_common_gallium_SOURCES) \
+ texmem.c \
+ drirenderbuffer.c
+
+# Paths are relative to MESA_TOP.
+mesa_dri_common_INCLUDES := \
+ include \
+ src/egl/drivers/dri \
+ src/egl/main \
+ src/mapi \
+ src/mesa \
+ src/mesa/drivers/dri/common