From 93aea84f472f5f9ff588f7b2d4f7320ec43bc216 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 4 Feb 2011 12:39:40 +0100 Subject: egl_dri2: Add wayland platform --- src/egl/drivers/dri2/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/egl/drivers/dri2/Makefile') diff --git a/src/egl/drivers/dri2/Makefile b/src/egl/drivers/dri2/Makefile index 8e33bdd3da..89e9dd7970 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 -- cgit v1.2.3