summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-02-04 12:39:40 +0100
committerBenjamin Franzke <[email protected]>2011-02-07 14:01:31 +0100
commit93aea84f472f5f9ff588f7b2d4f7320ec43bc216 (patch)
treeebf0ca1b6da7737b566fa9581750ba97230d3422 /src/egl/drivers/dri2/Makefile
parent9630437fc9f46f48b2543ca8b6741a664bd028e3 (diff)
egl_dri2: Add wayland platform
Diffstat (limited to 'src/egl/drivers/dri2/Makefile')
-rw-r--r--src/egl/drivers/dri2/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/Makefile b/src/egl/drivers/dri2/Makefile
index 8e33bdd3dae..89e9dd7970a 100644
--- a/src/egl/drivers/dri2/Makefile
+++ b/src/egl/drivers/dri2/Makefile
@@ -24,4 +24,11 @@ ifeq ($(SHARED_GLAPI),1)
EGL_CFLAGS += -DHAVE_SHARED_GLAPI
endif
+ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
+EGL_SOURCES += platform_wayland.c
+EGL_INCLUDES += -DHAVE_WAYLAND_PLATFORM $(WAYLAND_CFLAGS) \
+ -I$(TOP)/src/egl/wayland
+EGL_LIBS += $(WAYLAND_LIBS)
+endif
+
include ../Makefile.template