[Mesa-dev] [PATCH 6/6] egl: directfb: automake updates for EGL_PLATFORM_DIRECTFB

Ilyes Gouta ilyes.gouta at gmail.com
Sun Apr 14 10:50:49 PDT 2013


Signed-off-by: Ilyes Gouta <ilyes.gouta at gmail.com>
---
 src/egl/main/Makefile.am                   | 6 ++++++
 src/gallium/targets/egl-static/Makefile.am | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
index ca5257a..e71b57f 100644
--- a/src/egl/main/Makefile.am
+++ b/src/egl/main/Makefile.am
@@ -99,6 +99,12 @@ if HAVE_EGL_PLATFORM_FBDEV
 AM_CFLAGS += -DHAVE_FBDEV_PLATFORM
 endif
 
+if HAVE_EGL_PLATFORM_DIRECTFB
+AM_CFLAGS += -DHAVE_DIRECTFB_PLATFORM
+AM_CFLAGS += $(DIRECTFB_CFLAGS)
+libEGL_la_LIBADD += $(DIRECTFB_LIBS)
+endif
+
 if HAVE_EGL_PLATFORM_NULL
 AM_CFLAGS += -DHAVE_NULL_PLATFORM
 endif
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
index 5c40ae8..2886e7a 100644
--- a/src/gallium/targets/egl-static/Makefile.am
+++ b/src/gallium/targets/egl-static/Makefile.am
@@ -90,6 +90,13 @@ egl_gallium_la_LIBADD += \
 	$(LIBDRM_LIBS)
 endif
 
+if HAVE_EGL_PLATFORM_DIRECTFB
+AM_CPPFLAGS += $(DIRECTFB_CFLAGS)
+egl_gallium_la_LIBADD += \
+    $(top_builddir)/src/gallium/winsys/sw/directfb/libws_directfb.la \
+    $(DIRECTFB_LIBS)
+endif
+
 if HAVE_EGL_PLATFORM_FBDEV
 egl_gallium_la_LIBADD += $(top_builddir)/src/gallium/winsys/sw/fbdev/libfbdev.la
 endif
-- 
1.8.1.4



More information about the mesa-dev mailing list