summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/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/nv50/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/nv50/Makefile')
-rw-r--r--src/gallium/drivers/nv50/Makefile25
1 files changed, 2 insertions, 23 deletions
diff --git a/src/gallium/drivers/nv50/Makefile b/src/gallium/drivers/nv50/Makefile
index 02bcc26cfb3..220adf696b3 100644
--- a/src/gallium/drivers/nv50/Makefile
+++ b/src/gallium/drivers/nv50/Makefile
@@ -3,29 +3,8 @@ include $(TOP)/configs/current
LIBNAME = nv50
-C_SOURCES = \
- nv50_context.c \
- nv50_draw.c \
- nv50_formats.c \
- nv50_miptree.c \
- nv50_resource.c \
- nv50_screen.c \
- nv50_state.c \
- nv50_state_validate.c \
- nv50_surface.c \
- nv50_tex.c \
- nv50_transfer.c \
- nv50_vbo.c \
- nv50_program.c \
- nv50_shader_state.c \
- nv50_pc.c \
- nv50_pc_print.c \
- nv50_pc_emit.c \
- nv50_tgsi_to_nc.c \
- nv50_pc_optimize.c \
- nv50_pc_regalloc.c \
- nv50_push.c \
- nv50_query.c
+# get C_SOURCES
+include Makefile.sources
LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS)