summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-19 15:00:20 +0800
committerChia-I Wu <[email protected]>2011-08-25 08:54:16 +0800
commit689b45fb27c36db49d68eb99a015f68a651d75ef (patch)
treed9f7bfbe61e67702751e267e71c6183b37db25a0 /src/gallium/winsys/radeon/drm/Makefile
parent027a45e5cf7092a93922fea980264dc0c31f7df7 (diff)
winsys/radeon: share the source list
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm/Makefile')
-rw-r--r--src/gallium/winsys/radeon/drm/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/winsys/radeon/drm/Makefile b/src/gallium/winsys/radeon/drm/Makefile
index 913e6ad186a..68b9efebfa4 100644
--- a/src/gallium/winsys/radeon/drm/Makefile
+++ b/src/gallium/winsys/radeon/drm/Makefile
@@ -4,10 +4,8 @@ include $(TOP)/configs/current
LIBNAME = radeonwinsys
-C_SOURCES = \
- radeon_drm_bo.c \
- radeon_drm_cs.c \
- radeon_drm_winsys.c
+# get C_SOURCES
+include Makefile.sources
LIBRARY_INCLUDES = -I$(TOP)/include \
$(shell pkg-config libdrm --cflags-only-I)