aboutsummaryrefslogtreecommitdiffstats
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 00000000000..4aac3309aa7
--- /dev/null
+++ b/src/gallium/winsys/i915/drm/Makefile
@@ -0,0 +1,16 @@
+TOP = ../../../../..
+include $(TOP)/configs/current
+
+LIBNAME = inteldrm
+
+C_SOURCES = \
+ intel_drm_batchbuffer.c \
+ intel_drm_buffer.c \
+ intel_drm_fence.c \
+ intel_drm_api.c
+
+LIBRARY_INCLUDES = $(shell pkg-config libdrm --cflags-only-I)
+
+LIBRARY_DEFINES = $(shell pkg-config libdrm --cflags-only-other)
+
+include ../../../Makefile.template