[Mesa-dev] [Patch 2] wayland-drm: export wayland-drm-client-protocol.h for installation
Zhao, Halley
halley.zhao at intel.com
Fri Feb 17 01:25:35 PST 2012
Besides graphics, other modules (like video/camera) also depends on drm for buffer management.
So wayland drm protocol header file should be exported.
See Benjamin's work to enable libva for wayland: http://cgit.freedesktop.org/~bnf/libva/log/?h=wayland (I ported it to latest wayland api)
With this patch, we can avoid the hack to copy wayland-drm.xml from mesa to libva.
src/egl/wayland/wayland-drm/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/egl/wayland/wayland-drm/Makefile.am b/src/egl/wayland/wayland-drm/Makefile.am
index cf15eda..2e68ac4 100644
--- a/src/egl/wayland/wayland-drm/Makefile.am
+++ b/src/egl/wayland/wayland-drm/Makefile.am
@@ -7,8 +7,9 @@ noinst_LTLIBRARIES = libwayland-drm.la
libwayland_drm_la_SOURCES = wayland-drm.c wayland-drm-protocol.c
noinst_HEADERS = wayland-drm.h
+include_HEADERS = wayland-drm-client-protocol.h
+
BUILT_SOURCES = wayland-drm-protocol.c \
- wayland-drm-client-protocol.h \
wayland-drm-server-protocol.h
CLEANFILES = $(BUILT_SOURCES)
--
1.7.5.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120217/5d0c4d65/attachment.htm>
More information about the mesa-dev
mailing list