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