aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/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/nvc0/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/nvc0/Makefile')
-rw-r--r--src/gallium/drivers/nvc0/Makefile26
1 files changed, 2 insertions, 24 deletions
diff --git a/src/gallium/drivers/nvc0/Makefile b/src/gallium/drivers/nvc0/Makefile
index e1cd188eec5..3a5314625e6 100644
--- a/src/gallium/drivers/nvc0/Makefile
+++ b/src/gallium/drivers/nvc0/Makefile
@@ -3,30 +3,8 @@ include $(TOP)/configs/current
LIBNAME = nvc0
-C_SOURCES = \
- nvc0_context.c \
- nvc0_draw.c \
- nvc0_formats.c \
- nvc0_miptree.c \
- nvc0_resource.c \
- nvc0_screen.c \
- nvc0_state.c \
- nvc0_state_validate.c \
- nvc0_surface.c \
- nvc0_tex.c \
- nvc0_transfer.c \
- nvc0_vbo.c \
- nvc0_program.c \
- nvc0_shader_state.c \
- nvc0_pc.c \
- nvc0_pc_print.c \
- nvc0_pc_emit.c \
- nvc0_tgsi_to_nc.c \
- nvc0_pc_optimize.c \
- nvc0_pc_regalloc.c \
- nvc0_push.c \
- nvc0_push2.c \
- nvc0_query.c
+# get C_SOURCES
+include Makefile.sources
LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS)