summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i915/drm/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-22 11:09:20 +0800
committerChia-I Wu <[email protected]>2011-08-27 17:28:32 +0800
commit0cc088900725945bf381a07c8d85d1c8fdb447ac (patch)
tree15c16bfd98568c2aa477f7dfad6f433e33c85906 /src/gallium/winsys/i915/drm/Makefile
parentf9b55e23aff663131b8814ec844e69b542eef5be (diff)
winsys/i915: share the source list
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
Diffstat (limited to 'src/gallium/winsys/i915/drm/Makefile')
-rw-r--r--src/gallium/winsys/i915/drm/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/winsys/i915/drm/Makefile b/src/gallium/winsys/i915/drm/Makefile
index 1977de1fb09..37307ca8a4b 100644
--- a/src/gallium/winsys/i915/drm/Makefile
+++ b/src/gallium/winsys/i915/drm/Makefile
@@ -3,11 +3,8 @@ include $(TOP)/configs/current
LIBNAME = i915drm
-C_SOURCES = \
- i915_drm_batchbuffer.c \
- i915_drm_buffer.c \
- i915_drm_fence.c \
- i915_drm_winsys.c
+# get C_SOURCES
+include Makefile.sources
LIBRARY_INCLUDES = $(shell pkg-config libdrm --cflags-only-I)