summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i965/drm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/i965/drm/Makefile')
-rw-r--r--src/gallium/winsys/i965/drm/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/winsys/i965/drm/Makefile b/src/gallium/winsys/i965/drm/Makefile
new file mode 100644
index 00000000000..bbb71e25d84
--- /dev/null
+++ b/src/gallium/winsys/i965/drm/Makefile
@@ -0,0 +1,14 @@
+TOP = ../../../../..
+include $(TOP)/configs/current
+
+LIBNAME = i965drm
+
+C_SOURCES = \
+ i965_drm_buffer.c \
+ i965_drm_api.c
+
+LIBRARY_INCLUDES = $(shell pkg-config libdrm --cflags-only-I)
+
+LIBRARY_DEFINES = $(shell pkg-config libdrm --cflags-only-other)
+
+include ../../../Makefile.template