summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-22 11:30:27 +0800
committerChia-I Wu <[email protected]>2011-08-27 17:28:31 +0800
commit11a56c430b84e97a10016045a2a0eeb126df88de (patch)
tree61c1b649af50bb4b305293c393e0b103a3bd1623 /src/gallium/drivers/nouveau/Makefile
parent1025f11327cc5fb91a2dbd286ee0d7c00daaa8b3 (diff)
nouveau: share the source lists
For each driver, factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
Diffstat (limited to 'src/gallium/drivers/nouveau/Makefile')
-rw-r--r--src/gallium/drivers/nouveau/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/nouveau/Makefile b/src/gallium/drivers/nouveau/Makefile
index aae6d9889bb..eb35c1f1d4e 100644
--- a/src/gallium/drivers/nouveau/Makefile
+++ b/src/gallium/drivers/nouveau/Makefile
@@ -7,10 +7,7 @@ LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS) \
-I$(TOP)/src/gallium/drivers/nouveau/include
-C_SOURCES = nouveau_screen.c \
- nouveau_fence.c \
- nouveau_mm.c \
- nouveau_buffer.c \
- nouveau_video.c
+# get C_SOURCES
+include Makefile.sources
include ../../Makefile.template