summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/i915/drm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/i915/drm/Makefile')
-rw-r--r--src/gallium/winsys/i915/drm/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/winsys/i915/drm/Makefile b/src/gallium/winsys/i915/drm/Makefile
new file mode 100644
index 0000000000..a67b9e8a52
--- /dev/null
+++ b/src/gallium/winsys/i915/drm/Makefile
@@ -0,0 +1,16 @@
+TOP = ../../../../..
+include $(TOP)/configs/current
+
+LIBNAME = i915drm
+
+C_SOURCES = \
+ i915_drm_batchbuffer.c \
+ i915_drm_buffer.c \
+ i915_drm_fence.c \
+ i915_drm_api.c
+
+LIBRARY_INCLUDES = $(shell pkg-config libdrm --cflags-only-I)
+
+LIBRARY_DEFINES = $(shell pkg-config libdrm --cflags-only-other)
+
+include ../../../Makefile.template