vulkan/wsi: Generate wayland protocol headers separately from EGL
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Mar 2017 03:03:17 +0000 (19:03 -0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Mar 2017 11:16:33 +0000 (11:16 +0000)
commit12f348bc987991f7014996841c5e37887bcae228
tree7f922d2d848bd0c44218751b0cd5f36b90a2b4ef
parent1d135e25617b2e321b7ebe5c443d3d6d191dee90
vulkan/wsi: Generate wayland protocol headers separately from EGL

Previously, we were depending on EGL for generating the headers and
providing the protocol symbols. However, since neither Vulkan driver
actually wants to link against EGL, this is kind of pointless. It also
creates a weird build dependency.

v2 [Jason]
 - Add missing wsi/ prefix, MKDIR_GEN

v3 [Emil Velikov]
 - include BUILT_SOURCES/generation rules outside of conditional

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/amd/vulkan/Makefile.am
src/intel/vulkan/Makefile.am
src/vulkan/Makefile.am
src/vulkan/Makefile.sources
src/vulkan/wsi/.gitignore [new file with mode: 0644]
src/vulkan/wsi/wsi_common_wayland.c